Blanck page and Apache error
-
Server
- FOG Version: 1.5-RC8
- OS: Debian 8.5
Client
- Service Version: 0.11.12
- OS: Win10
Description
Since few weeks I often have blank page when using fog Web UI, with apache error. I had to wait few minutes so it’s return to normal. It’s seems to be related to “PHP Fatal error: Allowed memory size of xxx bytes exhausted” but previous parameter was 512M (which was a high value) and even update to 1024 (and reboot server) dont resolve issue !
Thanks,
Matthieu[Thu Aug 24 06:25:07.791847 2017] [mpm_prefork:notice] [pid 932] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations [Thu Aug 24 06:25:07.791883 2017] [core:notice] [pid 932] AH00094: Command line: '/usr/sbin/apache2' [Thu Aug 24 08:09:45.445144 2017] [evasive20:error] [pid 32552] [client 192.168.10.100:53522] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 08:14:10.781214 2017] [evasive20:error] [pid 31190] [client 192.168.10.100:53815] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 08:20:09.959716 2017] [:error] [pid 31249] [client 192.168.10.100:53988] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=14 [Thu Aug 24 08:20:13.832174 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:14.281567 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=14 [Thu Aug 24 08:20:16.117822 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=14 [Thu Aug 24 08:20:18.374823 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=14 [Thu Aug 24 08:20:25.507813 2017] [evasive20:error] [pid 31189] [client 192.168.10.60:60928] client denied by server configuration: /var/www/html/fog/status/getfiles.php [Thu Aug 24 08:20:26.688462 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/status/getservertime.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:26.689379 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:26.693429 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/service/getversion.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:27.529578 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:28.513855 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:29.513920 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:20:29.703106 2017] [evasive20:error] [pid 31191] [client 192.168.10.100:53968] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=home [Thu Aug 24 08:25:50.123220 2017] [mpm_prefork:notice] [pid 932] AH00169: caught SIGTERM, shutting down [Thu Aug 24 08:26:13.589748 2017] [mpm_prefork:notice] [pid 759] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations [Thu Aug 24 08:26:13.644975 2017] [core:notice] [pid 759] AH00094: Command line: '/usr/sbin/apache2' [Thu Aug 24 08:39:15.469846 2017] [:error] [pid 3116] [client 192.168.10.100:54278] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=14 [Thu Aug 24 08:43:01.838375 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54334] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 08:49:42.495146 2017] [:error] [pid 917] [client 192.168.10.100:54356] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=429 [Thu Aug 24 08:51:32.635809 2017] [evasive20:error] [pid 3117] [client 192.168.10.100:54362] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 08:57:46.971225 2017] [evasive20:error] [pid 3171] [client 192.168.10.100:54420] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:01:55.728054 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54433] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:02:50.740570 2017] [:error] [pid 3077] [client 192.168.10.100:54441] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 87 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=20 [Thu Aug 24 09:04:07.334528 2017] [:error] [pid 3117] [client 192.168.10.100:54442] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 87 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=24 [Thu Aug 24 09:04:07.676295 2017] [evasive20:error] [pid 3116] [client 192.168.10.100:54455] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=group&sub=membership&id=59 [Thu Aug 24 09:04:48.251347 2017] [:error] [pid 8268] [client 192.168.10.100:54465] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 87 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=137 [Thu Aug 24 09:04:49.973214 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54462] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=group&sub=list [Thu Aug 24 09:04:50.310371 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54462] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=137 [Thu Aug 24 09:04:50.489966 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54462] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=20 http://fog/fog/management/index.php?node=host&sub=edit&id=20 [Thu Aug 24 09:05:07.312821 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54462] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:05:08.187676 2017] [evasive20:error] [pid 3108] [client 192.168.10.100:54462] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:06:36.254112 2017] [:error] [pid 8353] [client 192.168.10.100:54509] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=58 [Thu Aug 24 09:06:55.471253 2017] [:error] [pid 916] [client 192.168.10.100:54514] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=58 [Thu Aug 24 09:07:05.028207 2017] [:error] [pid 8352] [client 192.168.10.100:54513] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/router/route.class.php on line 505, referer: http://fog/fog/management/index.php?node=host&sub=search [Thu Aug 24 09:07:13.106386 2017] [:error] [pid 8352] [client 192.168.10.100:54513] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=23 [Thu Aug 24 09:08:50.541146 2017] [:error] [pid 9212] [client 192.168.10.100:54544] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=412 [Thu Aug 24 09:10:53.662427 2017] [:error] [pid 9212] [client 192.168.10.100:54565] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=331 [Thu Aug 24 09:12:00.474634 2017] [evasive20:error] [pid 3171] [client 192.168.10.100:54579] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:18:26.989000 2017] [evasive20:error] [pid 9444] [client 192.168.10.100:54631] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:20:27.532280 2017] [evasive20:error] [pid 8353] [client 192.168.10.100:54702] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:24:56.828125 2017] [evasive20:error] [pid 3117] [client 192.168.10.100:54738] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:27:11.441927 2017] [evasive20:error] [pid 916] [client 192.168.10.100:54748] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:27:55.236957 2017] [:error] [pid 3014] [client 192.168.10.100:54758] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 597, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=2 [Thu Aug 24 09:33:46.925368 2017] [evasive20:error] [pid 8352] [client 192.168.10.100:54779] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:35:53.569746 2017] [evasive20:error] [pid 3171] [client 192.168.10.100:54788] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:38:19.967777 2017] [evasive20:error] [pid 8352] [client 192.168.11.108:64540] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:46:42.767282 2017] [evasive20:error] [pid 916] [client 192.168.10.100:54977] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:52:45.402456 2017] [evasive20:error] [pid 3077] [client 192.168.10.100:55072] client denied by server configuration: /var/www/html/fog/management/index.php [Thu Aug 24 09:56:18.450126 2017] [evasive20:error] [pid 8353] [client 192.168.10.100:55122] client denied by server configuration: /var/www/html/fog/management/index.php, referer: http://fog/fog/management/index.php?node=host&sub=edit&id=2
-
Mod evasive hasn’t been used by FOG since somewhere in the dev release of 1.3
Perhaps removing it will resolve this issue.
-
@quazz ok, but what is “mod evasive” ?
-
@matthieu-jacquart It’s an Apache module which can be used for security purposes. FOG moved on though and handles its job differently now, basically.
I remember having to remove it way back when it was causing issues for me.
-
@quazz ok, and how can it be removed please ?
-
@matthieu-jacquart I’m not entirely sure for Debian.
I think you can comment out the AddModule line in httpd.conf and restart the service.
-
@quazz I removed mod evasive with command “apt-get remove libapache2-mod-evasive” and reboot server.
Put 512M for memory limit, I hope it will be fine, thanks for your help ! -
Does someone know why I can’t mark my topic as resolved ?
-
@matthieu-jacquart Only moderators can. So it hasn’t reoccurred?
-
@quazz Ah ok I understood.
It’s ok for now, fingers crossed !