Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    What is causing mysql to run out of memory?

    Support
    mysql oom
    3
    6
    342
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoates
      jdaviescoates last edited by

      I'm assuming it's the Broken Links Checker plugin I've got installed on one of my WordPress sites, but how can I check?

      Thanks!

      I use Cloudron with Gandi & Hetzner

      marcusquinn 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        I think the only option here is to disable things you think are causing that issue one-by-one and verify that it either is or is not the issue.

        jdaviescoates 1 Reply Last reply Reply Quote 0
        • marcusquinn
          marcusquinn @jdaviescoates last edited by

          @jdaviescoates I seem to remember Broken Links Checker is on the do not use list of many managed WP hosts for this reason.

          These any use?

          • https://wordpress.org/plugins/query-monitor/
          • https://wordpress.org/plugins/debug-bar/

          Although, don't leave running on Production as they have a performance cost too.

          We're not here for a long time - but we are here for a good time :)
          Jersey/UK
          Work & Ecommerce Advice: https://brandlight.org
          Personal & Software Tips: https://marcusquinn.com

          1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @nebulon last edited by

            @nebulon said in What is causing mysql to run out of memory?:

            I think the only option here is to disable things you think are causing that issue one-by-one and verify that it either is or is not the issue.

            Is there anyway to at least narrow it down to what app caused it to run out of memory?

            I use Cloudron with Gandi & Hetzner

            nebulon 1 Reply Last reply Reply Quote 1
            • nebulon
              nebulon Staff @jdaviescoates last edited by

              @jdaviescoates not that I am aware of, I don't think mysql reports memory usage by database connection.

              jdaviescoates 1 Reply Last reply Reply Quote 2
              • jdaviescoates
                jdaviescoates @nebulon last edited by jdaviescoates

                @nebulon I thought it was perhaps the Broken Links Checker on one of my WordPress installs, as as @marcusquinn noted it's widely known to sometimes cause such issues, but I've disabled that and I'm still getting these /mysql was restarted (OOM) (although they don't seem to appear in the event log?).

                I note that the most recent one happened 5 minutes after my backups are due to start, and the other previous two times it's been 7-9mins before updates are due to run.

                I wonder if either of those (backup/ update) processes might have something to do with it?

                I guess I could just give mysql more memory and not worry, but be nice to know what's happening and why...

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply Reply Quote 2
                • First post
                  Last post
                Powered by NodeBB