Re: session cache

2013-12-02 Thread Дмитрий Лабазнов
On Mon, Dec 02, 2013 at 09:29:53PM +0400, Дмитрий Лабазнов wrote: > Hi there, > > If it is a cookie called "user", then something like > > > proxy_cache_key "$host$request_uri $cookie_user"; > yes cookie, what does it mean called "user" ? > Users have a cookie session, and this strind do not wo

Re: RE: nginx - workers segfaulting

2013-12-02 Thread nmarques
I'm facing a small problem with gdb and separate debuginfo's. Do you build with the '-g' compiler option? [root@2 nginx]# rpm -qa | grep nginx nginx-1.4.4-1.el6.ngx.x86_64 nginx-debug-1.4.4-1.el6.ngx.x86_64 [root@2 nginx]# gdb --pid 39019 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6

Re[2]: session cache

2013-12-02 Thread Виталий Владимирович
--- Original message --- From: "Francis Daly" Date: 2 December 2013, 19:21:29 > On Mon, Dec 02, 2013 at 09:18:06PM +0400, Дмитрий Лабазнов wrote: > > Hi there, > > > Could you plz some example ? > > What is a session? > > If it is a cookie called "user", then something like > > proxy_ca

Re: RE: nginx - workers segfaulting

2013-12-02 Thread nmarques
> - exact output from "nginx -V" Name: nginxRelocations: (not relocatable) Version : 1.4.4 Vendor: nginx inc. Release : 1.el6.ngx Build Date: Tue 19 Nov 2013 12:11:15 PM WET Install Date: Mon 02 Dec 2013 06:33:

Re: nginx - workers segfaulting

2013-12-02 Thread nmarques
Adittionally: Name: nginxRelocations: (not relocatable) Version : 1.4.3 Vendor: nginx inc. Release : 1.el6.ngx Build Date: Tue 08 Oct 2013 02:34:32 PM WEST Install Date: Mon 02 Dec 2013 05:35:41 PM WET Bui

RE: nginx - workers segfaulting

2013-12-02 Thread Lukas Tribus
Hi! > I'm facing a small problem with NGINX; The workers are segfaulting since > 11:20 this morning. > [...] > I can provide some cores, but I can't attach them here. My setup was running > fine till today (which has some coincidence with a new webservice > deployed). > > Please could you provide

nginx - workers segfaulting

2013-12-02 Thread nmarques
Dear All, I'm facing a small problem with NGINX; The workers are segfaulting since 11:20 this morning. From kernel messages I got soemthing like this: nginx[6888]: segfault at 8 ip 00426a30 sp 7fff85c01e70 error 4 in nginx[40+a8000] nginx[6886]: segfault at 8 ip 00426a30 s

Re: session cache

2013-12-02 Thread Francis Daly
On Mon, Dec 02, 2013 at 09:29:53PM +0400, Дмитрий Лабазнов wrote: Hi there, > > If it is a cookie called "user", then something like > > > proxy_cache_key "$host$request_uri $cookie_user"; > yes cookie, what does it mean called "user" ? > Users have a cookie session, and this strind do not wor

Re: session cache

2013-12-02 Thread Дмитрий Лабазнов
> Hi there, > Could you plz some example ? > What is a session? > If it is a cookie called "user", then something like > proxy_cache_key "$host$request_uri $cookie_user"; > may work for you. yes cookie, what does it mean called "user" ? Users have a cookie session, and this strind do not work

Re: session cache

2013-12-02 Thread Francis Daly
On Mon, Dec 02, 2013 at 09:18:06PM +0400, Дмитрий Лабазнов wrote: Hi there, > Could you plz some example ? What is a session? If it is a cookie called "user", then something like proxy_cache_key "$host$request_uri $cookie_user"; may work for you. f -- Francis Dalyfran...@d

Re: session cache

