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

    High DB utilization

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    8
    672
    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.
    • L
      LJH
      last edited by

      Everything had been running fine on our Fog server then last week the techs started complaining about slow performance and it was unusable. I connected to the server and mysql was bogging things down. I have tried upgrading to the latest with git. Same problem with the server. If I turn off the NIC port on the switch the utilization drops off to near normal. What should I look at?

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

        @ljh How many computers with fog client installed are on this campus?

        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!

        L 1 Reply Last reply Reply Quote 0
        • L
          LJH @george1421
          last edited by

          @george1421
          When I go the hosts section under FOG and click list all hosts it never loads anything. The database is old but I think there are maybe 4500 computers active in there.

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

            @ljh What I’m asking is that actively how many computers with FOG Client is installed, is currently hitting this fog server. Is 4,000 the right number? If yes then when you look at the top command and sort by Processor do you see mysql at the top and many php-fpm processes under it?

            If you set the fog client check in from 5 minutes (300 seconds) to 15 minutes (900) seconds does that fix some of the performance issues with the FOG web ui?

            If yes then we may need to make an adjustment to the FOG server db.

            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!

            L 1 Reply Last reply Reply Quote 1
            • L
              LJH @george1421
              last edited by

              @george1421 When I run top and hit P mysql is the top process. I did backup the fog DB and then I dropped it. I did the install again and then imported the DB back in. The utilization dropped to almost nothing. Right now everyone is off for the 4th of July week. On Monday I will see if this the fix. We have around 4000 clients but this is summer time and of those 4000 only about 400 are active on the network during summer.

              george1421G L 2 Replies Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @LJH
                last edited by

                @ljh OK if this still a problem we might want to check to see if the fog database tables are in myisam or innodb format. Switching them over to innodb should fix the responsiveness of the database: https://forums.fogproject.org/topic/16099/configure-fog-database-to-use-innodb-engine

                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 0
                • L
                  LJH @LJH
                  last edited by

                  @ljh Everything worked fine yesterday. The techs even told me that it hasn’t run that fast in a while. So it looks like that fixed my issue.

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

                    @ljh said in High DB utilization:

                    So it looks like that fixed my issue

                    FWIW: Which “that” is the fix? Switching over to innodb engine or the reboot?

                    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 0
                    • 1 / 1
                    • First post
                      Last post

                    219

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project