On Sat, Aug 02, 2014 at 10:37:41AM +0000, Florian Obser wrote: > On Sat, Aug 02, 2014 at 12:11:18PM +0200, S?bastien Marie wrote: > > > > But, the cgi program is still running (in infinite loop at max CPU). > > > > Is it an expected behaviour or not ? It seems odd to me. > > Does slowcgi implements some timeout ? > > Yes, 120 seconds. After that it considers the cgi script to be dead > and cleans up the connection to nginx. > > However it does not kill the cgi script. I talked to some people when > I implemented that and we decided it would be best to not kill the cgi > script as it probably cannot handle that. I.e. leaving half written > files behind or some other crap. So it comes down to fixing the cgi > script to not get into an infinit loop ;) > ok, it make sens.
Thanks a lot for your answer. -- Sébastien Marie

