Welcome! Log In Create A New Profile

Advanced

php-fpm pool is unresponsive when connecting to mysql, others are fine

Posted by lavos 
php-fpm pool is unresponsive when connecting to mysql, others are fine
March 26, 2011 01:50PM
This makes no sense...

I have two PHP-FPM pools, www and dev, the config is the same apart from worker # changes

However, since yesterday, www is no longer responsive when using PHP to connect via mysql. the dev pool, which uses the same mysql connection, works fine.

I've rebooted the server and issue persists. Any ideas?
Re: php-fpm pool is unresponsive when connecting to mysql, others are fine
March 26, 2011 02:22PM
I should add, it's not limited to mysql, PHP just in general doesn't work/is unresponsive on the www pool.
Can you supply us with your FPM configurations (Main / Pool(s))?

I had something similar happen like this but it was an error on my part and
a simple configuration mistake.

~ Sammie

On Sat, Mar 26, 2011 at 1:22 PM, lavos <nginx-forum@nginx.us> wrote:

> I should add, it's not limited to mysql, PHP just in general doesn't
> work/is unresponsive on the www pool.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?3,185952,185957#msg-185957
>
>
Re: php-fpm pool is unresponsive when connecting to mysql, others are fine
March 26, 2011 03:24PM
Hi Sammie,

Thanks for the response. Turns out, it was a faulty PHP script. Was repeatedly hitting our timeout threshold. Took that domain down and the www pool started working again.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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