Web interface/full inventory/etc. extremely slow
-
@tom-elliott 11.9
-
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.
-
@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?
-
@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.
-
@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
-
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?
-
@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’smod_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)
-
@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.
-
@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.
-
@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.
- Is it virtual or physical.
- How many (v)CPUs does it have?
- Tell us about your disk subsystem, is it raid or a single disk?
- What about your network adapter(s), how many do you have?
-
@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.
-
@scott-adams Are you still seeing load averages above 2?
Also are you sure you are running ubuntu 10.04??
-
@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
-
@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.
-
@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.