Re: zero size buf in output(Bug?)

2013-08-27 Thread Richard Stanway
I also just saw this today: 2013/08/28 06:05:36 [alert] 26208#0: *919486194 zero size buf in output t:1 r:0 f:0 0264D7A5 0264D7A5-0264D7A5 0-0 while sending request to upstream Looking through logs, there are several similar lines, all to the same URL (fas

Re: Help needed NGINX reverse proxy to NODE.JS

2013-08-27 Thread Maxim Dounin
Hello! On Tue, Aug 27, 2013 at 05:49:19PM +0100, Ben wrote: > Nothing at all ... I promise you ! (I've been tail -f'ing the logs) > , and I can promise you its not a DNS problem because I can see the > NGINX default website on port 80 ;-) The location with websocket proxy you are testing is on p

Re: Help needed NGINX reverse proxy to NODE.JS

2013-08-27 Thread Ben
Nothing at all ... I promise you ! (I've been tail -f'ing the logs) , and I can promise you its not a DNS problem because I can see the NGINX default website on port 80 ;-) I found a workaround setting "proxy_buffering off;" in nginx makes it work again. Don't know if this is the way it's sup

Re: zero size buf in output(Bug?)

2013-08-27 Thread B.R.
Hello, Isn't there a dedicated nginx-ru mailing list? :o) ​ --- *B. R.* ** ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Help needed NGINX reverse proxy to NODE.JS

2013-08-27 Thread Maxim Dounin
Hello! On Tue, Aug 27, 2013 at 03:57:03PM +0100, Ben wrote: > Hi, > > I've tried this with NGINX 1.4.1-1ppa1~precise and node v0.10.17 and > just can't get it to work. > > What I've tried / what happens : > (a) Yes, I have tested this direct between client code and node > listening on 0.0.0.0 a

Help needed NGINX reverse proxy to NODE.JS

2013-08-27 Thread Ben
Hi, I've tried this with NGINX 1.4.1-1ppa1~precise and node v0.10.17 and just can't get it to work. What I've tried / what happens : (a) Yes, I have tested this direct between client code and node listening on 0.0.0.0 and it works as expected (b) I have tried a multitude of alternative config

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Kai Hendry
On Tue, Aug 27, 2013 at 01:28:42PM +0100, Francis Daly wrote: > +w allows you to create files in a directory. Sorry I meant to say +w I think I must have got confused with one of my server blocks and not the wildcard. Sorry to trouble you. it seems to be to working. :-) __

nginx-1.5.4

2013-08-27 Thread Maxim Dounin
Changes with nginx 1.5.4 27 Aug 2013 *) Change: the "js" extension MIME type has been changed to "application/javascript"; default value of the "charset_types" directive was changed accordingly. *) Change: now the "image_filter" direct

Re: zero size buf in output(Bug?)

2013-08-27 Thread milordk
На всякий случай: Active Connections порядка 700..800, из них 500 в состоянии Waiting (по данным stub) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,231543,242245#msg-242245 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

Re: zero size buf in output(Bug?)

2013-08-27 Thread milordk
Аналогичная проблема с ошибками в логах: zero size buf in output uname -a : FreeBSD srv.sportactions.ru 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root@amd64 builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 nginx -v : nginx version: nginx/1.5.3 nginx

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Francis Daly
On Tue, Aug 27, 2013 at 08:24:12PM +0800, Kai Hendry wrote: > On Tue, Aug 27, 2013 at 03:32:29PM +0400, Maxim Dounin wrote: Hi there, > > : - the user whose credentials are used by worker processes should have > > : permissions to create files in a directory with such logs; > > /var/log/nginx ha

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Kai Hendry
On Tue, Aug 27, 2013 at 03:32:29PM +0400, Maxim Dounin wrote: > : - the user whose credentials are used by worker processes should have > : permissions to create files in a directory with such logs; /var/log/nginx has +x on http user, so that's fine. > : - buffered writes do not work; Not sure w

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Maxim Dounin
Hello! On Tue, Aug 27, 2013 at 04:43:12PM +0800, Kai Hendry wrote: > Hi there, > > I've tried to replicate my Apache VirtualDocumentRoot /srv/www/%0 to > nginx. > > I have http://dabase.com/e/04055/ with > > server_name ~^(?.*)$; > root /srv/www/$vhost; > access_log /var/log/

VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Kai Hendry
Hi there, I've tried to replicate my Apache VirtualDocumentRoot /srv/www/%0 to nginx. I have http://dabase.com/e/04055/ with server_name ~^(?.*)$; root /srv/www/$vhost; access_log /var/log/nginx/$vhost.access.log; However it's still logging to /var/log/nginx/access.log i