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

SVN 4972 to SVN 5046 server load

Scheduled Pinned Locked Moved Solved
FOG Problems
5
28
10.8k
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 @Joseph Hales
    last edited by Oct 23, 2015, 7:37 PM

    @Joseph-Hales I have not added back any invalid entry checks.

    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
    • S
      Sebastian Roth Moderator
      last edited by Oct 23, 2015, 7:51 PM

      @Joseph-Hales Thank you so much for the lsof output text file. I feel like this is kind of proofing that it’s the clients causing this massive storm of apache childs and probably mysql load as well. This is why Tom and I are a bit helpless debugging this issue as we don’t have such a big test environment. I just grepped through the output and found roughly 120 established connections to distinct hosts/clients. And another 50 or so in FIN_WAIT state.

      I think Tom is pretty convinced that it is something he’s done in the code. Maybe it is but I still wonder why clients keep open connections and even don’t close them properly. Maybe this was introduced with the new client? Sorry if I am heading the wrong way here. It’s just me guessing…

      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
      • J
        Joseph Hales Testers
        last edited by Oct 23, 2015, 8:00 PM

        I am only running the legacy client on my hosts.

        RTFM

        1 Reply Last reply Reply Quote 0
        • J
          Joseph Hales Testers
          last edited by Oct 23, 2015, 8:02 PM

          After updating SVN to 5054 and restarting the server completly it still seems high to me.

          System Overview
          Username	jhales
          Web Server	10.200.10.150
          TFTP Server	10.200.10.150
          Load Average	29.00, 31.61, 20.87
          System Uptime	13 min, 0 users```

          RTFM

          1 Reply Last reply Reply Quote 0
          • J
            Joseph Hales Testers
            last edited by Oct 23, 2015, 8:03 PM

            FYI I can load the pages but they are extremely slow and sometimes fail to load at all.

            RTFM

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Oct 23, 2015, 8:09 PM

              @Joseph-Hales said:

              I am only running the legacy client on my hosts.

              Thanks for clarifying!! So this idea was really a dead end. That’s good news as I think we can rule out the possibility of it being an issue introduced by the client. Must be the PHP code then I reckon.

              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
              • W
                Wayne Workman
                last edited by Wayne Workman Oct 23, 2015, 3:12 PM Oct 23, 2015, 9:11 PM

                How about making the checkin time even greater?

                I mean, there is no reason for 10,000 hosts in the middle of the school year to be checking for tasks every 2 minutes… that’s kind of absurd.

                Why not set it to 2 hours?

                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
                • J
                  Joseph Hales Testers
                  last edited by Oct 23, 2015, 9:16 PM

                  Do they still checkin on boot? The reason I ask is that I would like a newly imaged machine to pull snapins as soon as possible.

                  RTFM

                  W 1 Reply Last reply Oct 23, 2015, 9:19 PM Reply Quote 0
                  • J
                    Joseph Hales Testers
                    last edited by Oct 23, 2015, 9:18 PM

                    SVN 5058 fixes the main issue or at least makes it manageable.

                    Username	jhales
                    Web Server	10.200.10.150
                    TFTP Server	10.200.10.150
                    Load Average	6.79, 13.52, 13.55
                    System Uptime	1:28, 1 user
                    

                    RTFM

                    1 Reply Last reply Reply Quote 1
                    • W
                      Wayne Workman @Joseph Hales
                      last edited by Oct 23, 2015, 9:19 PM

                      @Joseph-Hales Not sure…

                      but is it worth 10,000 hosts hitting one server every few minutes just so the occasional imaged computer gets snapins fast? To me it’s not worth it.

                      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
                      • J
                        Joseph Hales Testers
                        last edited by Oct 23, 2015, 9:20 PM

                        we image 20 to 50 pc’s a day on average.

                        RTFM

                        W 1 Reply Last reply Oct 23, 2015, 9:24 PM Reply Quote 0
                        • W
                          Wayne Workman @Joseph Hales
                          last edited by Oct 23, 2015, 9:24 PM

                          @Joseph-Hales said:

                          we image 20 to 50 pc’s a day on average.

                          Well that’s a lot…

                          You would benefit a lot from having multiple “Full installations” of FOG, configuring them all to point to the main server for MySQL (for one master DB), and then just setup each one as a storage node. Then, you could slowly migrate all the clients to point to their local server. Long as you have a copy of your SSL key on all the servers (from the main server), you should be good to go.

                          Dispersing this massive load is ultimately going to be the best way to solve the performance issues.

                          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
                          • J
                            Joseph Hales Testers
                            last edited by Oct 23, 2015, 9:26 PM

                            Possibly but we are about to update the server hardware and add a storage node but up till now most of the performance issues appear to be database related not client checkin but I will test it next week.

                            RTFM

                            W 1 Reply Last reply Oct 23, 2015, 9:32 PM Reply Quote 0
                            • W
                              Wayne Workman @Joseph Hales
                              last edited by Wayne Workman Oct 23, 2015, 3:33 PM Oct 23, 2015, 9:32 PM

                              @Joseph-Hales said:

                              Possibly but we are about to update the server hardware and add a storage node but up till now most of the performance issues appear to be database related not client checkin but I will test it next week.

                              It’s not hard to do, and is quite simple to do, but it’s not straight forward.

                              Install each additional server as a full installation. Notate your ftp user and pass in /opt/fog/.fogsettings for each server.

                              Point all servers to the main DB via their /opt/fog/.fogsettings file. the mysqlhost, mysqluser, and mysqlpass should be what the main needs.

                              Enable remote access on the main server’s mysql.

                              Copy /opt/fog/snapins/ssl from the main to all the other servers, delete what the other servers have and put the new files in place with the right permissions for fog:apache

                              then,

                              You now should have the convenience to access the fog web interface from any of the servers, and just set up each server as a storage node. Make the main server the master node.

                              There are a great number of ways to organize storage nodes/storage groups but since you have one massive server now that does everything, it’d operate the same if you made that one server a master node, then make all the storage nodes in the same group as the master node.

                              With this setup, you could then point each site’s DHCP Scopes to give out the local fog server for options 066 and 067 also 😉

                              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
                              • J
                                Joseph Hales Testers
                                last edited by Oct 23, 2015, 9:38 PM

                                Current checkin time was set to 600 I now moved it to 60000 and restarted the server this is the result. Also what is the increment for the checkin value is it seconds or minutes. Can we update the tooltips to indicate the values for the config fields in fog?

                                Username	jhales
                                Web Server	10.200.10.150
                                TFTP Server	10.200.10.150
                                Load Average	34.96, 26.32, 11.34
                                System Uptime	5 min, 0 users```
                                
                                No change or even worse preformance?

                                RTFM

                                W T 2 Replies Last reply Oct 23, 2015, 11:49 PM Reply Quote 1
                                • W
                                  Wayne Workman @Joseph Hales
                                  last edited by Oct 23, 2015, 11:49 PM

                                  @Joseph-Hales How is it possible for the load averages to go up when you increase the checkin time span ???

                                  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
                                  • T
                                    Tom Elliott @Joseph Hales
                                    last edited by Tom Elliott Oct 23, 2015, 6:00 PM Oct 23, 2015, 11:59 PM

                                    @Joseph-Hales 600 is 10 minutes, so 60000 is 1000 minutes?

                                    Where did you change this? You are running legacy client, so you would have to update all of the clients to receive these new configs?

                                    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 1 Reply Last reply Oct 24, 2015, 12:08 AM Reply Quote 0
                                    • W
                                      Wayne Workman @Tom Elliott
                                      last edited by Wayne Workman Oct 23, 2015, 6:34 PM Oct 24, 2015, 12:08 AM

                                      @Tom-Elliott said:

                                      You are running legacy client, so you would have to update all of the clients to receive these new configs?

                                      set the interval for checkin
                                      reinstall the legacy client on a computer.
                                      copy C:\Program Files (x86)\FOG\etc\config.ini
                                      push that file out as an update…

                                      There is an option here:
                                      Service Configuration -> Client Updater

                                      This area will allow you to push out the new config.

                                      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
                                      • 1
                                      • 2
                                      • 1 / 2
                                      1 / 2
                                      • First post
                                        20/28
                                        Last post

                                      202

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project