Quantcast
Channel: Plesk 12.x for Linux
Viewing all articles
Browse latest Browse all 5091

The dreaded 502 Bad Gateway, nginx + php-fpm

$
0
0
I recently switched to nginx + php-fpm on my server. There are about 60 domains on the server, most low traffic, but some mid-to-high traffic. All seemed to be working fine for the first 12 hours, but then I started getting a 502 Bad Gateway error on one of the high traffic domains. The nginx error log is full of messages like:

Code:
2017/02/10 00:32:42 [error] 46165#0: *119100 connect() to unix:///var/www/vhosts/system/mysite.com/php-fpm.sock failed (11: Resource temporarily unavailable)...
The dreaded 502 Bad Gateway, nginx + php-fpm

Viewing all articles
Browse latest Browse all 5091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>