• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Very high CPU Usage constantly for FOG Services on physical Storage Node

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    9
    1.8k
    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.
    • x23piracyX
      x23piracy
      last edited by x23piracy

      Hi,

      i am experiencing very high cpu usage on my storage node.
      I have a fog master virtualized and a pyhsical storage node:

      alt text

      Both machines are on trunk 7919 Before i upgraded there was also a heavy load on the system, i upgraded from a trunk version 2-3 days old.

      Regards X23

      ║▌║█║▌│║▌║▌█

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by x23piracy

        one more screenshot after some minutes runtime (no one is using the node)

        alt text

        After more then 1 hour runtime:

        alt text

        Regards X23

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @x23piracy
          last edited by

          @x23piracy just guessing these systems are Ubuntu?

          For some reason the installer is unable to stop the fog services. Everything else goes off without and issue. This should be fixed if you stop the fog services and start them back up. They get into an infinite loop because the next time they check in they lose what their sleep time was which gets interpreted as zero. As they’re in a loop, they take up a lot of cpu.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          x23piracyX 1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy @Tom Elliott
            last edited by x23piracy

            @Tom-Elliott is this also needed after a reboot of the system? It’s 14.04.4 i already rebooted after update

            ║▌║█║▌│║▌║▌█

            fry_pF 1 Reply Last reply Reply Quote 0
            • fry_pF
              fry_p Moderator @x23piracy
              last edited by

              @x23piracy I had the same issue. The only way I could fix it is restart the services as root. A full reboot didn’t do it for me. I use a script and added these commands at the end to do so (must be root! I run a cron job as root to do this):

              service FOGMulticastManager stop && sleep 5 && service FOGMulticastManager start
              service FOGPingHosts stop && sleep 5 && service FOGPingHosts start
              service FOGImageReplicator stop && sleep 5 && service FOGImageReplicator start
              service FOGSnapinReplicator stop && sleep 5 && service FOGSnapinReplicator start
              service FOGScheduler stop && sleep 5 && service FOGScheduler start
              

              Like open source community computing? Why not do it for a good cause?
              Use your computer/server for humanitarian projects when it is idle!
              https://join.worldcommunitygrid.org?recruiterId=1026912

              x23piracyX 1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy @fry_p
                last edited by x23piracy

                @fry_p @Tom-Elliott i did so:

                alt text

                i have still high cpu usage:

                alt text

                i can also repeat restarting the services but itsS the same:

                alt text

                What now?

                Regards X23

                ║▌║█║▌│║▌║▌█

                x23piracyX 1 Reply Last reply Reply Quote 0
                • x23piracyX
                  x23piracy @x23piracy
                  last edited by

                  why i do not experience this on the same ubuntu for my fog master (vm) the services running fine here.

                  ║▌║█║▌│║▌║▌█

                  1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy
                    last edited by

                    proceed here it’s pretty the same issue: https://forums.fogproject.org/topic/7489/around-100-cpu-usage-constantly

                    ║▌║█║▌│║▌║▌█

                    1 Reply Last reply Reply Quote 0
                    • x23piracyX
                      x23piracy
                      last edited by

                      SOLVED https://forums.fogproject.org/topic/7489/around-100-cpu-usage-constantly/16

                      mysql not accessible outside 127.0.0.1 (localhost)!

                      Regards X23

                      ║▌║█║▌│║▌║▌█

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      181

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project