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



  • 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



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

    mysql not accessible outside 127.0.0.1 (localhost)!

    Regards X23





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



  • @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


  • Testers

    @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
    


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


  • Senior Developer

    @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.



  • 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


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.