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

    High CPU Centos7 1.5.4

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    1.0k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Troye-Johnson Do you have one single FOG server or storage nodes as well? How many hosts (with fog-client installed) do you have?

      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
        Troye Johnson
        last edited by Troye Johnson

        I have two storage nodes and just under 155 clients. @Sebastian-Roth

        Fog Server information

        Cent OS 7
        Running Version 1.5.2

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by

          Hi,

          Which version of PHP do you have installed?
          Is a virtual server?

          T 1 Reply Last reply Reply Quote 0
          • T
            Troye Johnson @Fernando Gietz
            last edited by

            @Fernando-Gietz

            PHP 5.6.38 (cli) (built: Oct 24 2018 12:50:38)
            Copyright © 1997-2016 The PHP Group
            Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies

            And yes it is a VMware server.

            Fog Server information

            Cent OS 7
            Running Version 1.5.2

            1 Reply Last reply Reply Quote 0
            • F
              Fernando Gietz Developer
              last edited by

              Well 🙂

              First thing: update your php version to php7 and mariaDB to last version.

              After do this, Did the your performance increase?

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

                @Troye-Johnson Repliaction code (master to storage) has been improved from 1.5.4 to 1.5.5 a lot. As well there were seom PHP-FPM config improvements that should definitely help. But make sure you carefully read the IMPORTANT NOTICE in the release notes on upgrading from 1.5.4 to 1.5.5!

                Fernando is right that PHP 7.x is way faster than 5.6.x. But upgrading PHP manually could break if you run the FOG installer later on again. Not sure if I’d advice you to go that route. Depends on how experienced you are doing such things in Linux. Might need manual fixing as well.

                But this is all guessing as we don’t really know what is causing the load on your particular system. Possibly run top, take a picture and post here so we get an impression on what’s going on.

                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

                T Wayne WorkmanW 2 Replies Last reply Reply Quote 1
                • T
                  Troye Johnson @Fernando Gietz
                  last edited by

                  @Fernando-Gietz said in High CPU Centos7 1.5.4:

                  php7

                  I will try and report back.

                  Fog Server information

                  Cent OS 7
                  Running Version 1.5.2

                  1 Reply Last reply Reply Quote 0
                  • T
                    Troye Johnson @Sebastian Roth
                    last edited by

                    @Sebastian-Roth @Fernando-Gietz

                    Upgrading to 7.0 and upgrading MySQL to the latest version seems to have fixed the high CPU usage took forever to do it yesterday I will try to image a pc today. The GUI is working and things seem fine so I will do a deep dive into things today and tomorrow and see where it lands me. If everything works would you suggest upgrading to 1.5.5?

                    Fog Server information

                    Cent OS 7
                    Running Version 1.5.2

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

                      @Troye-Johnson I’d wait for 1.5.6 as we have improved things like client communication in the dev-branch a fair bit. Not sure when we get to the next release though.

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

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        209

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project