socket() failed: No buffer space available) while connecting to upstream,

Posted by alfish on Server Fault See other posts from Server Fault or by alfish
Published on 2010-12-13T20:15:47Z Indexed on 2012/07/08 3:17 UTC
Read the original article Hit count: 440

Filed under:
|
|
|

On my ubuntu 10.04 VPS, I get regular 500 error on nginx (0.7.??)+ fcgi web server running a durpal site. and when I trace the nginx error log I see plenty of these:

socket() failed: No buffer space available) while connecting to upstream ...,

I have tried differnt combination configs but none fixed the problem. Currently I have 3 nginx workers, Keep-alive time out 15 seconds and and

PHP_FCGI_CHILDREN=5 PHP_FCGI_MAX_REQUESTS=1000

I really appreciate if you Can you suggest a solution to this annoying problem.

© Server Fault or respective owner

Related posts about nginx

Related posts about ubuntu