Welcome! Log In Create A New Profile

Advanced

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Sergey Budnevitch
October 17, 2012 06:24AM
On 16 Oct2012, at 20:56 , justin <nginx-forum@nginx.us> wrote:

> Sergey,
>
> Just tried with 50 PHP-FPM workers, and performance was even worse:

Well, if your application is not CPU, i/o etc bound, you have to
find what your php application wait for. In case of php+mysql
it is advisable to enable slow log in php-fpm and mysql.
Sorry but further php debugging you should do yourself -
it is out of scope of the mailing list.

>
> Same problem logged in /var/log/nginx/error.log:
>
> connect() to unix:/var/run/php-fpm/php.sock failed (11: Resource temporarily
> unavailable) while connecting to upstream

When 50 php workers serve equal number of requests and another 128
(from listen.backlog) requests wait in backlog, 179th request
will result in "(11: Resource temporarily unavailable) while connecting to upstream".

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

connect() to unix:/var/run/php-fpm/php.sock failed

Anonymous User October 16, 2012 04:43AM

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Jérôme Loyet October 16, 2012 04:48AM

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Anonymous User October 16, 2012 04:58AM

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Sergey Budnevitch October 16, 2012 05:36AM

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Anonymous User October 16, 2012 12:56PM

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Sergey Budnevitch October 17, 2012 06:24AM

Re: connect() to unix:/var/run/php-fpm/php.sock failed

Reinis Rozitis October 18, 2012 06:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 228
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready