Welcome! Log In Create A New Profile

Advanced

php-fpm is dead and subsys lock

Posted by WoRLDLiFE 
WoRLDLiFE
php-fpm is dead and subsys lock
April 08, 2011 03:04AM
Hi Guys,
First of all thanx for setting up php fpm. Seriously it is providing
me a very good performance as my site receive a very high traffic. It
provides me very good performance.

Coming to the point I am facing this problem from past 2 months. The
problem is php-fpm stops working and nginx starts showing 50x error
bad gateway. When I check in to command line "service php-fpm status"
it says php-fpm is running ... When I try to restart php-fpm and then
check the status then it show me "php-fpm is dead and subsys lock" it
is only happening with php-fpm service not with other services. So
starting again php-fpm i need to clear all the processes started by
php-fpm and then I need to delete /var/lock/subsys/php-fpm file. After
this when i start php-fpm again it starts working.

I don't know what the problem is can you provide me some help so that
I can stop this problem ??
Re: php-fpm is dead and subsys lock
April 13, 2011 01:31AM
can some one help me in this ?
Re: php-fpm is dead and subsys lock
April 28, 2011 11:35AM
Hi WoRLDLiFE,

I have had the same problems using php-fpm and everybody advise you to move to php-fpm. Buttom line is php-fpm on php 5.3.x is just not stable. Have had to go back to php 5.2.x

Alternatively you can use spawn-fcgi

Kabs
Sick and tired to death of Bad gateway 502
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
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