• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • X
    x23piracy
    last edited by x23piracy May 28, 2016, 4:25 AM May 28, 2016, 10:24 AM

    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

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

    T 1 Reply Last reply May 28, 2016, 12:46 PM Reply Quote 0
    • X
      x23piracy
      last edited by x23piracy May 28, 2016, 5:40 AM May 28, 2016, 10:38 AM

      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
      • T
        Tom Elliott @x23piracy
        last edited by May 28, 2016, 12:46 PM

        @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

        X 1 Reply Last reply May 28, 2016, 2:36 PM Reply Quote 0
        • X
          x23piracy @Tom Elliott
          last edited by x23piracy May 28, 2016, 9:02 AM May 28, 2016, 2:36 PM

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

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

          F 1 Reply Last reply May 28, 2016, 2:38 PM Reply Quote 0
          • F
            fry_p Moderator @x23piracy
            last edited by May 28, 2016, 2:38 PM

            @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

            X 1 Reply Last reply May 28, 2016, 3:13 PM Reply Quote 0
            • X
              x23piracy @fry_p
              last edited by x23piracy May 28, 2016, 9:16 AM May 28, 2016, 3:13 PM

              @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

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

              X 1 Reply Last reply May 28, 2016, 4:03 PM Reply Quote 0
              • X
                x23piracy @x23piracy
                last edited by May 28, 2016, 4:03 PM

                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
                • X
                  x23piracy
                  last edited by May 29, 2016, 2:56 PM

                  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
                  • X
                    x23piracy
                    last edited by May 29, 2016, 6:35 PM

                    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
                    1 / 1
                    • First post
                      4/9
                      Last post

                    178

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project