Timeout errors in logs
Hello,
I saw these errors in /var/log/apache2/error_log
please note. that the wp cron id are the same for both errors. I was wanting to get some help in understanding what this means. I understand that it is a timeout waiting on a script (from what it appears) :) However, I am not sure if wp_cron is or what this is doing. would this be affecting website speeds? If needed, and if the cron id is not secretive, then I can post the cron id instead of scrubbing it. Thanks
[cgi:warn] [pid 29711] [client HostIP:37422] AH01220: Timeout waiting for output from CGI script /usr/local/cpanel/cgi-sys/ea-php71, referer: https://www.example.com/wp-cron.php?doing_wp_cron=
[cgi:error] [pid 29711] [client HostIP:37422] Script timed out before returning headers: ea-php71, referer: https://www.example.com/wp-cron.php?doing_wp_cron=
please note. that the wp cron id are the same for both errors. I was wanting to get some help in understanding what this means. I understand that it is a timeout waiting on a script (from what it appears) :) However, I am not sure if wp_cron is or what this is doing. would this be affecting website speeds? If needed, and if the cron id is not secretive, then I can post the cron id instead of scrubbing it. Thanks
-
Hi @ca2236 Usually, these errors are a symptom of another issue. I wonder if you're not also reaching MaxRequest workers when this is occurring. What is the output of the following? grep MaxRequest /etc/apache2/logs/error_log
I am not sure if wp_cron is or what this is doing. would this be affecting website speeds
From Function Reference/wp cron " WordPress Codex:Description Run scheduled callbacks or spawn cron for all scheduled events.
Basically, the wp-cron runs everytime someone lands on your page and polls for updates0 -
Hi @cPanelLauren, It has no output, I can check logs from backups though. I also apologize, It just dawned on me that it may be a WordPress issue and not strictly speaking cpanel. I can work with a wordpress forum if you want me to. However, I might increase Max Requests and just test. 0 -
Hi @ca2236 It might be easier if I explained what I'm looking for. Typically in an instance where you're receiving timeouts like this, it's occurring due to something else. In a lot of cases it's the number of MaxRequestWorkers being reached but in almost all cases both of these are attributed to load on the server. In the instances, you're seeing these are you also seeing higher than average load? If so the forum post here might be helpful for you Tutorial - Troubleshooting high server loads on Linux servers Thanks! 0 -
Hi @cPanelLauren, Thank you for the information, after doubling the Max Request Workers. It seems to have solved the problem, but still in a wait and see before I say 100% certain. :) Thank you for the suggestion and the resources. Charles 0 -
Hi @ca2236 I'm glad to hear that, do monitor it and feel free to let us know if you have any further issues with it Thanks! 0 -
Hi @cPanelLauren, Well, it is still happening, but something like 10% of time time or less maybe. Charles 0 -
Hi @ca2236 Are you running CentOS or CloudLinux? What's your load averages like? Do you see anything out of the ordinary in WHM's daily process log? 0 -
Hi, I think I found the issue, it was related to a bad DNS entry. We can resolve this ticket. Thanks 0 -
Hi @ca2236 That would do it too! I'm glad you found the issue and thanks for letting us know. 0
Please sign in to leave a comment.
Comments
9 comments