PHP-FPM and Nginx: "Resource temporarily unavailable" errors in proxy_error_log PHP-FPM and Nginx: "Resource temporarily unavailable" errors in proxy_error_log nginx nginx

PHP-FPM and Nginx: "Resource temporarily unavailable" errors in proxy_error_log


Try to increase your php-fpm children number, for example like this:

pm.max_children = 30pm.start_servers = 10pm.min_spare_servers = 3pm.max_spare_servers = 15

then sudden spikes of traffic won't generate the error


I also had this issue. Restarting fpm fixed it

sudo service php7.1-fpm restart

Change the php version.