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

Support regarding CPU usage of FOG server

Scheduled Pinned Locked Moved Solved
Linux Problems
8
12
2.5k
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.
  • T
    Taspharel
    last edited by Sep 29, 2017, 9:12 AM

    Hi.

    Maybe somebody can help me out:

    Our external IT partner manages our virtual servers and has complained about the FOG server using too much CPU.

    I run the FOG server on a CentOS7 machine.

    Can somebody give me some hints on how to lower the CPU usage? Is there services that I can deactivate or for which I can set longer intervalls between tasks / checks / whatever the right word may be in this case?

    Is there settings in the FOG Configuration that I can change that will lower CPU usage and what effects would it have on the FOG services?

    Any help or hints are appreciated 🙂

    1 Reply Last reply Reply Quote 0
    • P
      Psycholiquid Testers
      last edited by Sep 29, 2017, 10:14 AM

      Your imaging using the hardware to send and receive alot of data. I cant see it"lowering" per say. I am sure at rest it is fine but during client requests and imaging processes it is high. What kinda of hosting are you using that they are watching your CPUs that closely. If it is in house and they are just monitoring it for you tell them to hush.

      1 Reply Last reply Reply Quote 1
      • T
        tian
        last edited by Sep 29, 2017, 11:02 AM

        How are the load average on the machine? Without accessing the fog web interface I can see the following load average: 0,15, 0,14, 0,10 at the moment. When more computers are turned on / logged in the load is higher but still below 1 when I remember correctly.

        While cloning (unicast) on the other side the average loads are very high at around 9 but everything still works fine.

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator
          last edited by Sep 29, 2017, 11:27 AM

          What do the load averages look like?

          It’s possible that with a lot of clients, CPU usage goes up a bit. I believe some people were trying to get PHP-FPM working which should help with CPU usage in those cases afaik.

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Sep 29, 2017, 11:35 AM

            More often than not, (unless you’re still using the legacy version of the fog client), the CPU usage starts to become high because of replication. This slows the CPU because it’s got to process the data, and read it from disk to send it where ever it needs to be distributed.

            You could try:

            service FOGImageReplicator stop
            service FOGSnapinReplicator stop
            

            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

            1 Reply Last reply Reply Quote 2
            • G
              george1421 Moderator
              last edited by Sep 29, 2017, 11:53 AM

              How many clients do you have in your FOG domain (i.e. devices that connect to your fog server)?

              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!

              1 Reply Last reply Reply Quote 2
              • T
                Taspharel
                last edited by Sep 30, 2017, 7:16 AM

                About 120 Clients in total, maybe 70 max concurrent usually

                G 1 Reply Last reply Sep 30, 2017, 12:54 PM Reply Quote 0
                • G
                  george1421 Moderator @Taspharel
                  last edited by Sep 30, 2017, 12:54 PM

                  @taspharel I guess you need to go back to your service provider and see if you can get a trending over time. What are they considering high cpu load?

                  The numbers you posted below are pretty low cpu usage. I understand that was only for a max 15 minute time from when you collected the data. You need to see if you can correlate the high cpu usage time the are saying to a specific action. For 200 nodes, it shouldn’t cause high CPU usage even during imaging.

                  There are two bits of information we probably should have for completeness.

                  1. How many vCPUs are allocated to the fog server VM
                  2. What version of FOG are you running. There WAS issues in the 1.3.x range of heavy CPU loading that was addressed in subsequent version of FOG.

                  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!

                  1 Reply Last reply Reply Quote 2
                  • W
                    Wayne Workman
                    last edited by Oct 1, 2017, 4:35 PM

                    And remember, it’s your VM you’re paying for, not theirs.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • G
                      george1421 Moderator @Fernando Gietz
                      last edited by george1421 Oct 2, 2017, 9:44 AM Oct 2, 2017, 3:42 PM

                      @fernando-gietz [Moderator’s note] Yes I want you to have your own thread on this. Your conditions may be different than the OPs. I’m going to fork this thread into a new one. To avoid polluting this thread with off-point discussions

                      Thread forked to here: https://forums.fogproject.org/topic/10890/fog-server-cpu-usage-100

                      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!

                      1 Reply Last reply Reply Quote 2
                      • S
                        Sebastian Roth Moderator
                        last edited by Oct 18, 2017, 7:55 PM

                        @Taspharel Is this still an issue?

                        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

                        1 Reply Last reply Reply Quote 0
                        • T
                          Taspharel
                          last edited by Oct 19, 2017, 12:14 PM

                          Thanks for staying on top of this, they never asked back, I guess they just accepted that thats something we needed. 🙂

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

                          146

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project