Support » Fixing WordPress » “Timeout waiting for output from CGI script” with admin-ajax

  • Hi there,

    My website keeps on having Error 500 – Internal Server Error.
    I checked my error logs and I keep receiving this error:

    “Timeout waiting for output from CGI script /home/u2-p59nnmhmkwqf/www/XXXXXXXX.org/public_html/wp-admin/admin-ajax.php”

    I tried to run the website on GTMetrix to check the Waterfall to hopefully see what scripts are loading admin-ajax.php heavily but the report did not include /wp-admin/admin-ajax.php specifically.

    My website is hosted on SiteGround and I was informed the error 500 is caused by a script, which I assume is by a plugin I’m using. However I cannot seem to pin point which plugin is causing it. I cannot replicate the issue because the error 500 is intermittent.

    Any ideas how I can diagnose and fix this?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could use the DevTools built into your Browser. If not sure how then use a Search Engine to find tutorials specific to your Browser.

    You could also use a plugin like this to help troubleshooting back-end or front-end problems.

    https://wordpress.org/plugins/query-monitor/
    Query Monitor By John Blackbourn

    I use it all the time and it can be really helpful.

    minhee5609

    (@minhee5609)

    Hi there!
    I have exactly the same issue for my website.
    (intermitted 500 internal error with error log > Timeout waiting for output from CGI script.)
    did you fix the issue? please let me know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.