A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
A PHP timeout occurs when a Drupal or PHP request takes longer than five minutes to produce output, terminates, and produces an HTTP 500 error. Most web browsers, depending on the client, don’t wait longer than two minutes before discontinuing a request and displaying an error.
Long-running processes consume infrastructure resources. If there are too many processes running, it impairs the performance of your application. The Acquia Cloud web stack accommodates requests that require extra time to complete, but does not to allow a process to run indefinitely.
The following are potential causes of PHP timeouts:
cron.php request that runs too longfile_get_contents($url), or similar methodssleep() function for extended lengths of time; for example, as an exponential back-off throttleSome potential solutions for PHP timeout issues include:
cron.php. See Using scheduled jobs to support your application.To find problematic pages, do the following:
request_time field that indicates how many microseconds it takes to deliver each page of your application. Examine the Drupal request logs and look for requests with a long php_time or queue_wait value. You can stream the Drupal request log in real time or download the Drupal request log from the Cloud Platform interface Logs page. See About Cloud Platform logging and Streaming log entries in real time.If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.