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

    Very high CPU usage httpd, mysqld, FOGMulticastManager FOG trunk@5224

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    29
    9.7k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Just pushed a fix to hopefully make things functional again (meaning cancelling/deleting/viewing) everything

      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

      K 2 Replies Last reply Reply Quote 0
      • K
        Kiweegie @Tom Elliott
        last edited by

        @Tom-Elliott Hey Tom, many thanks. Both servers now have access to the reports, fog settings etc pages. CPU usage still high but the servers are usable enough albeit slow. I’ll keep an eye on Jbobs progress with the new client.

        thanks again, Kiweegie.

        1 Reply Last reply Reply Quote 0
        • K
          Kiweegie @Tom Elliott
          last edited by

          @Tom-Elliott Hey Tom

          another anomaly turned up since most recent changes. My Helpdesk team complained that all desktops with FOG client installed were boot looping. Work around was to remove all clients from the host management section in FOG. This permitted desktops to boot and not restart - suspect this is down to the old FOG client.

          Only today getting time investigate this and noticed that when adding in a brand new host it seems to accept ok but nothing shows in the GUI when clicking List all hosts. If I export the list it shows one host only (I’ve added 2) but if I try and re-add the 2nd host i get error Hostname already exists.

          Something funky going on with the database?

          cheers Kiweegie

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Kiweegie
            last edited by

            @Kiweegie go into mysql via CLI and look at the actual data, and let us see what you see.

            mysql
            use fog
            select * from hosts;

            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/

            K 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Kiweegie
              last edited by

              @Kiweegie Lots of improvements in the last week to the new client, can you update and see if this affects the CPU load at all?

              I suspect there will be a quite dramatic decrease after moving to client 010.5

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

                @Wayne-Workman Hi Wayne

                apologies for not getting back to you til now, other projects keep piling up… I’ve checked the DB as you suggested via the cli and although only 3 hosts are listed in the GUI the cli shows 270 hosts…

                |    270 | FOG01-current   |                                              |        |         3 |            0 | 2016-05-21 11:28:20 | 2016-05-21 11:44:32 | foguser        | 0         |                    |                                                    |                   |                                                                                                    |                  |                                                                                                    |                  |                |            |            |             |            |              | 0000-00-00 00:00:00 | 6            |              |             | 1           |
                

                Above is last snippet.

                I guess I can just drop the DB and start over?

                cheers Kiweegie.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Kiweegie There have been a lot of improvements in the last two weeks! Mainly in the FOG client. Please upgrade to the latest version (first try the client, then FOG server) and see if things have changed for you as well.

                  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

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Kiweegie @Sebastian Roth
                    last edited by

                    @Sebastian-Roth Just upgraded trunk (5554) using git now and getting this error on install

                    ./bin/installfog.sh: line 452: installPackages: command not found
                    
                     * Confirming package installation
                    
                    ./bin/installfog.sh: line 456: confirmPackageInstallation: command not found
                    
                     * Configuring services
                    
                    
                     * What is the storage location for your images directory? (/images)
                    
                    
                    
                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @Kiweegie
                      last edited by

                      @Kiweegie You have to run installfog.sh while inside the bin directory otherwise it will fail in more way than one (just checked this on my installation to be sure)

                      K 1 Reply Last reply Reply Quote 2
                      • K
                        Kiweegie @Quazz
                        last edited by

                        @Quazz Thanks Quazz but I am inside the bin directory as my screenshot shows I believe. It would fail well before there if not.

                        Q 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @Kiweegie
                          last edited by

                          @Kiweegie No, you ran this command

                          ./bin/installfog.sh
                          

                          which indicates you are not in the bin directory.

                          K 1 Reply Last reply Reply Quote 1
                          • K
                            Kiweegie @Quazz
                            last edited by

                            @Quazz You’re quite right, apologies Quazz I stand corrected. I was in /opt/git/trunk and presumed running ./bin/installfog.sh would suffice. Must not be enough caffeine in the system this morning…

                            Q 1 Reply Last reply Reply Quote 0
                            • Q
                              Quazz Moderator @Kiweegie
                              last edited by

                              @Kiweegie Any update on this? Is it better now?

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                Kiweegie @Quazz
                                last edited by

                                @Quazz Hi Quazz yes main problem of high cpu usage appears to be much better - main server with most number of hosts is sitting at 5-30% CPU load roughly with no active tasks running. I’m testing now with images running to double check under load.

                                cheers Kiweegie.

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

                                215

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project