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. Cloudron services are slow

Cloudron services are slow

Scheduled Pinned Locked Moved Solved Support
performance
14 Posts 7 Posters 1.1k Views 8 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.
    • K Offline
      K Offline
      KhalilZammeli
      wrote on last edited by joseph
      #1

      Hello

      Users been noticing that my WP site is slow and after some tests myself I've found that it is really taking a lot of time to load. Not only WP but also other services (example: Chatwoot).

      Is there any way to debug this and know what's causing this issue? Can't seem to find anything in the logs or system info, even the CPU graphs are not showing (keeps loading).

      Thank you!

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Maybe you can get some better immediate overview when running htop or top via SSH to see if systemload is maybe high, in which case the system may just be underpowered for the apps you are running. Also sometimes disk I/O is an important factor.

        1 Reply Last reply
        1
        • J joseph marked this topic as a question on
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          Also look at the disk IO on the VPS next to the CPU graphs. If it's under 300, it may be overloaded.

          Conscious tech

          1 Reply Last reply
          0
          • timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by
            #4

            Errr it’s your server @KhalilZammeli !
            Not being awkward but you can’t really post a question like this one without information on the server, RAM, CPU, disk space total and free, location (not sure VPS on the end of starlink in Antarctica will be great)

            1 Reply Last reply
            4
            • K Offline
              K Offline
              KhalilZammeli
              wrote on last edited by
              #5

              Sorry for the lack of info.

              Here are some additional info gathered by the team:

              Platform Versionv8.2.3 (Ubuntu 24.04.1 LTS)
              VendorQEMU
              ProductStandard PC (i440FX + PIIX, 1996)
              CPU6 Core "AMD EPYC 7282 16-Core Processor"
              Memory16.77 GB RAM & 4.29 GB Swap

              We noticed something is related to MySQL?
              caae539b-bea8-4ee0-be69-90dc9284788b.jpeg

              Capture d’écran 2025-01-24 214804.png

              1 Reply Last reply
              0
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #6

                Please post the Cloudron top right Menu > System Info view

                Your DB is super busy for some reason as well. So include the > Services view

                Conscious tech

                1 Reply Last reply
                3
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #7

                  @KhalilZammeli looking at your screenshot, the user of that very busy mysql instance seems to be some pollina+ which I have no clue what that would be. At least this is not coming from any Cloudron bits. Have you installed anything on the side on this server, which may be causing that?

                  1 Reply Last reply
                  2
                  • timconsidineT Offline
                    timconsidineT Offline
                    timconsidine
                    App Dev
                    wrote on last edited by
                    #8

                    https://github.com/pollina-s/mysql_project ??

                    But that doesn’t give much info so I’m not sure

                    1 Reply Last reply
                    1
                    • K Offline
                      K Offline
                      KhalilZammeli
                      wrote on last edited by
                      #9

                      Hello Cloudron Team,

                      After further investigation into the server performance issues, we've identified some suspicious activity that may not be related to Cloudron itself. Here's a summary of our findings:

                      1. System and Security Checks Performed:
                        • We confirmed that no software other than Cloudron was intentionally installed before today.
                        • We reviewed recent command history to ensure no unintended actions were performed manually.
                      2. Unrecognized User Activity:
                        • Initially, we noticed a MySQL instance running under the user pollinate, which is not part of Cloudron’s standard services.
                        • Upon further analysis, we found that after removing the pollinate user, a new user with UID 106 took over running similar services, including MySQL, PostgreSQL, and MongoDB.
                        • Most recently, these processes have transitioned to running under the netdata user, which we installed today for monitoring purposes.
                          • is it possible it’s a malicious entity changing user each time ?
                      3. System Observations:
                        • We have gathered the following screenshots for further analysis:
                          • Service View Screenshot: (Attach the image)
                            image.png

                          • System Info Screenshot: (Attach the image)
                            image.png

                          • Top Command Output Screenshot: (Attach the image)
                            image (2).png

                            update of the screenshot for our wordpress service, very high CPU usage, how can we investigate these ?
                            image (3).png

                      Next Steps:

                      • We're investigating if the unauthorized services were installed via a privilege escalation method.
                      • We're considering reinstallation of Cloudron on a fresh system if no other resolution is found.

                      Any insights or suggestions from the Cloudron team would be greatly appreciated.

                      Thank you for your continued support!

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by jdaviescoates
                        #10

                        I did wonder earlier if a hacked instance of WordPress (or even just WordPress malicious or badly designed plugin) could potentially be the culprit. Seems worth investigating.

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        2
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #11

                          You can also use docker stats to check which container is taking CPU.

                          For the confusing user names: top command has no idea about containers. A uid in container will just appear as uid in host and top will blindly translate the uid not realizing that the uid is for the container. This is why you see mysqld running as netdtaa. Most likely mysqld is running in the mysql container and the mysqld user of container is mapped as netdata in host (i.e their uids are the same). See something like pstree to make out the pids

                          1 Reply Last reply
                          0
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #12

                            Sorry for the mysql user confusion. I had not realized that Ubuntu does come with a pollinate user through the pollinate package by default!

                            So then the question comes back to finding out which app seems to utilize the mysql service that heavily. Maybe you can also stop one app after the other to find out which one is the one causing that.

                            1 Reply Last reply
                            1
                            • K KhalilZammeli

                              Hello Cloudron Team,

                              After further investigation into the server performance issues, we've identified some suspicious activity that may not be related to Cloudron itself. Here's a summary of our findings:

                              1. System and Security Checks Performed:
                                • We confirmed that no software other than Cloudron was intentionally installed before today.
                                • We reviewed recent command history to ensure no unintended actions were performed manually.
                              2. Unrecognized User Activity:
                                • Initially, we noticed a MySQL instance running under the user pollinate, which is not part of Cloudron’s standard services.
                                • Upon further analysis, we found that after removing the pollinate user, a new user with UID 106 took over running similar services, including MySQL, PostgreSQL, and MongoDB.
                                • Most recently, these processes have transitioned to running under the netdata user, which we installed today for monitoring purposes.
                                  • is it possible it’s a malicious entity changing user each time ?
                              3. System Observations:
                                • We have gathered the following screenshots for further analysis:
                                  • Service View Screenshot: (Attach the image)
                                    image.png

                                  • System Info Screenshot: (Attach the image)
                                    image.png

                                  • Top Command Output Screenshot: (Attach the image)
                                    image (2).png

                                    update of the screenshot for our wordpress service, very high CPU usage, how can we investigate these ?
                                    image (3).png

                              Next Steps:

                              • We're investigating if the unauthorized services were installed via a privilege escalation method.
                              • We're considering reinstallation of Cloudron on a fresh system if no other resolution is found.

                              Any insights or suggestions from the Cloudron team would be greatly appreciated.

                              Thank you for your continued support!

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by jdaviescoates
                              #13

                              @nebulon

                              @KhalilZammeli said in Cloudron services are slow:

                              update of the screenshot for our wordpress service, very high CPU usage, how can we investigate these ?

                              Given the above and the fact WordPress uses mysql (and is very often attacked as it's so widely used, and malicious plugins are also quite common) that seem to me to be the obvious first app to investigate.

                              I use Cloudron with Gandi & Hetzner

                              micmcM 1 Reply Last reply
                              1
                              • jdaviescoatesJ jdaviescoates

                                @nebulon

                                @KhalilZammeli said in Cloudron services are slow:

                                update of the screenshot for our wordpress service, very high CPU usage, how can we investigate these ?

                                Given the above and the fact WordPress uses mysql (and is very often attacked as it's so widely used, and malicious plugins are also quite common) that seem to me to be the obvious first app to investigate.

                                micmcM Offline
                                micmcM Offline
                                micmc
                                wrote on last edited by
                                #14

                                @jdaviescoates said in Cloudron services are slow:

                                @nebulon

                                @KhalilZammeli said in Cloudron services are slow:

                                update of the screenshot for our wordpress service, very high CPU usage, how can we investigate these ?

                                Given the above and the fact WordPress uses mysql (and is very often attacked as it's so widely used, and malicious plugins are also quite common) that seem to me to be the obvious first app to investigate.

                                Absolutely! Most of the time a WP plugin is the culprit. A WP plugin that's been acquired through a 'friend' which is not the original developer. Extremely, dangerous these are compromised in 99% of the times.

                                Ignorance is not an excuse anymore!
                                https://AutomateKit.com

                                1 Reply Last reply
                                1
                                • J joseph 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