Welcome! Log In Create A New Profile

Advanced

PHP-FPM hanging

Posted by crirus 
PHP-FPM hanging
December 04, 2012 04:36AM
Hello

I have this busy server with nginx+php-fpm+apc installed.
Last night we had 1800 users per second.
After some time, the mysql connection limit was reached.
I am not sure that caused the php-fpm to hang, but it didn't restore itself
until I reset it this morning.
There was no load showing anywhere, mysql was fine, nginx was fine, I only
restarted the php-fpm server and site was up again.

Any clue what could be the issue for indefinitely hanging of php-fpm
service?

The only error I can see is nginx: connection reset by peer, reading
php-fpm on port 127.0.0.1:9000

Is there a way to force php-fpm restart in such cases?

---------------------------------------------------------------
Cristian Rusu
Web Developement & Electronic Publishing

======
Crilance.com
Crilance.blogspot.com
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 245
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready