Welcome! Log In Create A New Profile

Advanced

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

Reinis Rozitis
October 18, 2012 06:56AM
> connect() to unix:/var/run/php-fpm/php.sock failed (11: Resource
> temporarily unavailable) while connecting to upstream

I would suggest you to try switch to tcp - my own experience shows that
communication (even with little speed gain) between nginx and php via unix
socket is somehow unreliable especially under load.
You have to tweak the backlog and net.core.somaxconn but for me (at least in
past) even with high values it still produced some percentage of faulty
connections.

rr

_______________________________________________
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: 308
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