2013-12-02 Thread Дмитрий Лабазнов
Could you plz some example ? 2013/12/2 Francis Daly > On Mon, Dec 02, 2013 at 03:47:42PM +0300, Дмитрий Лабазнов wrote: > > Hi there, > > > Hi, could anybody say, may i cache dynamic content for sessions isolate > > from eache other ? > > http://nginx.org/r/proxy_cache_key > > Include something

Re: session cache

2013-12-02 Thread Francis Daly
On Mon, Dec 02, 2013 at 03:47:42PM +0300, Дмитрий Лабазнов wrote: Hi there, > Hi, could anybody say, may i cache dynamic content for sessions isolate > from eache other ? http://nginx.org/r/proxy_cache_key Include something unique per session in the key. f -- Francis Dalyfran.

Re: [ANN] ngx_http_redis-0.3.7 released

2013-12-02 Thread Sergey A. Osokin
On Mon, Dec 02, 2013 at 09:06:30PM +0400, Sergey A. Osokin wrote: > ngx_http_redis module version 0.3.7 released, available for immediate > download at http://people.freebsd.org/~osa/ngx_http_redis-0.3.7.tar.gz > > > > *) Bugfix: ngx_http_redis_module might issue the error message >"redis sen

[ANN] ngx_http_redis-0.3.7 released

2013-12-02 Thread Sergey A. Osokin
ngx_http_redis module version 0.3.7 released, available for immediate download at http://people.freebsd.org/~osa/ngx_http_redis-0.3.7.tar.gz

Re: fastcgi_buffering and caching from FastCGI server

2013-12-02 Thread Maxmilhas
Yes, it is completely acceptable that people (possibly) completely out of an entire project make its documentation. Or at least it is them who must decide what is good and necessary to have on the docs, and what isn't. Remarkable. Good to see this If you think that explicitly mentioning this

Re: fastcgi_buffering and caching from FastCGI server

2013-12-02 Thread Maxim Dounin
Hello! On Mon, Dec 02, 2013 at 10:57:05AM +0200, wishmaster wrote: > > Hi, devel team! > > Playing with caching responses from FCGI server I've found not > documented issue. When fastcgi_buffering is "off", then > fastcgi_cache doesn't work. Yes, this is logical completely, but > I think wo

Re: [Patch] possible mutex starvation issue affects all nginx Linux versions.

2013-12-02 Thread Maxim Dounin
Hello! On Mon, Dec 02, 2013 at 07:15:52AM -0500, itpp2012 wrote: > Here is a patch for a possible mutex starvation issue which affects all > nginx Linux versions. > Already solved for Windows since nginx 1.5.7.1 Caterpillar. > Can be reproduced when nginx reloads the config & worker holding mutex

session cache

2013-12-02 Thread Дмитрий Лабазнов
Hi, could anybody say, may i cache dynamic content for sessions isolate from eache other ? I have very hard sql, but it is show some results which very variative for users, but some times users call this script many time in small period of time, so i wana cache the results in small period for each

[Patch] possible mutex starvation issue affects all nginx Linux versions.

2013-12-02 Thread itpp2012
Here is a patch for a possible mutex starvation issue which affects all nginx Linux versions. Already solved for Windows since nginx 1.5.7.1 Caterpillar. Can be reproduced when nginx reloads the config & worker holding mutex dies or hangs. Fixed by Vittorio Francesco Digilio, commercially sponsere

Dynamic request rate throttling

2013-12-02 Thread Larry
Hello, I wish I could send a notification to nginx to dynamically limit the request rate per second. Say I use the request rate module, i would like to be able to override dynamically this setting. How would I do that ? I read about the zone but not sure if i can interfere in this way. Any clu

fastcgi_buffering and caching from FastCGI server

2013-12-02 Thread wishmaster
Hi, devel team! Playing with caching responses from FCGI server I've found not documented issue. When fastcgi_buffering is "off", then fastcgi_cache doesn't work. Yes, this is logical completely, but I think would be better specify it in docs. What do you think? Cheers, w ___