php-cgi constantly recycles every couple of minutes
Juan Fco. Giordana
juangiordana at gmail.com
Tue Jan 26 01:53:37 MSK 2010
On 01/25/2010 07:17 PM, mindfrost82 wrote:
> [snip]
>
> The problem that I'm having is that while viewing TOP, php-cgi seems
> to die and restart about every 2-3 minutes, sometimes as often as
> every minute. At least it restarts itself, but that can take a
> couple of seconds, causing a delay if you happen to be browsing the
> site during this time.
>
> In the above script, I've tried increasing the PHP_FCGI_MAX_REQUESTS,
> even as high as 1,000,000. I've also tried completely omitting that
> value. No matter what, php-cgi reacts the same way.
>
> I know it needs to recycle itself to prevent memory leaks, but I
> don't think it should be happening that often. Any ideas on how to
> fix this?
Maybe posting in php-fpm mailing list can be of more help.
More information about the nginx
mailing list