• 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

      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
      • PsycholiquidP
        Psycholiquid Testers
        last edited by

        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

          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

            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
            • Tom ElliottT
              Tom Elliott
              last edited by

              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
              • george1421G
                george1421 Moderator
                last edited by

                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

                  About 120 Clients in total, maybe 70 max concurrent usually

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @Taspharel
                    last edited by

                    @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
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      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
                      • george1421G
                        george1421 Moderator @Fernando Gietz
                        last edited by george1421

                        @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

                          @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

                            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

                            155

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project