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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. CPU stuck and using all cores at 100%

CPU stuck and using all cores at 100%

Scheduled Pinned Locked Moved Solved Support
cpumysql
5 Posts 3 Posters 744 Views 4 Watching
  • 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.
    • J Offline
      J Offline
      jonslab
      wrote on last edited by girish
      #1

      I am stumped. Is there any way to actually get more information about what is causing the CPU to spike?
      I want to know what service is causing the issue.

      Screenshot 2023-06-01 092721.png

      I have tried looking at processes using htop and cgtop.
      Using htop, it looks like mysql is using all of the cpu, but when using cgtop, I get the following results.
      photo_2023-06-01_09-02-01.jpg

      I have also tried using phpmyadmin to view any processes running in mysql, but I do not see any processes out of the norm there either.

      The only way to get the spike to drop is to reboot cloudron entirely. Restarting the app I am using does not fix the problem. Makes me think it is an issue with cloudrons sql.

      Any suggestions would be super helpful!

      girishG 1 Reply Last reply
      1
      • J jonslab

        I am stumped. Is there any way to actually get more information about what is causing the CPU to spike?
        I want to know what service is causing the issue.

        Screenshot 2023-06-01 092721.png

        I have tried looking at processes using htop and cgtop.
        Using htop, it looks like mysql is using all of the cpu, but when using cgtop, I get the following results.
        photo_2023-06-01_09-02-01.jpg

        I have also tried using phpmyadmin to view any processes running in mysql, but I do not see any processes out of the norm there either.

        The only way to get the spike to drop is to reboot cloudron entirely. Restarting the app I am using does not fix the problem. Makes me think it is an issue with cloudrons sql.

        Any suggestions would be super helpful!

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @jonslab if it's mysql, it's probably to do with swapping. Go to Services -> MySQL and give MySQL lot more memory.

        J 1 Reply Last reply
        1
        • girishG girish marked this topic as a question on
        • girishG girish

          @jonslab if it's mysql, it's probably to do with swapping. Go to Services -> MySQL and give MySQL lot more memory.

          J Offline
          J Offline
          jonslab
          wrote on last edited by jonslab
          #3

          @girish We made sure it has plenty of memory. Unfortunately it is not a SWAP issue.
          I will keep diving into this and will post any updates as I find more details on the issue.

          girishG 1 Reply Last reply
          1
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            what all apps do you have installed that use mysql?

            Conscious tech

            1 Reply Last reply
            0
            • J jonslab

              @girish We made sure it has plenty of memory. Unfortunately it is not a SWAP issue.
              I will keep diving into this and will post any updates as I find more details on the issue.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @jonslab did you find what it was?

              1 Reply Last reply
              0
              • girishG girish has marked this topic as solved on
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search