Re: Cache doesn't expire as should

2015-12-23 Thread Руслан Закиров
On Wed, Dec 23, 2015 at 6:35 PM, Maxim Dounin wrote: > Hello! > > On Wed, Dec 23, 2015 at 11:57:53AM +0300, Руслан Закиров wrote: > > > On Tue, Dec 22, 2015 at 4:49 PM, Maxim Dounin > wrote: > > > > > Hello! > > > > > > On Tue, Dec 22, 2015 at 02:43:11PM +0300, Руслан Закиров wrote: > > > > > >

Re: Cache doesn't expire as should

2015-12-23 Thread Maxim Dounin
Hello! On Wed, Dec 23, 2015 at 11:57:53AM +0300, Руслан Закиров wrote: > On Tue, Dec 22, 2015 at 4:49 PM, Maxim Dounin wrote: > > > Hello! > > > > On Tue, Dec 22, 2015 at 02:43:11PM +0300, Руслан Закиров wrote: > > > > [...] > > > > > Our error log has "ignore long locked inactive cache entry"

Re: Cache doesn't expire as should

2015-12-23 Thread Руслан Закиров
On Tue, Dec 22, 2015 at 4:49 PM, Maxim Dounin wrote: > Hello! > > On Tue, Dec 22, 2015 at 02:43:11PM +0300, Руслан Закиров wrote: > > [...] > > > Our error log has "ignore long locked inactive cache entry" alerts, but I > > really couldn't match it to "defreeze" event. Access log has > STALE/UPDA

Re: Cache doesn't expire as should

2015-12-22 Thread Руслан Закиров
On Tue, Dec 22, 2015 at 4:39 PM, itpp2012 wrote: > Have you tried without locking? No as it's unacceptable load increase on backends when cache record expires. -- Руслан Закиров Руководитель отдела разработки веб-сервисов +7(916) 597-92-69, ruz @

Re: Cache doesn't expire as should

2015-12-22 Thread Maxim Dounin
Hello! On Tue, Dec 22, 2015 at 02:43:11PM +0300, Руслан Закиров wrote: [...] > Our error log has "ignore long locked inactive cache entry" alerts, but I > really couldn't match it to "defreeze" event. Access log has STALE/UPDATING > requests between the alert and EXPIRED (cache updating) request

Re: Cache doesn't expire as should

2015-12-22 Thread itpp2012
Have you tried without locking? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263625,263629#msg-263629 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Cache doesn't expire as should

2015-12-22 Thread Руслан Закиров
On Tue, Dec 22, 2015 at 3:42 PM, itpp2012 wrote: > Your (pastebin) config? > Cache situation? (harddisks, cache configuration, etc.) > https://gist.github.com/ruz/05456767750715f6b54e Pasted relevant configuration. Can add more on request, our complete config is 4k lines splitted into 200 files

Re: Cache doesn't expire as should

2015-12-22 Thread itpp2012
Your (pastebin) config? Cache situation? (harddisks, cache configuration, etc.) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263625,263626#msg-263626 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Cache doesn't expire as should

2015-12-22 Thread Руслан Закиров
Hi, I stuck in analyzing this and can not repeat in a test environment. We see '/' location "freeze" from time to time as nginx stops updating cache. This lasts for 30 minutes - an hour. Regular requests flow: HIT ... HIT UPDATING UPDATING EXPIRED (every 30 seconds) HIT ... So under normal cond