I have been having ongoing 504 errors (503s). It has gotten to the point where it is so bad everytime someone trys an update in wordpress they get a 504.
When troubleshooting I tried to adjust a timeout in php-fpm and the system crashes. I restored the file back to what it was and now I cannot get php5-fpm to load. Everytime I try a restart, reload, stop, start the system freezes and I have to force quit the VM in virt manager. I have been running in circles unable to find anything close to a solution.
These are the error logs I get:
tail -f /usr/local/var/log/nginx/error.log
Specifically:
2015/10/11 19:46:53 [error] 2429#0: *1779 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.30.1.119, server: [redacted], request: "GET /robots.txt HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-www-1.sock:", host: "10.30.1.110"
My php-fpm.conf file is configured as such:
pid = /var/run/php5-fpm.pid
error_log = /var/log/php5-fpm.log
include=/etc/php5/fpm/pool.d/*.conf
The rest is commented out.
I do not even see a log file when I follow the path.
I am not sure if any of this is related to the 504 error. We have in the past experienced a complete freeze CPU spike which required the system to be force restarted. I am not sure how we solved it before. Eventually something worked.
Is there something I should be checking that I am not?