The following apache error.log, means that the particular web request waited over 600 seconds for a response, and then failed. We have a 10 minute (600 second) timeout on all Apache requests, to allow your sites to recover gracefully in the event that they were stuck on a long process or overloaded with incoming web requests.
apache-error staging-12345 [Fri Sep 28 13:35:50 2018] [error] [pid=15367] 220.127.116.11 "https://mysite.com/admin/config/links-checker?clear=all&t=block" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:61.0) Gecko/20100101 Firefox/61.0" vhost=mysite.prod.acquia-sites.com forwarded_for="xxx.xx.xxx.x" request_id="v-04576240-c322-11e8-a17e-4bede48e238d" hosting_site=mysite FastCGI: comm with server "/var/www/site-fpm/pbgc.dev/php-fpm" aborted: idle timeout (600 sec)
Apache can time out PHP/FPM processes for a variety of reasons, and these are some of the most common ones, along with links to some additional troubleshooting documentation.
- An web request to an external service has failed, and left the process in a 'hung' state see https://support.acquia.com/hc/en-us/articles/360004267413-Handling-external-website-calls for information about gracefully handling external calls
- Too many incoming web requests are bootstrapping the Drupal application, and there are no available processes to handle the next request. We recommend that you use Varnish to quickly deliver the majority of your content from cache, please see more about varnish here https://docs.acquia.com/acquia-cloud/performance/varnish/
- The PHP memory limit is set too high for all requests, consider setting a relatively low memory limit for normal site traffic, and increasing the memory available for content editors with a Conditional Memory limit https://support.acquia.com/hc/en-us/articles/360004542293-Conditionally-increasing-memory-limits