Welcome! Log In Create A New Profile

Advanced

Re: cache purge

冉兵
November 17, 2009 01:22AM
Thanks Piotr!

One of my developers did the patch manually and she might have introduced
some bugs during the process.

Would it be easier to make it a standalone module rather than a patch for
users?

I'm waiting for your new patch to the latest nginx and I'll test it out and
report back.

Regards,

Bing


--------------------------------------------------
From: "Piotr Sikora" <piotr.sikora@frickle.com>
Sent: Tuesday, November 17, 2009 1:09 PM
To: <nginx@sysoev.ru>
Subject: Re: cache purge

>> I'm investigating cache purge in nginx and currently we have some success
>> with this patch: http://labs.frickle.com/nginx_cache_purge/. The reason
>> I said "some" is the patch works normally but blows out (the message was
>> like "the file to purge is too small...")when the nginx process has been
>> restarted and the cache to purge was created by the previous nginx
>> process.
>
> It's a shame that you didn't report it, because I was unaware of this
> until now.
>
> Anyway, I'm unable to reproduce this bug (purging files from cache after
> restarting nginx works as expected, at least with nginx-0.8.8, so maybe
> you introduced some bugs while syncing it on your own?)
>
> Also, the message you are referring to ("cache file \"%s\" is too small")
> is produced by nginx when it's trying to open cached file (which is also
> done before purging it), so it looks like something is wrong... It would
> be great if you could produce debug log and send it either on- or
> off-list.
>
>> The patch is also a little out of of sync with the latest nginx.
>
> Actually, I was going to sync it with the latest nginx and push the
> release yesterday, together with ngx_supervisord-1.1, but something came
> up and I didn't do it...
>
> But I'm gonna do it in next few days (maybe even today), stay tuned! ;)
>
> Best regards,
> Piotr Sikora < piotr.sikora@frickle.com >
>
>
>
Subject Author Posted

cache purge

冉兵 November 16, 2009 10:40PM

Re: cache purge

Piotr Sikora November 17, 2009 12:12AM

Re: cache purge

冉兵 November 17, 2009 01:22AM

Re: cache purge

Piotr Sikora November 17, 2009 02:26AM

Re: cache purge

Johan Bergström November 17, 2009 02:56AM

Re: cache purge

Piotr Sikora November 17, 2009 03:30AM

Re: cache purge

冉兵 November 17, 2009 04:52AM

Re: cache purge

冉兵 November 17, 2009 02:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready