Skip to content

Instantly share code, notes, and snippets.

@cuonghuynh
Created September 7, 2018 03:11
Show Gist options
  • Select an option

  • Save cuonghuynh/7b36633bcc3b7c4153d86fe3084925f0 to your computer and use it in GitHub Desktop.

Select an option

Save cuonghuynh/7b36633bcc3b7c4153d86fe3084925f0 to your computer and use it in GitHub Desktop.
How to find out what 's 503 service unavailable causing with log message AH01067: Failed to read FastCGI header
Normally 503 service unavailable errors come from the server run out of memory.
Case: It occurs only on a some pages
==> Try to find the code which take the most memory (pdf, importing, ...)
Case: Whole site down
==> Check memory now by some tools such as: top, htop...
Restart php-fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment