1.3.4 - high cpu load - client login
-
@ablohowiak And this:
wget -O /var/www/fog/lib/client/registerclient.class.php https://raw.githubusercontent.com/FOGProject/fogproject/a91f29002fe59008796fb60e6729df0bb4cd4332/packages/web/lib/client/registerclient.class.php
-
Looks like we need to reset encryption for all the clients to. Is there a command to reset all? I know I have tried to make a group of all clients before via GUI but it times out every time.
2/20/2017 9:28 AM Client-Info Client Version: 0.11.9 2/20/2017 9:28 AM Client-Info Client OS: Windows 2/20/2017 9:28 AM Client-Info Server Version: 1.3.5-RC-9 2/20/2017 9:28 AM Middleware::Response ERROR: Unable to get subsection 2/20/2017 9:28 AM Middleware::Response ERROR: Object reference not set to an instance of an object.```
-
@UWPVIOLATOR said in 1.3.4 - high cpu load - client login:
Looks like we need to reset encryption for all the clients to. Is there a command to reset all? I know I have tried to make a group of all clients before via GUI but it times out every time.
Yep, right here:
https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Manually_Reset_Encryption_On_ALL_Hosts -
Thanks we will do this after we run the other commands.
-
@UWPVIOLATOR Keep in mind those manual commands for resetting encryption are not the normal method - it’s only intended for people that can’t do it the normal way - like the situation you’re in right now.
-
Still freezing up.
[Mon Feb 20 09:33:09.930221 2017] [php7:error] [pid 1131] [client 10.138.150.236:65409] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:10.036767 2017] [php7:error] [pid 1245] [client 10.78.150.105:59398] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:10.324651 2017] [php7:error] [pid 1215] [client 10.115.150.162:65231] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:10.329411 2017] [php7:error] [pid 1217] [client 10.78.150.208:57831] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:10.966219 2017] [php7:error] [pid 1279] [client 10.120.4.47:61373] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:11.193718 2017] [php7:error] [pid 1250] [client 10.80.150.184:59961] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:12.040113 2017] [php7:error] [pid 1278] [client 10.114.150.92:50214] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:12.135755 2017] [php7:error] [pid 1227] [client 10.89.1.167:50462] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:13.082577 2017] [php7:error] [pid 1250] [client 10.109.151.31:62872] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:20.093370 2017] [php7:error] [pid 1257] [client 10.100.152.250:53384] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:20.094667 2017] [php7:error] [pid 1245] [client 10.104.150.1:50282] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:26.973468 2017] [php7:error] [pid 1203] [client 10.88.152.238:60413] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:27.182379 2017] [php7:error] [pid 1267] [client 10.86.151.15:59497] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:46.139669 2017] [php7:error] [pid 1281] [client 172.30.9.253:50199] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:33:57.239957 2017] [php7:error] [pid 1248] [client 10.77.150.31:55706] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:02.100611 2017] [php7:error] [pid 1113] [client 10.86.151.37:65437] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:03.641355 2017] [php7:error] [pid 1221] [client 10.113.150.97:64783] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:07.588541 2017] [php7:error] [pid 1115] [client 10.120.155.34:49651] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:08.306933 2017] [php7:error] [pid 1238] [client 10.118.2.120:51551] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:08.497277 2017] [php7:error] [pid 1294] [client 10.129.1.18:51806] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:09.456150 2017] [php7:error] [pid 1214] [client 10.100.153.67:50879] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:09.952112 2017] [php7:error] [pid 1253] [client 10.75.154.54:49934] PHP Fatal error: Uncaught ReflectionException: Class RegisterClient does not exist in /var/www/html/fog/lib/fog/fogbase.class.php:388\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(388): ReflectionClass->__construct('RegisterClient')\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(2851): FOGBase::getClass('RegisterClient')\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#3 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#4 [internal function]: ProcessLogin->__construct()\n#5 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#6 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#7 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 388 [Mon Feb 20 09:34:10.056650 2017] [php7:error] [pid 1116] [client 10.120.154.55:59774] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:10.096304 2017] [php7:error] [pid 1279] [client 10.129.150.159:57099] PHP Fatal error: Uncaught ReflectionException: Class RegisterClient does not exist in /var/www/html/fog/lib/fog/fogbase.class.php:388\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(388): ReflectionClass->__construct('RegisterClient')\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(2851): FOGBase::getClass('RegisterClient')\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#3 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#4 [internal function]: ProcessLogin->__construct()\n#5 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#6 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#7 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 388 [Mon Feb 20 09:34:10.104665 2017] [php7:error] [pid 1292] [client 10.112.152.3:62571] PHP Fatal error: Uncaught Exception: #!ih in /var/www/html/fog/lib/client/registerclient.class.php:77\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogpage.class.php(2851): RegisterClient->json()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#2 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#6 {main}\n thrown in /var/www/html/fog/lib/client/registerclient.class.php on line 77 [Mon Feb 20 09:34:10.123754 2017] [php7:error] [pid 1203] [client 10.112.152.26:50712] PHP Fatal error: Uncaught ReflectionException: Class RegisterClient does not exist in /var/www/html/fog/lib/fog/fogbase.class.php:388\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(388): ReflectionClass->__construct('RegisterClient')\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(2851): FOGBase::getClass('RegisterClient')\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#3 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#4 [internal function]: ProcessLogin->__construct()\n#5 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#6 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#7 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 388 [Mon Feb 20 09:34:10.200171 2017] [php7:error] [pid 1210] [client 10.138.150.62:52323] PHP Fatal error: Uncaught ReflectionException: Class RegisterClient does not exist in /var/www/html/fog/lib/fog/fogbase.class.php:388\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(388): ReflectionClass->__construct('RegisterClient')\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(2851): FOGBase::getClass('RegisterClient')\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(264): FOGPage->requestClientInfo()\n#3 /var/www/html/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct('')\n#4 [internal function]: ProcessLogin->__construct()\n#5 /var/www/html/fog/lib/fog/fogbase.class.php(402): ReflectionClass->newInstanceArgs(Array)\n#6 /var/www/html/fog/management/index.php(29): FOGBase::getClass('ProcessLogin')\n#7 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 388 [Mon Feb 20 10:27:16.397961 2017] [core:warn] [pid 1104] AH00045: child process 1113 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.072431 2017] [core:warn] [pid 1104] AH00045: child process 11820 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.072460 2017] [core:warn] [pid 1104] AH00045: child process 1115 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.072675 2017] [core:warn] [pid 1104] AH00045: child process 9241 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.072823 2017] [core:warn] [pid 1104] AH00045: child process 11844 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.072932 2017] [core:warn] [pid 1104] AH00045: child process 12088 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073038 2017] [core:warn] [pid 1104] AH00045: child process 11491 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073046 2017] [core:warn] [pid 1104] AH00045: child process 11880 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073052 2017] [core:warn] [pid 1104] AH00045: child process 11881 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073110 2017] [core:warn] [pid 1104] AH00045: child process 12667 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073191 2017] [core:warn] [pid 1104] AH00045: child process 11883 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073227 2017] [core:warn] [pid 1104] AH00045: child process 12677 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073385 2017] [core:warn] [pid 1104] AH00045: child process 11892 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073467 2017] [core:warn] [pid 1104] AH00045: child process 11896 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073523 2017] [core:warn] [pid 1104] AH00045: child process 12102 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073581 2017] [core:warn] [pid 1104] AH00045: child process 12678 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073648 2017] [core:warn] [pid 1104] AH00045: child process 12113 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073655 2017] [core:warn] [pid 1104] AH00045: child process 10848 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073660 2017] [core:warn] [pid 1104] AH00045: child process 12114 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073759 2017] [core:warn] [pid 1104] AH00045: child process 12116 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073910 2017] [core:warn] [pid 1104] AH00045: child process 11917 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073918 2017] [core:warn] [pid 1104] AH00045: child process 11918 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073923 2017] [core:warn] [pid 1104] AH00045: child process 11517 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073928 2017] [core:warn] [pid 1104] AH00045: child process 12167 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.073963 2017] [core:warn] [pid 1104] AH00045: child process 12174 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.074023 2017] [core:warn] [pid 1104] AH00045: child process 12188 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.074059 2017] [core:warn] [pid 1104] AH00045: child process 11940 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.074088 2017] [core:warn] [pid 1104] AH00045: child process 12192 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.074138 2017] [core:warn] [pid 1104] AH00045: child process 12193 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:23.074143 2017] [core:warn] [pid 1104] AH00045: child process 1298 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.266902 2017] [core:warn] [pid 1104] AH00045: child process 11820 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.266937 2017] [core:warn] [pid 1104] AH00045: child process 1115 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.266979 2017] [core:warn] [pid 1104] AH00045: child process 11844 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.266985 2017] [core:warn] [pid 1104] AH00045: child process 12088 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.266990 2017] [core:warn] [pid 1104] AH00045: child process 11491 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267036 2017] [core:warn] [pid 1104] AH00045: child process 11881 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267047 2017] [core:warn] [pid 1104] AH00045: child process 12667 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267118 2017] [core:warn] [pid 1104] AH00045: child process 12677 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267153 2017] [core:warn] [pid 1104] AH00045: child process 11896 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267159 2017] [core:warn] [pid 1104] AH00045: child process 12102 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267164 2017] [core:warn] [pid 1104] AH00045: child process 12678 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267168 2017] [core:warn] [pid 1104] AH00045: child process 12113 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267172 2017] [core:warn] [pid 1104] AH00045: child process 10848 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267176 2017] [core:warn] [pid 1104] AH00045: child process 12114 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267224 2017] [core:warn] [pid 1104] AH00045: child process 11917 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267269 2017] [core:warn] [pid 1104] AH00045: child process 11517 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267280 2017] [core:warn] [pid 1104] AH00045: child process 12167 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267287 2017] [core:warn] [pid 1104] AH00045: child process 12174 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267345 2017] [core:warn] [pid 1104] AH00045: child process 12192 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:24.267352 2017] [core:warn] [pid 1104] AH00045: child process 12193 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341914 2017] [core:warn] [pid 1104] AH00045: child process 1115 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341957 2017] [core:warn] [pid 1104] AH00045: child process 11844 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341962 2017] [core:warn] [pid 1104] AH00045: child process 12088 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341966 2017] [core:warn] [pid 1104] AH00045: child process 11491 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341970 2017] [core:warn] [pid 1104] AH00045: child process 11881 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341974 2017] [core:warn] [pid 1104] AH00045: child process 12667 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341978 2017] [core:warn] [pid 1104] AH00045: child process 12677 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.341994 2017] [core:warn] [pid 1104] AH00045: child process 11896 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342001 2017] [core:warn] [pid 1104] AH00045: child process 12102 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342008 2017] [core:warn] [pid 1104] AH00045: child process 12678 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342014 2017] [core:warn] [pid 1104] AH00045: child process 12113 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342021 2017] [core:warn] [pid 1104] AH00045: child process 10848 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342026 2017] [core:warn] [pid 1104] AH00045: child process 12114 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342030 2017] [core:warn] [pid 1104] AH00045: child process 11917 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342035 2017] [core:warn] [pid 1104] AH00045: child process 11517 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342039 2017] [core:warn] [pid 1104] AH00045: child process 12167 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342043 2017] [core:warn] [pid 1104] AH00045: child process 12174 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342047 2017] [core:warn] [pid 1104] AH00045: child process 12192 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:25.342051 2017] [core:warn] [pid 1104] AH00045: child process 12193 still did not exit, sending a SIGTERM [Mon Feb 20 10:27:26.366826 2017] [mpm_prefork:notice] [pid 1104] AH00169: caught SIGTERM, shutting down [Mon Feb 20 10:29:07.747911 2017] [mpm_prefork:notice] [pid 1068] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2k configured -- resuming normal operations [Mon Feb 20 10:29:07.806955 2017] [core:notice] [pid 1068] AH00094: Command line: '/usr/sbin/apache2' [Mon Feb 20 10:29:16.134563 2017] [mpm_prefork:error] [pid 1068] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
-
@UWPVIOLATOR said in 1.3.4 - high cpu load - client login:
[Mon Feb 20 10:29:16.134563 2017] [mpm_prefork:error] [pid 1068] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
Post 9 in this thread, I posted the answer to this error. It might solve this whole thing.
-
Checking now.
-
Not finding a folder at etc/httpd
-
@UWPVIOLATOR in Ubuntu land, it’s apache2. Look in
/etc/apache2
-
Nope. I only have basic Linux skills so bare with me but I am not seeing it in either location.
We are using Ubuntu 16.04. Tried searching all of /etc for it but no go.
/etc/apache2$ ls apache2.conf conf-available conf-enabled envvars magic mods-available mods-enabled ports.conf sites-available sites-enabled
-
@Wayne-Workman
I’ve edited the MaxRequestWorkers in mpm_prefork.conf from 100 to 150. Unfortunately it did nothing for the performance or stability so I changed it back. -
@ablohowiak Did you restart apache after you made the change?
-
@Wayne-Workman
The changes were in place for days and reboots before being removed. -
@UWPVIOLATOR In Ubuntu 16.04, these three files have the
MaxRequestWorkers
setting in them, I would suggest making copies of them before changing them, and I would recommend changing them all./etc/apache2/mods-available/mpm_worker.conf /etc/apache2/mods-available/mpm_prefork.conf /etc/apache2/mods-available/mpm_event.conf
To make backups:
cp /etc/apache2/mods-available/mpm_worker.conf /etc/apache2/mods-available/mpm_worker.conf.old cp /etc/apache2/mods-available/mpm_prefork.conf /etc/apache2/mods-available/mpm_prefork.conf.old cp /etc/apache2/mods-available/mpm_event.conf /etc/apache2/mods-available/mpm_event.conf.old
To restore the backups later if you wanted:
mv /etc/apache2/mods-available/mpm_worker.conf.old /etc/apache2/mods-available/mpm_worker.conf mv /etc/apache2/mods-available/mpm_prefork.conf.old /etc/apache2/mods-available/mpm_prefork.conf mv /etc/apache2/mods-available/mpm_event.conf.old /etc/apache2/mods-available/mpm_event.conf
-
Yes, that is where those config files are at, and the mpm_prefork is the current module in use. I didn’t know if it was the default or if it was configured as part of the fog install.
https://httpd.apache.org/docs/2.4/mpm.html
“At the user level, MPMs appear much like other Apache httpd modules. The main difference is that one and only one MPM must be loaded into the server at any time.”Is one mpm preferred, or is there one that should be avoided for fog?
-
@ablohowiak I’m just now learning about the MPM module myself. But if MaxWorkers is getting hit on your server & this module is the only file in /etc/apache2 that even has the setting in it, then this is the thing that controls it. In your case with so many hosts in the environment, I think this needs set higher.
-
@Wayne-Workman
I tried changing the mpm module to worker, but PHP wasn’t happy with that. -
@Wayne-Workman I tried running that command from the wiki and received an error.
ERROR 1292 (22007): Incorrect datetime value: '0000-00-00 00:00:00' for column 'hostSecTime' at row 1
-
@andjjru OK I discovered the IGNORE option and it appears to have run on 5025 hosts. No noticeable improvement in CPU load still, so probably need figure out that error.
mysql> UPDATE IGNORE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00"; Query OK, 5025 rows affected, 21415 warnings (0.43 sec) Rows matched: 21415 Changed: 5025 Warnings: 21415