• I have a website that has been giving intermittent 504 errors this past week. It is hard to troubleshoot because the error isn’t consistent.

    I have tried:
    Disabling all plugins and activated WP 2019 theme and the issue is still present. My initial thought was a bad plugin but since that didn’t resolve it, I am a bit lost for how else to troubleshoot.
    I contacted the hosting support (siteground) which noted several things:
    1) High CPU
    2) The error log has quite a few errors reading along the lines of this:
    [Sat Oct 12 13:33:18.155677 2019] [:warn] [pid 20489] [client 157.55.39.235:50326] Timeout waiting for output from CGI script /home/humani96/public_html/index.php
    3) There are many slow MySQL queries – all are referencing a variety of plugins, which doesn’t help me narrow things down.
    4) I downloaded the Query Monitor plugin, but that gives me similar info to number 3 being a variety of plugins which doesn’t help me narrow things down.

    Right now I am trying to revert the website to two weeks back, but siteground’s backup tool has been running for 30 minutes!

    I did build the website on a temporary URL which siteground says causes database issues. Could this have to do with it?

    What would you recommend to further troubleshoot this? Is there anything I can ask the hosting company that will help narrow down what else the problem could be?

    • This topic was modified 6 years, 8 months ago by vm_design.
Viewing 1 replies (of 1 total)
  • First of all, a temporary URL may cause the issues. I would suggest continuing the communication with your host and trying to solve it with them directly, as they know best their setup and what works best.

    If you want to disable the plugins, you can always rename the plugins folder under wp_content into plugins_old, and create a blank new plugins folder.

Viewing 1 replies (of 1 total)

The topic ‘Intermittent 504 error’ is closed to new replies.