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

    Extensive CPU usage (over 400% at the graph)

    Support
    3
    9
    96
    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.
    • V
      Vladimir last edited by

      Hello, I noticed huge CPU usage at the graph and when checked the log I saw a www-data user. Is this something normal?

      alt text

      robi 1 Reply Last reply Reply Quote 0
      • robi
        robi @Vladimir last edited by

        @Vladimir check services, one may be down.

        Life of Advanced Technology

        V 1 Reply Last reply Reply Quote 0
        • V
          Vladimir @robi last edited by

          @robi All services seem to be green and working.

          V 1 Reply Last reply Reply Quote 0
          • robi
            robi last edited by

            can you tell which app it's coming from?

            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • V
              Vladimir @Vladimir last edited by

              @Vladimir
              I have 2 apps, both are WordPress unmanaged. The 1st one seems to be problematic.

              jdaviescoates robi 2 Replies Last reply Reply Quote 0
              • jdaviescoates
                jdaviescoates @Vladimir last edited by

                @Vladimir said in Extensive CPU usage (over 400% at the graph):

                I have 2 apps, both are WordPress unmanaged. The 1st one seems to be problematic.

                Perhaps it's been hacked or something?

                Do you have Wordfence installed?

                It's a must-have for any WordPress site imho:

                https://wordpress.org/plugins/wordfence/

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply Reply Quote 0
                • robi
                  robi @Vladimir last edited by

                  @Vladimir said in Extensive CPU usage (over 400% at the graph):

                  @Vladimir
                  I have 2 apps, both are WordPress unmanaged. The 1st one seems to be problematic.

                  Have you checked the logs of the app to see what it's doing?

                  Life of Advanced Technology

                  V 1 Reply Last reply Reply Quote 1
                  • V
                    Vladimir @robi last edited by Vladimir

                    @robi Hello
                    the log seems ok to me.
                    I am using Cloudflare under attack mode + bot fight mode + advanced hardening techniques for WordPress. The log seems fine. I have performed a full Wordfence scan too and there were no problems.
                    I have disabled my multilingual plugin (translatepress) and the graph dropped a little - between 70-150%.

                    I have manually checked some of the files and the users + changed their passwords and enable login only for 1 IPs - the one in the office. Before, there were enabled several IP as some employees were logging from home.

                    Is this www-data user normal? Its CPU load dropped a little too.

                    robi 1 Reply Last reply Reply Quote 1
                    • robi
                      robi @Vladimir last edited by

                      @Vladimir Sounds like a popular site with lots of traffic.

                      Sounds like you found one reason to be the translation plugin.

                      You should be able to view the apache logs and monitor for errors, similarly for long DB calls which might make things wait, but then you'd notice site slowness from that too.

                      Life of Advanced Technology

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