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

HIGH CPU Fog Services after update r5029 v6759

Scheduled Pinned Locked Moved Solved
FOG Problems
6
73
28.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
    Tom Elliott @Raymond Bell
    last edited by Mar 16, 2016, 7:12 PM

    @Raymond-Bell is server load better?

    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

    R 2 Replies Last reply Mar 16, 2016, 7:40 PM Reply Quote 0
    • R
      Raymond Bell Testers @Tom Elliott
      last edited by Mar 16, 2016, 7:40 PM

      @Tom-Elliott said:

      @Raymond-Bell is server load better?

      Yes on server but did the same thing on nodes and they all run HIGH CPU

      Raymond Bell
      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

      1 Reply Last reply Reply Quote 0
      • B
        baggar11 @Tom Elliott
        last edited by Mar 16, 2016, 8:05 PM

        @Tom-Elliott

        Ubuntu 14.04 here

        R 1 Reply Last reply Mar 16, 2016, 8:27 PM Reply Quote 0
        • R
          Raymond Bell Testers @baggar11
          last edited by Mar 16, 2016, 8:27 PM

          @baggar11 said:

          @Tom-Elliott

          Ubuntu 14.04 here

          Same for me Tom

          Raymond Bell
          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Wayne Workman Mar 16, 2016, 4:14 PM Mar 16, 2016, 10:12 PM

            I just updated my home FOG setup (which includes many nodes) to r6769 and I cannot replicate the issue. I’m using Fedora 23

            And my replication setting is set to 60 seconds, and I’ve got the slowest setup in town (running 4 OSs on a single Core 2 duo, and P4s with 100 meg switches).

            It’s either a Ubuntu thing or a New Client related thing. And I’m leaning towards it being a Ubuntu thing.

            It’s also possible that there is some certain scenario that happened to cause replication to go awol, but we won’t know until we can see a setup that is affected and figure out what’s going on.

            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
            • W
              Wayne Workman
              last edited by Mar 16, 2016, 10:24 PM

              I was just able to test my 1 fog client system at home. it doesn’t make any difference.

              I think this is a Ubuntu issue.

              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/

              T 1 Reply Last reply Mar 16, 2016, 10:29 PM Reply Quote 0
              • T
                Tom Elliott @Wayne Workman
                last edited by Mar 16, 2016, 10:29 PM

                @Wayne-Workman And all, I made a rather significant change (though outside it shouldn’t matter), to hopefully make an attempt at figuring this out.

                Basically please try out the latest. First thing I noticed was a very similar result on my storage nodes, (one that is Ubuntu 15, and the other that is Fedora 23) and I found that my particular issue was due to the service sleep time being parsed as a string rather than an integer. This would cause the FOG Services to keep cycling (after initial reboot) probably due to improper connection finding. I’m hoping this is fixed but also a much more performance enhanced FOG server capability.

                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

                B 1 Reply Last reply Mar 16, 2016, 10:30 PM Reply Quote 0
                • B
                  baggar11 @Tom Elliott
                  last edited by Mar 16, 2016, 10:30 PM

                  @Tom-Elliott Thanks Tom. Have these changes been pushed to Git too? That’s what I’m using…

                  T 1 Reply Last reply Mar 16, 2016, 10:31 PM Reply Quote 0
                  • T
                    Tom Elliott @baggar11
                    last edited by Mar 16, 2016, 10:31 PM

                    @baggar11 Whenever I push, I automatically push to both svn and git. I’m not expecting any miracles though, but would be nice to know if I’m at least kind of on the right track.

                    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 0
                    • B
                      baggar11
                      last edited by Mar 16, 2016, 10:43 PM

                      I’m still seeing the issue on the newly pushed 6775. ImageReplicator, MulticastManager and SnapinReplicator seem to be taking all of the cpu load at around 31.6%

                      ps aux | grep FOG
                      root       814 31.6  2.3 196196 23976 ?        R    15:39   0:44 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FO ImageReplicator
                      root       846 31.6  2.3 196244 24116 ?        R    15:39   0:44 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                      root       869 31.5  2.3 196196 24068 ?        R    15:39   0:44 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
                      root       916  0.0  1.8 274228 19244 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FO ImageReplicator
                      root       918  0.0  1.9 274404 19344 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                      root       939  0.0  1.8 274096 19172 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
                      root      1001  0.1  2.3 196200 24092 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                      root      1031  0.1  2.3 196200 24136 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
                      root      1127  0.0  1.9 274696 19620 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                      root      1150  0.0  1.9 274436 19652 ?        S    15:39   0:00 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts
                      
                      W T 2 Replies Last reply Mar 16, 2016, 10:45 PM Reply Quote 0
                      • W
                        Wayne Workman @baggar11
                        last edited by Mar 16, 2016, 10:45 PM

                        @baggar11 see how the G is missing?

                        /opt/fog/service/FOGImageReplicator/FO ImageReplicator
                        

                        Wonder if that is significant…

                        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/

                        B 1 Reply Last reply Mar 16, 2016, 10:46 PM Reply Quote 0
                        • B
                          baggar11 @Wayne Workman
                          last edited by Mar 16, 2016, 10:46 PM

                          @Wayne-Workman My screen wrapped in my terminal. The “G” is in fact there when I full screen and grep the ps output again.

                          W 1 Reply Last reply Mar 16, 2016, 10:48 PM Reply Quote 0
                          • W
                            Wayne Workman @baggar11
                            last edited by Mar 16, 2016, 10:48 PM

                            @baggar11 Can you give us the last 500 or so Image Replicator logs? FOG Configuration -> LOG Viewer -> Image Replicator.

                            Also, you might just look through all the logs in there for anything out of place.

                            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/

                            B 1 Reply Last reply Mar 16, 2016, 11:13 PM Reply Quote 0
                            • T
                              Tom Elliott @baggar11
                              last edited by Mar 16, 2016, 10:52 PM

                              @baggar11 does ubuntu 14.04 use systemctl?

                              Is there anything spewing into your /etc/apache2/error.log

                              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

                              W B 2 Replies Last reply Mar 16, 2016, 10:53 PM Reply Quote 0
                              • W
                                Wayne Workman @Tom Elliott
                                last edited by Mar 16, 2016, 10:53 PM

                                @Tom-Elliott said:

                                @baggar11 does ubuntu 14.04 use systemctl?

                                No, it does not.

                                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
                                • B
                                  baggar11 @Wayne Workman
                                  last edited by baggar11 Mar 16, 2016, 5:17 PM Mar 16, 2016, 11:13 PM

                                  @Wayne-Workman Here you go. 500 lines of logs.

                                  EDIT: Forgot to select Image Replicator. Here it is.

                                  https://www.refheap.com/116045

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    baggar11 @Tom Elliott
                                    last edited by Mar 16, 2016, 11:15 PM

                                    @Tom-Elliott Here’s what I’m seeing after stopping all services, clearing the logs and then rebooting.

                                    cat error.log 
                                    [Wed Mar 16 16:10:53.258602 2016] [mpm_prefork:notice] [pid 946] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
                                    [Wed Mar 16 16:10:53.258795 2016] [core:notice] [pid 946] AH00094: Command line: '/usr/sbin/apache2'
                                    [Wed Mar 16 16:11:35.735081 2016] [:error] [pid 950] [client 192.168.10.15:53300] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/pages/dashboardpage.class.php on line 71, referer: http://192.168.10.14/fog/management/index.php
                                    
                                    T 1 Reply Last reply Mar 16, 2016, 11:22 PM Reply Quote 0
                                    • T
                                      Tom Elliott @baggar11
                                      last edited by Mar 16, 2016, 11:22 PM

                                      @baggar11 What services are using the bulk of the 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

                                      B 1 Reply Last reply Mar 16, 2016, 11:26 PM Reply Quote 0
                                      • B
                                        baggar11 @Tom Elliott
                                        last edited by Mar 16, 2016, 11:26 PM

                                        @Tom-Elliott For a full view of processes, I gave an output of ps aux | grep FOG down below. These are the top 3 though.

                                        FOGImageReplicator
                                        FOGMulticastManager
                                        FOGSnapinReplicator

                                        T 1 Reply Last reply Mar 16, 2016, 11:27 PM Reply Quote 0
                                        • T
                                          Tom Elliott @baggar11
                                          last edited by Mar 16, 2016, 11:27 PM

                                          @baggar11 And they’re constantly cycling 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

                                          B 1 Reply Last reply Mar 16, 2016, 11:28 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          2 / 4
                                          • First post
                                            25/73
                                            Last post

                                          199

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project