• Hi,

    When ever there is FB or google marketing campaigns are running (basically surge in traffic), website is giving 502/504 error and as per our investigation below are the reasons:
    * Log of DB connections created and connections are not closing.
    * Load on web server is too high and Apache is not able to process the requests after some time.

    We are using Elementor Pro and just few other basic plugins. And coundn’t able to figure out why the connections made to DB are not closing (or see lot of open connections).

    Will be looking for your help.

    Thanks,
    Naveen

Viewing 1 replies (of 1 total)
  • First, do you have the raw infrastructure to handle the surge in traffic?

    If you say “yes”, how do you know this?

    And coundn’t able to figure out why the connections made to DB are not closing (or see lot of open connections).

    What specific metric or MySQL variable are you using to say there are lots of open connections not closing?

    Threads_connected or Connections or something else?

    Note that the Connections status variable shows the number of connection attempts (successful or not) to the MySQL server. This does not represent currently open connections, but all connection attempts since the server was started.

    The Threads_connected variable is what shows the currently open connections.

    Optimization

Viewing 1 replies (of 1 total)
  • The topic ‘Slow website when FB and Google marketing campaigns are running’ is closed to new replies.