Everything seems happy now!
Thanks
PS - Hosts and Users report shows up as error 500 - links to (fog serverā¦) /node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
Everything seems happy now!
Thanks
PS - Hosts and Users report shows up as error 500 - links to (fog serverā¦) /node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
Well it broke it but it stopped the āthingā!
Still seeing the issue too. Note the huge number of threads and tasks!
Iāve noticed that first thing in the morning, our server is fine. Its only when PCs start powering up that we see issues - but it isnāt even a hundred that cause it. Just loads and loads of high-CPU hogging apache2 instances that never seem to end.
For the record - all of these are new clients (we have no PCs running the old client anymore)
Changes donāt seem to have fixed anything for me. Still see 100% usage after restart and update to 5078- basically the same as my screenshot earlier.
I do see this in the apache error log though, for all the clients that are trying to connect. Not sure itd make any difference though.
:
[Mon Oct 26 14:55:09.526015 2015] [:error] [pid 3099] [client 10.240.5.151:57133] PHP Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /var/www/html/fog/lib/db/MySQL.class.php on line 18
Hmm, iām getting this now too! FOG server is being crippled even after a reboot and wiping the hosts/reimporting (and Host lookup isnāt checked)
I am assuming that its because we have lots of PCs checking in but I didnāt think that so many processes would get generated!
Also lsof for port 80:
root@fog:/var/log/mysql# lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 2084 root 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 2636 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 2636 www-data 16u IPv6 205385 0t0 TCP fog.myserver.co.uk:http->10.1.24.175:49760 (ESTABLISHED)
apache2 2768 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 2768 www-data 16u IPv6 211218 0t0 TCP fog.myserver.co.uk:http->10.28.10.238:49570 (ESTABLISHED)
apache2 2807 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 2807 www-data 16u IPv6 206891 0t0 TCP fog.myserver.co.uk:http->10.9.110.159:57368 (ESTABLISHED)
apache2 2818 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 2818 www-data 16u IPv6 208587 0t0 TCP fog.myserver.co.uk:http->10.1.26.98:49835 (ESTABLISHED)
apache2 2863 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 2863 www-data 16u IPv6 210004 0t0 TCP fog.myserver.co.uk:http->10.28.10.167:53887 (ESTABLISHED)
apache2 3093 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 3093 www-data 16u IPv6 211334 0t0 TCP fog.myserver.co.uk:http->10.1.24.122:65430 (ESTABLISHED)
apache2 3097 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 3097 www-data 16u IPv6 211239 0t0 TCP fog.myserver.co.uk:http->10.1.21.170:29595 (ESTABLISHED)
apache2 3579 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 3579 www-data 16u IPv6 208959 0t0 TCP fog.myserver.co.uk:http->10.9.110.108:56545 (ESTABLISHED)
apache2 3617 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 3617 www-data 16u IPv6 208904 0t0 TCP fog.myserver.co.uk:http->10.9.112.158:64571 (ESTABLISHED)
apache2 3657 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 3657 www-data 16u IPv6 207246 0t0 TCP fog.myserver.co.uk:http->10.9.110.166:58779 (ESTABLISHED)
apache2 4124 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4124 www-data 16u IPv6 205230 0t0 TCP fog.myserver.co.uk:http->10.28.10.193:65050 (ESTABLISHED)
apache2 4134 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4134 www-data 16u IPv6 207383 0t0 TCP fog.myserver.co.uk:http->10.240.11.209:60319 (ESTABLISHED)
apache2 4160 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4160 www-data 16u IPv6 207332 0t0 TCP fog.myserver.co.uk:http->10.9.112.200:53346 (ESTABLISHED)
apache2 4176 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4176 www-data 16u IPv6 204956 0t0 TCP fog.myserver.co.uk:http->10.28.10.21:49847 (ESTABLISHED)
apache2 4190 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4190 www-data 16u IPv6 206864 0t0 TCP fog.myserver.co.uk:http->10.1.25.145:54472 (ESTABLISHED)
apache2 4191 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4191 www-data 16u IPv6 208675 0t0 TCP fog.myserver.co.uk:http->10.1.26.148:60850 (ESTABLISHED)
apache2 4205 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4205 www-data 16u IPv6 207418 0t0 TCP fog.myserver.co.uk:http->10.1.25.146:56839 (ESTABLISHED)
apache2 4220 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4220 www-data 16u IPv6 208115 0t0 TCP fog.myserver.co.uk:http->pc24-6.myserver.co.uk:57599 (ESTABLISHED)
apache2 4225 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4225 www-data 16u IPv6 209198 0t0 TCP fog.myserver.co.uk:http->10.9.106.35:49624 (ESTABLISHED)
apache2 4669 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4669 www-data 16u IPv6 209862 0t0 TCP fog.myserver.co.uk:http->10.28.10.68:49459 (ESTABLISHED)
apache2 4672 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4672 www-data 16u IPv6 209534 0t0 TCP fog.myserver.co.uk:http->10.240.11.198:49391 (ESTABLISHED)
apache2 4675 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4675 www-data 16u IPv6 207291 0t0 TCP fog.myserver.co.uk:http->10.28.10.166:54133 (ESTABLISHED)
apache2 4691 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4691 www-data 16u IPv6 207738 0t0 TCP fog.myserver.co.uk:http->10.28.10.21:49848 (ESTABLISHED)
apache2 4694 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4694 www-data 16u IPv6 211263 0t0 TCP fog.myserver.co.uk:http->10.240.11.182:55943 (ESTABLISHED)
apache2 4696 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4696 www-data 16u IPv6 209160 0t0 TCP fog.myserver.co.uk:http->10.1.23.237:56832 (ESTABLISHED)
apache2 4735 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4735 www-data 16u IPv6 209401 0t0 TCP fog.myserver.co.uk:http->10.28.10.217:49597 (ESTABLISHED)
apache2 4756 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4756 www-data 16u IPv6 209628 0t0 TCP fog.myserver.co.uk:http->10.240.11.162:64878 (ESTABLISHED)
apache2 4768 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4768 www-data 16u IPv6 206502 0t0 TCP fog.myserver.co.uk:http->10.9.106.41:49645 (FIN_WAIT2)
apache2 4777 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 4777 www-data 16u IPv6 209994 0t0 TCP fog.myserver.co.uk:http->10.9.106.26:50253 (ESTABLISHED)
apache2 5100 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5100 www-data 16u IPv6 209727 0t0 TCP fog.myserver.co.uk:http->10.1.25.173:56715 (ESTABLISHED)
apache2 5128 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5128 www-data 16u IPv6 207472 0t0 TCP fog.myserver.co.uk:http->10.28.10.213:53558 (ESTABLISHED)
apache2 5520 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5520 www-data 16u IPv6 209087 0t0 TCP fog.myserver.co.uk:http->10.1.23.231:51926 (ESTABLISHED)
apache2 5530 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5530 www-data 16u IPv6 211051 0t0 TCP fog.myserver.co.uk:http->10.240.11.162:64879 (ESTABLISHED)
apache2 5533 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5533 www-data 16u IPv6 205433 0t0 TCP fog.myserver.co.uk:http->10.1.37.27:27514 (ESTABLISHED)
apache2 5544 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5544 www-data 16u IPv6 205271 0t0 TCP fog.myserver.co.uk:http->10.1.23.148:49740 (ESTABLISHED)
apache2 5551 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5551 www-data 16u IPv6 208381 0t0 TCP fog.myserver.co.uk:http->10.9.112.189:49842 (ESTABLISHED)
apache2 5570 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5570 www-data 16u IPv6 211113 0t0 TCP fog.myserver.co.uk:http->10.9.106.40:49619 (ESTABLISHED)
apache2 5572 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5572 www-data 16u IPv6 208036 0t0 TCP fog.myserver.co.uk:http->10.9.110.128:65140 (ESTABLISHED)
apache2 5580 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5580 www-data 16u IPv6 206913 0t0 TCP fog.myserver.co.uk:http->10.1.23.230:49844 (ESTABLISHED)
apache2 5602 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5602 www-data 16u IPv6 208805 0t0 TCP fog.myserver.co.uk:http->10.1.24.126:55469 (ESTABLISHED)
apache2 5618 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5618 www-data 16u IPv6 206700 0t0 TCP fog.myserver.co.uk:http->10.9.106.29:49608 (ESTABLISHED)
apache2 5619 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 5619 www-data 16u IPv6 208974 0t0 TCP fog.myserver.co.uk:http->10.1.55.236:49938 (ESTABLISHED)
apache2 6006 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6006 www-data 16u IPv6 209326 0t0 TCP fog.myserver.co.uk:http->10.1.25.118:55158 (ESTABLISHED)
apache2 6268 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6268 www-data 16u IPv6 209858 0t0 TCP fog.myserver.co.uk:http->10.1.26.123:53330 (ESTABLISHED)
apache2 6269 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6269 www-data 16u IPv6 211026 0t0 TCP fog.myserver.co.uk:http->10.28.12.239:52159 (ESTABLISHED)
apache2 6270 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6270 www-data 16u IPv6 211175 0t0 TCP fog.myserver.co.uk:http->10.28.10.93:64841 (ESTABLISHED)
apache2 6273 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6273 www-data 16u IPv6 209592 0t0 TCP fog.myserver.co.uk:http->10.9.110.127:58944 (ESTABLISHED)
apache2 6292 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6292 www-data 16u IPv6 207455 0t0 TCP fog.myserver.co.uk:http->10.1.21.151:51066 (ESTABLISHED)
apache2 6296 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6296 www-data 16u IPv6 209338 0t0 TCP fog.myserver.co.uk:http->10.1.24.160:52020 (ESTABLISHED)
apache2 6304 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6304 www-data 16u IPv6 211197 0t0 TCP fog.myserver.co.uk:http->10.9.112.168:54211 (ESTABLISHED)
apache2 6305 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6305 www-data 16u IPv6 211145 0t0 TCP fog.myserver.co.uk:http->10.28.11.210:49781 (ESTABLISHED)
apache2 6787 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6787 www-data 16u IPv6 209787 0t0 TCP fog.myserver.co.uk:http->pc26-36.myserver.co.uk:49781 (ESTABLISHED)
apache2 6794 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6794 www-data 16u IPv6 208319 0t0 TCP fog.myserver.co.uk:http->10.1.23.233:49922 (ESTABLISHED)
apache2 6796 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 6796 www-data 16u IPv6 199442 0t0 TCP fog.myserver.co.uk:http->10.240.11.176:50216 (ESTABLISHED)
apache2 14670 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14670 www-data 16u IPv6 208028 0t0 TCP fog.myserver.co.uk:http->10.1.25.150:58961 (ESTABLISHED)
apache2 14671 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14671 www-data 16u IPv6 209766 0t0 TCP fog.myserver.co.uk:http->10.28.10.168:60393 (ESTABLISHED)
apache2 14672 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14672 www-data 16u IPv6 205388 0t0 TCP fog.myserver.co.uk:http->10.1.23.211:49845 (ESTABLISHED)
apache2 14673 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14673 www-data 16u IPv6 211298 0t0 TCP fog.myserver.co.uk:http->10.240.11.236:55911 (ESTABLISHED)
apache2 14681 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14681 www-data 16u IPv6 209099 0t0 TCP fog.myserver.co.uk:http->10.1.26.103:51299 (ESTABLISHED)
apache2 14682 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14682 www-data 16u IPv6 205304 0t0 TCP fog.myserver.co.uk:http->10.9.112.196:49838 (ESTABLISHED)
apache2 14684 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14684 www-data 16u IPv6 211173 0t0 TCP fog.myserver.co.uk:http->10.1.23.209:50288 (ESTABLISHED)
apache2 14685 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14685 www-data 16u IPv6 209595 0t0 TCP fog.myserver.co.uk:http->10.1.24.103:49763 (ESTABLISHED)
apache2 14686 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14686 www-data 16u IPv6 208799 0t0 TCP fog.myserver.co.uk:http->10.28.10.222:51282 (ESTABLISHED)
apache2 14687 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14687 www-data 16u IPv6 208014 0t0 TCP fog.myserver.co.uk:http->10.1.26.194:49692 (ESTABLISHED)
apache2 14694 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14694 www-data 16u IPv6 206769 0t0 TCP fog.myserver.co.uk:http->10.1.23.205:51748 (ESTABLISHED)
apache2 14696 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14696 www-data 16u IPv6 209771 0t0 TCP fog.myserver.co.uk:http->10.1.26.163:64329 (ESTABLISHED)
apache2 14697 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14697 www-data 16u IPv6 207285 0t0 TCP fog.myserver.co.uk:http->10.1.25.174:56202 (ESTABLISHED)
apache2 14701 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14701 www-data 16u IPv6 207548 0t0 TCP fog.myserver.co.uk:http->10.28.7.15:63067 (ESTABLISHED)
apache2 14710 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14710 www-data 16u IPv6 209927 0t0 TCP fog.myserver.co.uk:http->10.28.10.178:59324 (ESTABLISHED)
apache2 14713 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14713 www-data 16u IPv6 209794 0t0 TCP fog.myserver.co.uk:http->10.28.8.20:56839 (ESTABLISHED)
apache2 14714 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14714 www-data 16u IPv6 211325 0t0 TCP fog.myserver.co.uk:http->10.28.10.180:49471 (ESTABLISHED)
apache2 14716 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14716 www-data 16u IPv6 207539 0t0 TCP fog.myserver.co.uk:http->10.9.106.221:49627 (ESTABLISHED)
apache2 14725 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14725 www-data 16u IPv6 209585 0t0 TCP fog.myserver.co.uk:http->pc24-17.myserver.co.uk:65308 (ESTABLISHED)
apache2 14726 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14726 www-data 16u IPv6 199604 0t0 TCP fog.myserver.co.uk:http->10.1.25.139:65317 (ESTABLISHED)
apache2 14727 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14727 www-data 16u IPv6 215258 0t0 TCP fog.myserver.co.uk:http->10.1.21.170:29597 (ESTABLISHED)
apache2 14728 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14728 www-data 16u IPv6 209451 0t0 TCP fog.myserver.co.uk:http->10.1.23.219:51341 (ESTABLISHED)
apache2 14731 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14731 www-data 16u IPv6 209752 0t0 TCP fog.myserver.co.uk:http->10.9.106.32:49646 (ESTABLISHED)
apache2 14734 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14734 www-data 16u IPv6 206560 0t0 TCP fog.myserver.co.uk:http->10.1.25.143:50171 (ESTABLISHED)
apache2 14735 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14735 www-data 16u IPv6 208701 0t0 TCP fog.myserver.co.uk:http->10.9.106.26:50250 (ESTABLISHED)
apache2 14748 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14748 www-data 16u IPv6 206878 0t0 TCP fog.myserver.co.uk:http->10.1.25.135:53350 (ESTABLISHED)
apache2 14756 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14756 www-data 16u IPv6 205462 0t0 TCP fog.myserver.co.uk:http->10.240.11.232:49580 (ESTABLISHED)
apache2 14757 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 14757 www-data 16u IPv6 209305 0t0 TCP fog.myserver.co.uk:http->10.240.11.36:49789 (ESTABLISHED)
apache2 15211 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15211 www-data 16u IPv6 205319 0t0 TCP fog.myserver.co.uk:http->10.28.10.194:62332 (ESTABLISHED)
apache2 15234 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15234 www-data 16u IPv6 199457 0t0 TCP fog.myserver.co.uk:http->10.9.106.45:50690 (ESTABLISHED)
apache2 15235 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15235 www-data 16u IPv6 208384 0t0 TCP fog.myserver.co.uk:http->10.1.26.171:50388 (ESTABLISHED)
apache2 15282 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15282 www-data 16u IPv6 205353 0t0 TCP fog.myserver.co.uk:http->10.9.106.31:49660 (ESTABLISHED)
apache2 15307 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15307 www-data 16u IPv6 199602 0t0 TCP fog.myserver.co.uk:http->10.28.11.207:52033 (ESTABLISHED)
apache2 15308 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15308 www-data 16u IPv6 204923 0t0 TCP fog.myserver.co.uk:http->10.9.112.166:56260 (ESTABLISHED)
apache2 15352 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15352 www-data 16u IPv6 211225 0t0 TCP fog.myserver.co.uk:http->10.240.11.199:49886 (ESTABLISHED)
apache2 15367 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15367 www-data 16u IPv6 209694 0t0 TCP fog.myserver.co.uk:http->pc26-25.myserver.co.uk:52138 (ESTABLISHED)
apache2 15370 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15370 www-data 16u IPv6 209280 0t0 TCP fog.myserver.co.uk:http->10.1.25.156:53894 (ESTABLISHED)
apache2 15371 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15371 www-data 16u IPv6 207943 0t0 TCP fog.myserver.co.uk:http->10.240.11.232:49564 (ESTABLISHED)
apache2 15385 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15385 www-data 16u IPv6 206583 0t0 TCP fog.myserver.co.uk:http->10.9.106.36:49647 (ESTABLISHED)
apache2 15389 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15389 www-data 16u IPv6 211236 0t0 TCP fog.myserver.co.uk:http->10.1.24.160:52021 (ESTABLISHED)
apache2 15390 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15390 www-data 16u IPv6 209116 0t0 TCP fog.myserver.co.uk:http->10.1.23.197:50257 (ESTABLISHED)
apache2 15393 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15393 www-data 16u IPv6 209989 0t0 TCP fog.myserver.co.uk:http->10.1.26.224:56221 (ESTABLISHED)
apache2 15396 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15396 www-data 16u IPv6 209685 0t0 TCP fog.myserver.co.uk:http->10.28.10.24:55542 (ESTABLISHED)
apache2 15399 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15399 www-data 16u IPv6 211314 0t0 TCP fog.myserver.co.uk:http->10.1.23.237:56843 (ESTABLISHED)
apache2 15789 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15789 www-data 16u IPv6 208833 0t0 TCP fog.myserver.co.uk:http->10.28.7.35:49378 (ESTABLISHED)
apache2 15790 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15790 www-data 16u IPv6 207953 0t0 TCP fog.myserver.co.uk:http->10.28.10.95:58542 (ESTABLISHED)
apache2 15793 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15793 www-data 16u IPv6 206758 0t0 TCP fog.myserver.co.uk:http->10.1.26.105:50066 (ESTABLISHED)
apache2 15794 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15794 www-data 16u IPv6 205274 0t0 TCP fog.myserver.co.uk:http->10.1.23.216:56813 (ESTABLISHED)
apache2 15795 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15795 www-data 16u IPv6 206577 0t0 TCP fog.myserver.co.uk:http->10.1.26.94:62086 (ESTABLISHED)
apache2 15803 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15803 www-data 16u IPv6 207925 0t0 TCP fog.myserver.co.uk:http->10.28.10.219:64208 (ESTABLISHED)
apache2 15804 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15804 www-data 16u IPv6 209654 0t0 TCP fog.myserver.co.uk:http->10.240.11.36:49790 (ESTABLISHED)
apache2 15806 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15806 www-data 16u IPv6 205341 0t0 TCP fog.myserver.co.uk:http->10.1.55.226:53041 (ESTABLISHED)
apache2 15807 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15807 www-data 16u IPv6 208059 0t0 TCP fog.myserver.co.uk:http->10.9.106.34:49648 (ESTABLISHED)
apache2 15808 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15808 www-data 16u IPv6 206831 0t0 TCP fog.myserver.co.uk:http->10.1.26.93:63211 (ESTABLISHED)
apache2 15809 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15809 www-data 16u IPv6 209494 0t0 TCP fog.myserver.co.uk:http->10.28.10.203:55371 (FIN_WAIT2)
apache2 15813 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15813 www-data 16u IPv6 207512 0t0 TCP fog.myserver.co.uk:http->10.28.10.93:49609 (ESTABLISHED)
apache2 15814 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15814 www-data 16u IPv6 209625 0t0 TCP fog.myserver.co.uk:http->10.240.11.226:49533 (ESTABLISHED)
apache2 15815 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15815 www-data 16u IPv6 199544 0t0 TCP fog.myserver.co.uk:http->10.1.26.88:49757 (ESTABLISHED)
apache2 15816 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15816 www-data 16u IPv6 209879 0t0 TCP fog.myserver.co.uk:http->10.1.55.228:49738 (ESTABLISHED)
apache2 15817 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15817 www-data 16u IPv6 208973 0t0 TCP fog.myserver.co.uk:http->10.28.10.168:60392 (ESTABLISHED)
apache2 15818 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15818 www-data 16u IPv6 206574 0t0 TCP fog.myserver.co.uk:http->10.28.10.203:55369 (ESTABLISHED)
apache2 15819 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15819 www-data 16u IPv6 210971 0t0 TCP fog.myserver.co.uk:http->10.28.12.225:50235 (ESTABLISHED)
apache2 15820 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15820 www-data 16u IPv6 208821 0t0 TCP fog.myserver.co.uk:http->10.1.28.51:50042 (ESTABLISHED)
apache2 15833 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15833 www-data 16u IPv6 208149 0t0 TCP fog.myserver.co.uk:http->10.28.10.11:54096 (ESTABLISHED)
apache2 15837 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15837 www-data 16u IPv6 207433 0t0 TCP fog.myserver.co.uk:http->pc24-23.myserver.co.uk:50093 (ESTABLISHED)
apache2 15927 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15927 www-data 16u IPv6 206566 0t0 TCP fog.myserver.co.uk:http->10.1.26.60:50475 (ESTABLISHED)
apache2 15928 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15928 www-data 16u IPv6 205446 0t0 TCP fog.myserver.co.uk:http->10.28.10.157:63434 (ESTABLISHED)
apache2 15929 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 15929 www-data 16u IPv6 206629 0t0 TCP fog.myserver.co.uk:http->10.28.10.199:54524 (ESTABLISHED)
apache2 16107 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 16107 www-data 16u IPv6 208099 0t0 TCP fog.myserver.co.uk:http->10.28.10.14:50199 (ESTABLISHED)
apache2 17032 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17032 www-data 16u IPv6 207327 0t0 TCP fog.myserver.co.uk:http->10.28.10.192:51399 (ESTABLISHED)
apache2 17311 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17311 www-data 16u IPv6 207968 0t0 TCP fog.myserver.co.uk:http->10.240.11.153:49295 (ESTABLISHED)
apache2 17315 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17315 www-data 16u IPv6 208474 0t0 TCP fog.myserver.co.uk:http->10.9.106.27:49633 (ESTABLISHED)
apache2 17316 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17316 www-data 16u IPv6 206688 0t0 TCP fog.myserver.co.uk:http->10.9.110.165:56298 (ESTABLISHED)
apache2 17320 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17320 www-data 16u IPv6 209074 0t0 TCP fog.myserver.co.uk:http->10.1.24.172:51523 (ESTABLISHED)
apache2 17321 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17321 www-data 16u IPv6 208433 0t0 TCP fog.myserver.co.uk:http->10.1.25.151:50002 (ESTABLISHED)
apache2 17322 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17322 www-data 16u IPv6 206784 0t0 TCP fog.myserver.co.uk:http->10.28.12.225:50233 (ESTABLISHED)
apache2 17323 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17323 www-data 16u IPv6 207321 0t0 TCP fog.myserver.co.uk:http->10.1.25.178:58762 (ESTABLISHED)
apache2 17328 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17328 www-data 16u IPv6 206844 0t0 TCP fog.myserver.co.uk:http->10.1.23.239:50334 (ESTABLISHED)
apache2 17329 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17329 www-data 16u IPv6 199659 0t0 TCP fog.myserver.co.uk:http->10.240.11.235:49983 (ESTABLISHED)
apache2 17330 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17330 www-data 16u IPv6 205477 0t0 TCP fog.myserver.co.uk:http->10.28.10.177:59575 (ESTABLISHED)
apache2 17335 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17335 www-data 16u IPv6 208329 0t0 TCP fog.myserver.co.uk:http->10.1.25.129:52700 (ESTABLISHED)
apache2 17336 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17336 www-data 16u IPv6 209230 0t0 TCP fog.myserver.co.uk:http->10.1.37.27:27513 (ESTABLISHED)
apache2 17337 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 17337 www-data 16u IPv6 199409 0t0 TCP fog.myserver.co.uk:http->10.240.11.182:55925 (ESTABLISHED)
apache2 18513 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18513 www-data 16u IPv6 208128 0t0 TCP fog.myserver.co.uk:http->10.1.26.166:63340 (ESTABLISHED)
apache2 18519 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18519 www-data 16u IPv6 211274 0t0 TCP fog.myserver.co.uk:http->10.1.25.119:50908 (ESTABLISHED)
apache2 18525 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18525 www-data 16u IPv6 207974 0t0 TCP fog.myserver.co.uk:http->10.240.11.199:49885 (ESTABLISHED)
apache2 18526 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18526 www-data 16u IPv6 208623 0t0 TCP fog.myserver.co.uk:http->pc24-31.myserver.co.uk:49703 (ESTABLISHED)
apache2 18530 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18530 www-data 16u IPv6 209554 0t0 TCP fog.myserver.co.uk:http->10.28.10.155:56252 (ESTABLISHED)
apache2 18534 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18534 www-data 16u IPv6 205313 0t0 TCP fog.myserver.co.uk:http->10.28.10.60:52758 (ESTABLISHED)
apache2 18535 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18535 www-data 16u IPv6 207876 0t0 TCP fog.myserver.co.uk:http->10.9.106.43:49624 (ESTABLISHED)
apache2 18542 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18542 www-data 16u IPv6 211385 0t0 TCP fog.myserver.co.uk:http->10.28.11.223:50357 (ESTABLISHED)
apache2 18555 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18555 www-data 16u IPv6 206477 0t0 TCP fog.myserver.co.uk:http->10.1.55.107:51872 (FIN_WAIT2)
apache2 18560 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18560 www-data 16u IPv6 206707 0t0 TCP fog.myserver.co.uk:http->10.28.12.239:52158 (ESTABLISHED)
apache2 18561 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18561 www-data 16u IPv6 209474 0t0 TCP fog.myserver.co.uk:http->10.1.26.166:63341 (FIN_WAIT2)
apache2 18564 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18564 www-data 16u IPv6 206586 0t0 TCP fog.myserver.co.uk:http->10.28.7.60:49773 (ESTABLISHED)
apache2 18565 www-data 4u IPv6 12460 0t0 TCP *:http (LISTEN)
apache2 18565 www-data 16u IPv6 208156 0t0 TCP fog.myserver.co.uk:http->10.28.10.92:58723 (ESTABLISHED)
root@fog:/var/log/mysql#
Will keep an eye on what people do
Whilst I like how frequently hosts update, now, I am wondering if our FOG server has slowed down considerably because several hundred hosts check in every 10 seconds, constantly. Whether or not the slowing down is the result of a recent update to git, would it not be an idea, regardless, for a host to first check which services are enabled on the server and then only update those? One ācheckinā could do something like compare a two byte āflagā set for the host in the FOG database against a locally stored flag. Subsequent checkins would then only be performed on those services for which a ā1ā is set - until the next āmasterā checkin to check - again - which hosts are checked in or not.
Actually, Iām curious why FOGās service associations arenāt done in this way all requests arenāt just āgatheredā up and done at once?
Interested in any insight anyone can give me thanks!
Fixed
But new issue now - maybe better for another thread - php requests are slow to load now (including /fog/service/ipxe/boot.php - which sometimes times out)
After updating, I now see this in the apache log (clients sit waiting to check in)
[Thu Oct 22 09:42:54.973919 2015] [:error] [pid 7483] [client 10.240.11.209:43438] PHP Fatal error: Call to undefined method StorageGroup::getSetting() in /var/www/html/fog/lib/fog/StorageGroup.class.php on line 46
Has it broken snapins too now? Clients on the desktop say āUnknown reponseā; an exerpt is below:
12/10/2015 15:22 Middleware::Communication Unknown Response: Unity de-license#!okJOBTASKID=1760JOBCREATION=2015-10-12 15:21:17SNAPINNAME=Unity de-licenseSNAPā¦ and so on
@ch3i said:
FOG_INACTIVITY_TIMEOUT
Its set to 12 in the database but I canāt actually get to any FOG page - which is the problemā¦
Random other suggestion; check /tftpboot folder, see if undionly.0 exists. If it doesnāt, try this as root:
cd /tftpboot
sudo su
ln -r -s undionly.kpxe undionly.0
Maybe my FOG installation is broken, but I get a blank screen when navigating to the FOG web interface after updating to 4910.
From apache2/error.log;
[Mon Oct 12 09:22:11.650668 2015] [:error] [pid 2947] [client 10.1.21.170:18594] PHP Fatal error: Call to a member function getSetting() on null in /var/www/html/fog/lib/fog/User.class.php on line 61, referer: (our fog URL)
Line 61 is:
$this->inactivitySessionTimeout = $this->FOGCore->getSetting('FOG_INACTIVITY_TIMEOUT');
Problem with the version or problem with me?
Thanks!
Hey all, wondering if anyone could help with suggestions;
We need to put about 50-100GB of data onto around 500 PCs, onto their second hard disk. We could upload a new image with the second disk as a multiple partition image, but this isnāt resizable (and it would be ideal to shrink the image down and then expand to the full disk size once finished). RAW is impossible - we have 1TB drives.
So is it possible to target a second disk on the PCs and multicast that way? I saw āGroup Primary Diskā as an option - so this would be /dev/sdb, logically - but would this work if all the disk was was an NTFS partition with lots of data on?
Cheers guys!
So with the most recent version (4804), my apache/error.log file keeps getting this written to it several times every second from many different IP addresses (which all seem to correspond to new FOG clients);
[Wed Sep 30 12:06:48.308072 2015] [:error] [pid 11926] [client 10.1.24.52:49939] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/html/fog/lib/db/MySQL.class.php on line 125
[Wed Sep 30 12:06:48.308117 2015] [:error] [pid 11926] [client 10.1.24.52:49939] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/html/fog/lib/db/MySQL.class.php on line 127
Known broken-ness, or just me?
Cheers!
Canāt find any other threads on this - I just wondered if anyone else is having the same issue or knows the cause of this (old client, server version 4742)? I keep thinking Iāve fixed it but occasionally a host will lose its association with a group (note that I have multiple groups that can contain the same host).
Cheers!
Oops, just seen this - I guess I was searching for the wrong things - although I ended up doing everything else mentioned hereā¦
Iāll watch with intrigueā¦
At least, thatās what it looks to be happening. This only started when upgraded for the first time in a while (and now again to 4666) - or perhaps its the client having been updated.
So when it started, it was around maybe 30 or so hosts started saying they werenāt registered, but couldnāt be re-registered as the hostname was invalid. However, they exist in the hosts table stillā¦
The hosts seemed to all be PCs that have been on and are being used, but I have no idea why theyāre doing it. I decided to just drop the entire hosts and hostsMAC tables (and anything else that has reference to hostIDs) and reimport the hostlist from CSV, before adding all hosts to a task to get their hardware inventory.
ā¦and now about 70 of the PCs are doing this. Its very patchy but I am wondering if all hosts will do it, if we turn all the PCs on.
While I look into it myself, has anyone else had this issue? As a possibile lead - I do have a MAC address filter set to filter out virtual mac addresses, if that could have anything to do with it (the mac address would form part of the host stringā¦)
Do a cat /etc/passwd and see if the output looks like this:
fog:x:1001:1001::/home/fog:
If it does, there is no shell associated with the user. As root, try the following:
chsh -s /bin/bash fog
Let me know if that fixes it for you!
Weird thing here - and Iām trying to reproduce it more thoroughly - it looks like the OU settings arenāt working for adding machines to a domain. Has the string format changed?
Now Iām not sure whether or not the machine was originally in the right OU before, since it is now definitely in the (wrong) default container for our domain, but the only reason it would be in the container it is now in is if it had been manually joined to our domain.
@Jbob - could there be an issue with the client and joining a machine to the domain with either an existing, or new, computer account?
Cheers!