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

Web interface/full inventory/etc. extremely slow

Scheduled Pinned Locked Moved
FOG Problems
4
18
1.6k
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
    Scott Adams
    last edited by Feb 21, 2018, 9:10 PM

    Running Version 1.3.4
    SVN Revision: 6064
    OS: Ubuntu 10.04.3

    So, I know, I’m on an old version of FOG, but we had it to a good point and didn’t want to change anything.

    With that being said, I have been out of the loop on FOG for the longest time, but it has just been given back to me due to the slowness issues that we are experiencing, and it is now my job to get it running again.

    I should also add that this is, and always has been, a VM, built on Hyper-V.

    From what I can tell, we are not maxing out the resources, as made evidence by the following:
    0_1519247344008_Capture.PNG

    I have restarted the server countless times, restarted the mysql service as well, but still slow to log in, go page to page, etc. I even upped the MAX MEMORY in FOG SETTINGS from 128 to 512 to see if that would help, which it didn’t.

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • S
      Scott Adams
      last edited by Feb 21, 2018, 9:11 PM

      Sorry, just noticed OS version typo. Should be OS: 16.04.3

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Feb 21, 2018, 9:16 PM

        If I had to guess, it’s related to FOG Client checking into the fog server. I could be wrong but I believe this was more or less addressed in the 1.3.5 series. However, we’re all the way up to 1.4.4 now, I’d recommend upgrading first to see if that helps out.

        What version of FOG Client are you running on your host machines?

        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

        S 1 Reply Last reply Feb 21, 2018, 9:22 PM Reply Quote 0
        • S
          Scott Adams @Tom Elliott
          last edited by Feb 21, 2018, 9:22 PM

          @tom-elliott 11.9

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Feb 22, 2018, 6:50 AM

            Another thing you could try is resetting encryption data for all hosts. This isn’t a common thing that happens but every now and again we have people with similar issues and resetting the encryption data for all hosts seems to help.

            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

            S 1 Reply Last reply Feb 22, 2018, 4:59 PM Reply Quote 0
            • S
              Scott Adams @Tom Elliott
              last edited by Feb 22, 2018, 4:59 PM

              @tom-elliott Ok. I have reset encryption on all devices by placing them in a group and resetting encryption on the group. That did not resolve the issue.

              I have also updated FOG to the latest stable (1.4.4). That also has not resolved the issue.

              Any other thoughts? Particular log files you may want me to pull?

              T 1 Reply Last reply Feb 22, 2018, 5:07 PM Reply Quote 0
              • T
                Tom Elliott @Scott Adams
                last edited by Feb 22, 2018, 5:07 PM

                @scott-adams the initial reset encryption will not fix the load, as all machines then start rechecking in. How many hosts do you have?

                The fog.log of a couple of hosts may help.

                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

                S 1 Reply Last reply Feb 23, 2018, 1:51 PM Reply Quote 0
                • S
                  Scott Adams @Tom Elliott
                  last edited by Joe Schmitt Feb 26, 2018, 9:47 AM Feb 23, 2018, 1:51 PM

                  @tom-elliott We have, registered, ~560 machines. As of this morning, the slowness logging in and navigating through the web interface is still present. Following is a fog.log from one of my registered machines.

                  ------------------------------------------------------------------------------
                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response Success
                   2/23/2018 8:29 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response No Printers
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response Success
                   2/23/2018 8:29 AM PowerManagement Calculating tasks to unschedule
                   2/23/2018 8:29 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:29 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:29 AM Client-Info Client OS:      Windows
                   2/23/2018 8:29 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:29 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   2/23/2018 8:29 AM Service Sleeping for 80 seconds
                   2/23/2018 8:30 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   2/23/2018 8:30 AM Middleware::Communication ERROR: Could not contact FOG server
                   2/23/2018 8:30 AM Middleware::Communication ERROR: Unable to connect to the remote server
                   2/23/2018 8:30 AM Middleware::Response Success
                   2/23/2018 8:30 AM Service ERROR: Invalid promptTime, using default
                   2/23/2018 8:30 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:9C:D3:00||00:00:00:00:00:00:00:E0&newService&json
                   2/23/2018 8:31 AM Middleware::Response Success
                   2/23/2018 8:31 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?clientver&newService&json
                   2/23/2018 8:31 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?newService&json
                  
                   2/23/2018 8:32 AM Service Creating user agent cache
                   2/23/2018 8:32 AM Middleware::Response Invalid time
                   2/23/2018 8:32 AM Middleware::Response No Printers
                   2/23/2018 8:32 AM Middleware::Response Module is disabled globally on the FOG server
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response Success
                   2/23/2018 8:32 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response No Printers
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response Success
                   2/23/2018 8:32 AM PowerManagement Calculating tasks to unschedule
                   2/23/2018 8:32 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:32 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:32 AM Client-Info Client OS:      Windows
                   2/23/2018 8:32 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:32 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   2/23/2018 8:32 AM Service Sleeping for 60 seconds
                   2/23/2018 8:33 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   2/23/2018 8:33 AM Middleware::Response Success
                   2/23/2018 8:33 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:9C:D3:00||00:00:00:00:00:00:00:E0&newService&json
                   2/23/2018 8:34 AM Middleware::Response Success
                   2/23/2018 8:34 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?clientver&newService&json
                   2/23/2018 8:34 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?newService&json
                  
                   2/23/2018 8:35 AM Service Creating user agent cache
                   2/23/2018 8:35 AM Middleware::Response Invalid time
                   2/23/2018 8:35 AM Middleware::Response No Printers
                   2/23/2018 8:35 AM Middleware::Response Module is disabled globally on the FOG server
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response Success
                   2/23/2018 8:35 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response No Printers
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response Success
                   2/23/2018 8:35 AM PowerManagement Calculating tasks to unschedule
                   2/23/2018 8:35 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:35 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:35 AM Client-Info Client OS:      Windows
                   2/23/2018 8:35 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:35 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   2/23/2018 8:35 AM Service Sleeping for 103 seconds
                   2/23/2018 8:36 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   2/23/2018 8:37 AM Middleware::Communication ERROR: Could not contact FOG server
                   2/23/2018 8:37 AM Middleware::Communication ERROR: Unable to connect to the remote server
                   2/23/2018 8:37 AM Middleware::Response Success
                   2/23/2018 8:37 AM Service ERROR: Invalid promptTime, using default
                   2/23/2018 8:37 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:9C:D3:00||00:00:00:00:00:00:00:E0&newService&json
                   2/23/2018 8:37 AM Middleware::Response Success
                   2/23/2018 8:37 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?clientver&newService&json
                   2/23/2018 8:38 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?newService&json
                  
                   2/23/2018 8:38 AM Service Creating user agent cache
                   2/23/2018 8:38 AM Middleware::Response Invalid time
                   2/23/2018 8:38 AM Middleware::Response No Printers
                   2/23/2018 8:38 AM Middleware::Response Module is disabled globally on the FOG server
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response Success
                   2/23/2018 8:38 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response No Printers
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response Success
                   2/23/2018 8:38 AM PowerManagement Calculating tasks to unschedule
                   2/23/2018 8:38 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:38 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:38 AM Client-Info Client OS:      Windows
                   2/23/2018 8:38 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:38 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   2/23/2018 8:38 AM Service Sleeping for 60 seconds
                   2/23/2018 8:39 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   2/23/2018 8:40 AM Middleware::Response Success
                   2/23/2018 8:40 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:9C:D3:00||00:00:00:00:00:00:00:E0&newService&json
                   2/23/2018 8:40 AM Middleware::Response Success
                   2/23/2018 8:40 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?clientver&newService&json
                   2/23/2018 8:41 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?newService&json
                  
                   2/23/2018 8:41 AM Service Creating user agent cache
                   2/23/2018 8:41 AM Middleware::Response Invalid time
                   2/23/2018 8:41 AM Middleware::Response No Printers
                   2/23/2018 8:41 AM Middleware::Response Module is disabled globally on the FOG server
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response Success
                   2/23/2018 8:41 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response No Printers
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response Success
                   2/23/2018 8:41 AM PowerManagement Calculating tasks to unschedule
                   2/23/2018 8:41 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:41 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:41 AM Client-Info Client OS:      Windows
                   2/23/2018 8:41 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:41 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   2/23/2018 8:41 AM Service Sleeping for 106 seconds
                   2/23/2018 8:43 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   2/23/2018 8:43 AM Middleware::Response Success
                   2/23/2018 8:43 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:9C:D3:00||00:00:00:00:00:00:00:E0&newService&json
                   2/23/2018 8:44 AM Middleware::Response Success
                   2/23/2018 8:44 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?clientver&newService&json
                   2/23/2018 8:45 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?newService&json
                  
                   2/23/2018 8:45 AM Service Creating user agent cache
                   2/23/2018 8:45 AM Middleware::Response Invalid time
                   2/23/2018 8:45 AM Middleware::Response No Printers
                   2/23/2018 8:45 AM Middleware::Response Module is disabled globally on the FOG server
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------ClientUpdater--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response Success
                   2/23/2018 8:45 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response No snapins
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PrinterManager--------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response No Printers
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------PowerManagement-------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response Success
                   2/23/2018 8:45 AM PowerManagement Calculating tasks to unschedule
                   2/23/2018 8:45 AM PowerManagement Calculating tasks to schedule
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  ----------------------------------UserTracker---------------------------------
                  ------------------------------------------------------------------------------
                   2/23/2018 8:45 AM Client-Info Client Version: 0.11.12
                   2/23/2018 8:45 AM Client-Info Client OS:      Windows
                   2/23/2018 8:45 AM Client-Info Server Version: 1.4.4
                   2/23/2018 8:45 AM Middleware::Response Success
                  ------------------------------------------------------------------------------
                  
                   2/23/2018 8:45 AM Service Sleeping for 112 seconds
                   2/23/2018 8:47 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                   2/23/2018 8:48 AM Middleware::Response Success
                   2/23/2018 8:48 AM Middleware::Communication URL: http://10.10.100.245/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:9C:D3:00||00:00:00:00:00:00:00:E0&newService&json
                   2/23/2018 8:48 AM Middleware::Response Success
                   2/23/2018 8:48 AM Middleware::Communication URL: http://10.10.100.245/fog/service/getversion.php?clientver&newService&json
                  

                  Post Edit: Used codeblock to format log

                  1 Reply Last reply Reply Quote 0
                  • S
                    Scott Adams
                    last edited by Feb 26, 2018, 3:12 PM

                    I just tried to image a computer this morning, and am unable to. It took ~ 3 minutes to run through the boot.php, init.xz, and 1 other file after choosing the image to deploy. My computer then when to a black screen with a flashing cursor in the top left of the screen and it is still there.

                    Thoughts?

                    1 Reply Last reply Reply Quote 0
                    • J
                      Joe Schmitt Senior Developer
                      last edited by Joe Schmitt Feb 26, 2018, 9:59 AM Feb 26, 2018, 3:52 PM

                      @Scott-Adams with 560 clients you will definitely want to increase the client checkin time. Right now it seems to be around 1 minute (the default).

                      It’d also be worth while switching to php-fpm instead of Apache’s mod_php, as its better suited for more heavy PHP usage:

                      The main issue with mod_php and Mpm Prefork is that every time Apache forks
                      into a new process (every new request) the entire PHP module and all its sub
                      modules have to be loaded into memory along with all your other data which
                      means you’re wasting a lot of memory on multiple copies of the same thing.

                      To get around the memory usage caused by loading php into every Apache
                      process is to use PHP as an external resource (PHP-FPM instead of mod_php) this
                      then also allows you to run Apache with MPM Worker which mean Apache has
                      a master process (now smaller as it doesn’t include all the bloat that comes with
                      PHP) that spawns a small number of child processes to deal with http requests,
                      CSS, Images, file downloads etc allowing for faster parallel processing.

                      Src and a good guide for scaling PHP and Apache: https://www.wirehive.com/wp-content/uploads/2016/09/Configuring-Apache-and-PHP-for-stability-an-performance.pdf

                      (Tom and I both use php-fpm in our development environments, so we know it’ll work fine)

                      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.

                      george1421G S 2 Replies Last reply Feb 26, 2018, 4:44 PM Reply Quote 1
                      • george1421G
                        george1421 Moderator @Joe Schmitt
                        last edited by Feb 26, 2018, 4:44 PM

                        @joe-schmitt said in Web interface/full inventory/etc. extremely slow:

                        It’d also be worth while switching to php-fpm instead of Apache’s mod_php, as its better suited for more heavy PHP usage

                        I did some testing on this a bit ago and it helped with my install: https://forums.fogproject.org/topic/10717/can-php-fpm-make-fog-web-gui-fast

                        Activating php-fpm and memcache did seem to make FOG a bit more responsive. But also did changing the check in time to 15 minutes.

                        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
                        • S
                          Scott Adams @Joe Schmitt
                          last edited by Feb 27, 2018, 2:49 PM

                          @joe-schmitt I have followed the directions provided by @george1421 via link https://forums.fogproject.org/topic/10717/can-php-fpm-make-fog-web-gui-fast/4, as well as updating to 1.5.0 stable.

                          php-fpm is enabled and I have changed checkin time to 15 minutes. My webui is still slow moving from page to page, as well as imaging still not working.

                          george1421G 1 Reply Last reply Feb 27, 2018, 3:37 PM Reply Quote 0
                          • george1421G
                            george1421 Moderator @Scott Adams
                            last edited by Feb 27, 2018, 3:37 PM

                            @scott-adams FWIW: Upgrading to 1.5.0 may undo the php-fpm settings you made.

                            Also ensure you test the info.php page and confirm the server API function is ‘FPM/FastCGI’. As outlined in step 21.

                            If php-fpm is running you should only see just a few apache service instances and php-fpm instances running not the 100s of apache2 instances like in your OP.

                            It looks like you are a bit over committed on the fog server memory (not a bad thing other than consuming more space than necessary). Tell us a bit more about your fog server.

                            1. Is it virtual or physical.
                            2. How many (v)CPUs does it have?
                            3. Tell us about your disk subsystem, is it raid or a single disk?
                            4. What about your network adapter(s), how many do you have?

                            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!

                            Scott AdamsS 1 Reply Last reply Feb 27, 2018, 3:46 PM Reply Quote 0
                            • Scott AdamsS
                              Scott Adams @george1421
                              last edited by Feb 27, 2018, 3:46 PM

                              @george1421 I did the 1.5.0 update before working on the php-fpm stuff, so I should be good there.

                              After looking in the info.php, I am still seeing the Apache 2.0 handler. I have restarted services and server again just to try to force it, but still no go on getting FPM/FastCGI to show up.

                              All of the following information is the way our server has always been configured. No changes have been made and it has worked just fine in the past. This is a virtual box, running on Hyper-V with 2 CPUs assigned. The disk is a raid configuration disk, and this FOG server utilizes 1 of the NICs.

                              george1421G 1 Reply Last reply Feb 27, 2018, 4:00 PM Reply Quote 0
                              • george1421G
                                george1421 Moderator @Scott Adams
                                last edited by Feb 27, 2018, 4:00 PM

                                @scott-adams Are you still seeing load averages above 2?

                                Also are you sure you are running ubuntu 10.04??

                                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!

                                Scott AdamsS 1 Reply Last reply Feb 27, 2018, 4:13 PM Reply Quote 0
                                • Scott AdamsS
                                  Scott Adams @george1421
                                  last edited by Feb 27, 2018, 4:13 PM

                                  @george1421 I am. Even though they are way lower. Originally, loads were above 50, now load averages are < 10.

                                  I am on Ubuntu 16.04.4

                                  george1421G 1 Reply Last reply Feb 27, 2018, 4:51 PM Reply Quote 0
                                  • george1421G
                                    george1421 Moderator @Scott Adams
                                    last edited by Feb 27, 2018, 4:51 PM

                                    @scott-adams Did you happen to make the adjustment that jburleson posted about “php_value[session.save_path]”

                                    If you have it setup correctly apache should be using php-fpm. I know its been a while since I posted that tutorial, it still should work. Also with only 2 vCPUs its ideal to keep the system load below 2.00 as I understand 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!

                                    Scott AdamsS 1 Reply Last reply Feb 27, 2018, 5:11 PM Reply Quote 0
                                    • Scott AdamsS
                                      Scott Adams @george1421
                                      last edited by Feb 27, 2018, 5:11 PM

                                      @george1421 I just verified, that line is indeed in my fog.conf file. If you look through the code that is posted on that particular thread, the change has already been made in the code that is posted. But, I did open the file on my server just to verify. Like i said, it is correct.

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      1 / 1
                                      • First post
                                        3/18
                                        Last post

                                      159

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project