Re: Send 502 when all php-fpm workers are in use

2014-07-07 Thread justink101
Starting php-fpm: [07-Jul-2014 17:52:33] WARNING: [pool app-execute] listen.backlog(0) was too low for the ondemand process manager. I updated it for you to 128 Well that is unfortunate, not sure why using on-demand required a backlog of 128. Essentially this php-fpm pool runs jobs then the worker

Re: Hosting a web application from a subsite

2014-07-07 Thread Ron Scott-Adams
Ah! That makes a good deal of sense. I feel silly; of course Fastcgi is the wrong way to go here. I’ve rewritten it successfully and it all works now. Thanks Maxim! http://paste2.org/NaV3U3YU http://paste2.org/cLGfIEGV On Jul 7, 2014, at 9:10 AM, Maxim Dounin wrote: > Hello! > > On Mon, Ju

Re: Hosting a web application from a subsite

2014-07-07 Thread Maxim Dounin
Hello! On Mon, Jul 07, 2014 at 02:39:32AM -0400, Ron Scott-Adams wrote: > I’m not having much luck trying to configure this site the way I want. I’m > modifying http://wiki.nginx.org/Piwik to suit a case in which it is served > out of a subsite location, e.g. example.com/stats. > > I’ve create

Re: Send 502 when all php-fpm workers are in use

2014-07-07 Thread Maxim Dounin
Hello! On Sun, Jul 06, 2014 at 10:14:42PM -0400, justink101 wrote: > Maxim, > > If I set the php-fpm pool listen.backlog to 0, will this accomplish what I > want. I.e. fill up workers, once all the workers are used, fail requests. Note that such a low value will have a downside of not toleratin