Re: Minimize startup timeout on dynamic fastcgi
Stefan Wendt <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Eugene wrote: > >But it was not terminated, so it got -KILL signal. >[Sun Apr 02 14:28:02 2006] [warn] FastCGI: (dynamic) server >"/var/home/***/fcgi-bin/php5.fcgi" (pid 20811) >terminated due to uncaught signal '15' (Terminated) > > > PHP does not catch SIGTERM correctly, that's the reason for this (uncaught signal) behavior. http://bugs.php.net/bug.php?id=36158 I'd recommend to use the patch as described in the link above. It fixes that problem and php will shut down correctly when it's told so by fcgi_pm. http://www.crafted.de/ext/php_sigterm/ You should give this a try. Please post your full configuration (all version number and all relevant configuration directives) if it doesn't. Stefan Wendt ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/