0

I am running an nginx webserver serving php files with FPM.

Normally it works super well and fast, but sometimes though there are periods where all page loads will hang and return 504 Gateway Time-out errors. I just wait and this situation will resolve in about a minute or so. %CPU usage on my server (linode) never goes above 5%.

What could be causing this? I am guessing perhaps like a max connections setting or something in php, but am totally lost.

  • 4
    Do your logs have any interesting information during the slow periods? – Katherine Villyard Nov 22 '14 at 20:08
  • Take a look in this question: serverfault.com/questions/178671/… – Federico Sierra Nov 23 '14 at 1:45
  • I am guessing perhaps like a max connections setting or something - Less guessing and more reading the nginx + php-fpm logs would help – AD7six Nov 23 '14 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.