Apache constantly crashing every few hours after php update

Server Details:
Ubuntu 16.0.4.5 LTS
Server version: Apache/2.4.18 (Ubuntu)
PHP Version: PHP 7.2.14-1+ubuntu16.04.1+deb.sury.org+1
Server with 16GB of RAM, 8 Core CPU

Server Logs/Setup Configs will be posted at bottom of post.

I currently run PHP using the PHP-FPM. I have had it working just fine, until recently I believe, when PHP had some updates, and I updated it a few days ago.

Now, every few hours, it just seems that Apache crashes and I just have to start it back up. The server…

Apache constantly crashing every few hours after php update

`Unregistered Authentication Agent for unix-process` when I restart Apache each time?

My server is centos 7.4 with Apache 2.4.6.
Each time when I systemctl restart httpd,2 messages will added to /var/log/secure.Looks like :

Jan 19 8:23:48 localhost polkitd[493]: Registered Authentication Agent for unix-process:5739:174943 (system bus name :1.119 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jan 19 8:23:49 localhost polkitd[493]: Unregistered Authentication Agent for unix-process:5739:174943 (system bus name :1.119, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) 

What’s the problem?

Determining source of periodic Apache SIGTERM

Running Ubuntu 18.04.1 LTS on a custom built home server (i5-6500, 16GB RAM).

I have been struggling with determining the source of periodic Apache crashes at frequencies ranging from hourly to daily. Apache has run well since the server was built about 2 years ago, until this issue began to occur several months ago. When it crashes, it must be manually restarted using systemctl restart apache2.

The contents of /var/log/apache2/error.log several seconds prior to the SIGTERM:

[Fri Jan 18 04:19:20.651049 2019] [fcgid:info] [pid 29012] mod_fcgid: Process manager 29012 stopped [Fri Jan 18 04:19:20.675851 2019] [fcgid:info] [pid 29109] mod_fcgid: Process manager 29109 started [Fri Jan 18 04:19:20.678539 2019] [:notice] [pid 29108] FastCGI: process manager initialized (pid 29108) [Fri Jan 18 04:19:20.767449 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(401): AH00821: shmcb_init allocated 512000 bytes of shared memory [Fri Jan 18 04:19:20.767461 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(417): AH00822: for 511912 bytes (512000 including header), recommending 32 subcaches, 88 indexes each [Fri Jan 18 04:19:20.767463 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(450): AH00824: shmcb_init_memory choices follow [Fri Jan 18 04:19:20.767466 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(452): AH00825: subcache_num = 32 [Fri Jan 18 04:19:20.767468 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(454): AH00826: subcache_size = 15992 [Fri Jan 18 04:19:20.767469 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(456): AH00827: subcache_data_offset = 2128 [Fri Jan 18 04:19:20.767471 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(458): AH00828: subcache_data_size = 13864 [Fri Jan 18 04:19:20.767473 2019] [socache_shmcb:debug] [pid 28514] mod_socache_shmcb.c(460): AH00829: index_num = 88 [Fri Jan 18 04:19:20.767519 2019] [socache_shmcb:info] [pid 28514] AH00830: Shared memory socache initialised [Fri Jan 18 04:19:20.767522 2019] [ssl:info] [pid 28514] AH01887: Init: Initializing (virtual) servers for SSL [Fri Jan 18 04:19:20.771807 2019] [ssl:info] [pid 28514] AH01914: Configuring server cloud.MY_DOMAIN.net:443 for SSL protocol [Fri Jan 18 04:19:20.771812 2019] [ssl:debug] [pid 28514] ssl_engine_init.c(1658): AH: Init: (cloud.MY_DOMAIN.net:443) mod_md support is unavailable. [Fri Jan 18 04:19:20.771931 2019] [ssl:debug] [pid 28514] ssl_engine_init.c(492): AH01893: Configuring TLS extension handling [Fri Jan 18 04:19:20.772076 2019] [ssl:debug] [pid 28514] ssl_util_ssl.c(470): AH02412: [cloud.MY_DOMAIN.net:443] Cert matches for name 'cloud.MY_DOMAIN.net' [subject: CN=MY_DOMAIN.net / issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US / serial: ################################ / notbefore: Dec  1 07:03:19 2018 GMT / notafter: Mar  1 07:03:19 2019 GMT] [Fri Jan 18 04:19:20.772080 2019] [ssl:info] [pid 28514] AH02568: Certificate and private key cloud.MY_DOMAIN.net:443:0 configured from /etc/letsencrypt/live/MY_DOMAIN.net-0009/fullchain.pem and /etc/letsencrypt/live/MY_DOMAIN.net-0009/privkey.pem [Fri Jan 18 04:19:20.772436 2019] [ssl:info] [pid 28514] AH01914: Configuring server www.MY_DOMAIN.net:443 for SSL protocol [Fri Jan 18 04:19:20.772439 2019] [ssl:debug] [pid 28514] ssl_engine_init.c(1658): AH: Init: (www.MY_DOMAIN.net:443) mod_md support is unavailable. [Fri Jan 18 04:19:20.772541 2019] [ssl:debug] [pid 28514] ssl_engine_init.c(492): AH01893: Configuring TLS extension handling [Fri Jan 18 04:19:20.772687 2019] [ssl:debug] [pid 28514] ssl_util_ssl.c(470): AH02412: [www.MY_DOMAIN.net:443] Cert matches for name 'www.MY_DOMAIN.net' [subject: CN=MY_DOMAIN.net / issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US / serial: ################################ / notbefore: Dec  1 07:03:19 2018 GMT / notafter: Mar  1 07:03:19 2019 GMT] [Fri Jan 18 04:19:20.772691 2019] [ssl:info] [pid 28514] AH02568: Certificate and private key www.MY_DOMAIN.net:443:0 configured from /etc/letsencrypt/live/MY_DOMAIN.net-0009/fullchain.pem and /etc/letsencrypt/live/MY_DOMAIN.net-0009/privkey.pem [Fri Jan 18 04:19:20.772785 2019] [ssl:info] [pid 28514] AH01876: mod_ssl/2.4.29 compiled against Server: Apache/2.4.29, Library: OpenSSL/1.1.0g [Fri Jan 18 04:19:20.772807 2019] [watchdog:debug] [pid 28514] mod_watchdog.c(454): AH010033: Watchdog: Running with WatchdogInterval 1000ms [Fri Jan 18 04:19:20.772811 2019] [watchdog:debug] [pid 28514] mod_watchdog.c(462): AH02974: Watchdog: found parent providers. [Fri Jan 18 04:19:20.772813 2019] [watchdog:debug] [pid 28514] mod_watchdog.c(508): AH02977: Watchdog: found child providers. [Fri Jan 18 04:19:20.772816 2019] [watchdog:debug] [pid 28514] mod_watchdog.c(516): AH02978: Watchdog: Looking for child (_singleton_). [Fri Jan 18 04:19:20.772818 2019] [watchdog:debug] [pid 28514] mod_watchdog.c(516): AH02978: Watchdog: Looking for child (_default_). [Fri Jan 18 04:19:20.773834 2019] [mpm_prefork:notice] [pid 28514] AH00163: Apache/2.4.29 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 OpenSSL/1.1.0g configured -- resuming normal operations [Fri Jan 18 04:19:20.773842 2019] [mpm_prefork:info] [pid 28514] AH00164: Server built: 2018-10-10T18:59:25 [Fri Jan 18 04:19:20.773849 2019] [core:notice] [pid 28514] AH00094: Command line: '/usr/sbin/apache2' [Fri Jan 18 04:19:20.773851 2019] [core:debug] [pid 28514] log.c(1570): AH02639: Using SO_REUSEPORT: yes (1) [Fri Jan 18 04:19:20.773867 2019] [mpm_prefork:debug] [pid 28514] prefork.c(923): AH00165: Accept mutex: fcntl (default: sysvsem) [Fri Jan 18 04:19:20.777421 2019] [watchdog:debug] [pid 29114] mod_watchdog.c(565): AH02980: Watchdog: nothing configured? [Fri Jan 18 04:19:20.777503 2019] [proxy:debug] [pid 29114] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared [Fri Jan 18 04:19:20.777510 2019] [proxy:debug] [pid 29114] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local [Fri Jan 18 04:19:20.777525 2019] [proxy:debug] [pid 29114] proxy_util.c(1878): AH00931: initialized single connection worker in child 29114 for (*) [Fri Jan 18 04:19:20.778007 2019] [ssl:info] [pid 29114] [client 192.168.1.1:47184] AH01964: Connection to child 1 established (server www.MY_DOMAIN.net:443) [Fri Jan 18 04:19:20.778241 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(2139): [client 192.168.1.1:47184] AH02043: SSL virtual host for servername cloud.MY_DOMAIN.net found [Fri Jan 18 04:19:20.778267 2019] [core:debug] [pid 29114] protocol.c(2257): [client 192.168.1.1:47184] AH03155: select protocol from , choices=h2,http/1.1 for server cloud.MY_DOMAIN.net [Fri Jan 18 04:19:20.781857 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(2067): [client 192.168.1.1:47184] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) [Fri Jan 18 04:19:20.782763 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Initial (No.1) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:20.783793 2019] [watchdog:debug] [pid 29115] mod_watchdog.c(565): AH02980: Watchdog: nothing configured? [Fri Jan 18 04:19:20.783874 2019] [proxy:debug] [pid 29115] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared [Fri Jan 18 04:19:20.783881 2019] [proxy:debug] [pid 29115] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local [Fri Jan 18 04:19:20.783898 2019] [proxy:debug] [pid 29115] proxy_util.c(1878): AH00931: initialized single connection worker in child 29115 for (*) [Fri Jan 18 04:19:21.779826 2019] [watchdog:debug] [pid 29120] mod_watchdog.c(565): AH02980: Watchdog: nothing configured? [Fri Jan 18 04:19:21.779935 2019] [proxy:debug] [pid 29120] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared [Fri Jan 18 04:19:21.779942 2019] [proxy:debug] [pid 29120] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local [Fri Jan 18 04:19:21.779971 2019] [proxy:debug] [pid 29120] proxy_util.c(1878): AH00931: initialized single connection worker in child 29120 for (*) [Fri Jan 18 04:19:23.304175 2019] [ssl:info] [pid 29115] [client 192.168.1.1:47190] AH01964: Connection to child 2 established (server www.MY_DOMAIN.net:443) [Fri Jan 18 04:19:23.304484 2019] [ssl:debug] [pid 29115] ssl_engine_kernel.c(2139): [client 192.168.1.1:47190] AH02043: SSL virtual host for servername cloud.MY_DOMAIN.net found [Fri Jan 18 04:19:23.304499 2019] [core:debug] [pid 29115] protocol.c(2257): [client 192.168.1.1:47190] AH03155: select protocol from , choices=h2,http/1.1 for server cloud.MY_DOMAIN.net [Fri Jan 18 04:19:23.305841 2019] [ssl:debug] [pid 29115] ssl_engine_kernel.c(2067): [client 192.168.1.1:47190] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) [Fri Jan 18 04:19:23.305954 2019] [ssl:debug] [pid 29115] ssl_engine_kernel.c(377): [client 192.168.1.1:47190] AH02034: Initial (No.1) HTTPS request received for child 2 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:23.782768 2019] [watchdog:debug] [pid 29134] mod_watchdog.c(565): AH02980: Watchdog: nothing configured? [Fri Jan 18 04:19:23.782860 2019] [proxy:debug] [pid 29134] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared [Fri Jan 18 04:19:23.782866 2019] [proxy:debug] [pid 29134] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local [Fri Jan 18 04:19:23.782881 2019] [proxy:debug] [pid 29134] proxy_util.c(1878): AH00931: initialized single connection worker in child 29134 for (*) [Fri Jan 18 04:19:23.795902 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.2) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:23.860810 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.3) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:23.955395 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.4) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:24.092544 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.5) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:24.237533 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.6) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:25.200469 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.7) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:25.237710 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.8) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:25.338693 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.9) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:25.642150 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.10) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:25.869587 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.11) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:25.974026 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.12) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.118787 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.13) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.229663 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.14) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.340689 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.15) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.681396 2019] [ssl:debug] [pid 28656] ssl_engine_kernel.c(377): [client 192.168.1.1:63023] AH02034: Subsequent (No.4) HTTPS request received for child 3 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.823089 2019] [ssl:debug] [pid 28656] ssl_engine_io.c(1103): [client 192.168.1.1:63023] AH02001: Connection closed to child 3 with standard shutdown (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.856368 2019] [ssl:info] [pid 29120] [client 192.168.1.1:63039] AH01964: Connection to child 6 established (server www.MY_DOMAIN.net:443) [Fri Jan 18 04:19:26.856817 2019] [ssl:debug] [pid 29120] ssl_engine_kernel.c(2139): [client 192.168.1.1:63039] AH02043: SSL virtual host for servername cloud.MY_DOMAIN.net found [Fri Jan 18 04:19:26.863787 2019] [ssl:debug] [pid 29120] ssl_engine_kernel.c(2067): [client 192.168.1.1:63039] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) [Fri Jan 18 04:19:26.865493 2019] [ssl:debug] [pid 29120] ssl_engine_kernel.c(377): [client 192.168.1.1:63039] AH02034: Initial (No.1) HTTPS request received for child 6 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:27.153860 2019] [ssl:debug] [pid 29120] ssl_engine_kernel.c(377): [client 192.168.1.1:63039] AH02034: Subsequent (No.2) HTTPS request received for child 6 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:27.297174 2019] [ssl:debug] [pid 29120] ssl_engine_kernel.c(377): [client 192.168.1.1:63039] AH02034: Subsequent (No.3) HTTPS request received for child 6 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:27.436015 2019] [ssl:info] [pid 29134] [client 192.168.1.1:63040] AH01964: Connection to child 7 established (server www.MY_DOMAIN.net:443) [Fri Jan 18 04:19:27.436301 2019] [ssl:debug] [pid 29134] ssl_engine_kernel.c(2139): [client 192.168.1.1:63040] AH02043: SSL virtual host for servername tautulli.MY_DOMAIN.net found [Fri Jan 18 04:19:27.436335 2019] [core:debug] [pid 29134] protocol.c(2257): [client 192.168.1.1:63040] AH03155: select protocol from , choices=h2,http/1.1 for server tautulli.MY_DOMAIN.net [Fri Jan 18 04:19:27.439472 2019] [ssl:debug] [pid 29134] ssl_engine_kernel.c(2067): [client 192.168.1.1:63040] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits) [Fri Jan 18 04:19:27.786856 2019] [watchdog:debug] [pid 29183] mod_watchdog.c(565): AH02980: Watchdog: nothing configured? [Fri Jan 18 04:19:27.786966 2019] [proxy:debug] [pid 29183] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared [Fri Jan 18 04:19:27.786973 2019] [proxy:debug] [pid 29183] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local [Fri Jan 18 04:19:27.786988 2019] [proxy:debug] [pid 29183] proxy_util.c(1878): AH00931: initialized single connection worker in child 29183 for (*) [Fri Jan 18 04:19:28.787927 2019] [watchdog:debug] [pid 29186] mod_watchdog.c(565): AH02980: Watchdog: nothing configured? [Fri Jan 18 04:19:28.788027 2019] [proxy:debug] [pid 29186] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared [Fri Jan 18 04:19:28.788035 2019] [proxy:debug] [pid 29186] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local [Fri Jan 18 04:19:28.788053 2019] [proxy:debug] [pid 29186] proxy_util.c(1878): AH00931: initialized single connection worker in child 29186 for (*) [Fri Jan 18 04:19:30.941966 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.16) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:30.983215 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.17) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:31.326812 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.18) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:31.372147 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.19) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:31.462389 2019] [ssl:debug] [pid 29120] ssl_engine_kernel.c(377): [client 192.168.1.1:63039] AH02034: Subsequent (No.4) HTTPS request received for child 6 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:33.877610 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.20) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:33.915044 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.21) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:34.368821 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.22) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:34.608589 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.23) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:34.660253 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.24) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:35.206134 2019] [ssl:debug] [pid 28735] ssl_engine_io.c(1103): [client 192.168.1.1:49536] AH02001: Connection closed to child 0 with standard shutdown (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:35.206771 2019] [ssl:debug] [pid 28658] ssl_engine_io.c(1103): [client 192.168.1.1:38116] AH02001: Connection closed to child 4 with standard shutdown (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:35.213859 2019] [ssl:debug] [pid 28807] ssl_engine_io.c(1103): [client 192.168.1.1:46554] AH02001: Connection closed to child 5 with standard shutdown (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:35.491299 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.25) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:35.567105 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.26) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:38.535059 2019] [ssl:debug] [pid 29115] ssl_engine_io.c(1103): [client 192.168.1.1:47190] AH02001: Connection closed to child 2 with standard shutdown (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:39.299918 2019] [ssl:debug] [pid 29114] ssl_engine_kernel.c(377): [client 192.168.1.1:47184] AH02034: Subsequent (No.27) HTTPS request received for child 1 (server cloud.MY_DOMAIN.net:443) [Fri Jan 18 04:19:40.777331 2019] [core:info] [pid 28514] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=28514) [Fri Jan 18 04:19:40.777360 2019] [mpm_prefork:notice] [pid 28514] AH00169: caught SIGTERM, shutting down 

Clearly, mpm_prefork sends Apache a SIGTERM, triggering the shut down. But I don’t understand what is causing this to occur. Is there another log file that I should be examining?

The contents of mpm_prefork.conf was originally set to default values. The server is never under a heavy load and I don’t see anything indicating that MaxClients is reached or anything of the sort. Despite this, I thought that perhaps the default settings were still to restrictive, so I have tried adjusting them to improve performance:

<IfModule mpm_prefork_module>   StartServers 2   MinSpareServers 2   MaxSpareServers 5   MaxClients 50   ServerLimit 50   MaxRequestsPerChild 100 </IfModule> 

Am I overlooking something? Any help or pointers are appreciated, thanks!

Unable to install Apache Kafka due to gradle lock

I’m trying to build Apache Kafka cloned from here using gradle. However when I run ./gradlew installAll it fails with the following error message:

* What went wrong:

Cannot lock buildSrc build lock as it has already been locked by this process.

I have tried deleting the locks in ~/.gradle/caches and even switching to older versions of gradle, but nothing seems to work. What’s going on here and what else can I try?

FCGI: attempt to connect to 127.0.0.1:9000 (*) failed Apache 2.4, PHP7.1-FPM with unix socket

I am trying to set up PHP7.1-FPM on MacOS Mojave! I followed this guide and got all the way through to the end when it stopped working.

I’ve got my services installed:

$   sudo brew services list Name    Status  User Plist httpd   started root /Library/LaunchDaemons/homebrew.mxcl.httpd.plist php@7.1 started root /Library/LaunchDaemons/homebrew.mxcl.php@7.1.plist 

I’ve set up my httpd.conf:

# # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule dir_module>     DirectoryIndex index.php index.html index.htm </IfModule>  <VirtualHost *:*>    ProxyPassMatch "^/(.*\.php(/.*)?)$  " "fcgi://127.0.0.1:9000/usr/local/var/www/$  1" </VirtualHost> <FilesMatch \.php$  >     SetHandler "proxy:unix:/usr/var/run/php7.1-fpm.sock|fcgi://localhost/" </FilesMatch> 

In my /etc/php-fpm.d/www.conf I’ve got

listen = /var/run/php/php7.1-fpm.sock 

If I check for the processes it seems all good:

$   ps aux | grep php-fpm                        10.2s  Thu 17 Jan 14:15:40 2019 finnlesueur       3718   0.0  0.0  4268052    692 s001  S+   12:28pm   0:00.01 tail -f /usr/local/var/log/php-fpm.log finnlesueur      30588   0.0  0.0  4268060    812 s000  S+    2:15pm   0:00.00 grep --color=auto php-fpm _www             29371   0.0  0.0  4520960   1180   ??  S     2:08pm   0:00.00 /usr/local/opt/php@7.1/sbin/php-fpm --nodaemonize _www             29370   0.0  0.0  4520960   1080   ??  S     2:08pm   0:00.00 /usr/local/opt/php@7.1/sbin/php-fpm --nodaemonize root             29366   0.0  0.1  4518912  30808   ??  Ss    2:08pm   0:00.08 /usr/local/opt/php@7.1/sbin/php-fpm --nodaemonize  $   ps aux | grep httpd finnlesueur      29346   0.0  0.0  4345112   1832   ??  S     2:08pm   0:00.00 /usr/local/opt/httpd/bin/httpd -D FOREGROUND root             29332   0.0  0.0  4309296   2720   ??  Ss    2:08pm   0:00.09 /usr/local/opt/httpd/bin/httpd -D FOREGROUND finnlesueur      30727   0.0  0.0  4268060    812 s000  S+    2:16pm   0:00.00 grep --color=auto httpd finnlesueur      29350   0.0  0.0  4328728   1172   ??  S     2:08pm   0:00.00 /usr/local/opt/httpd/bin/httpd -D FOREGROUND finnlesueur      29349   0.0  0.0  4345112   1180   ??  S     2:08pm   0:00.00 /usr/local/opt/httpd/bin/httpd -D FOREGROUND finnlesueur      29348   0.0  0.0  4353304   1184   ??  S     2:08pm   0:00.00 /usr/local/opt/httpd/bin/httpd -D FOREGROUND finnlesueur      29347   0.0  0.0  4335896   1192   ??  S     2:08pm   0:00.00 /usr/local/opt/httpd/bin/httpd -D FOREGROUND 

My DocumentRoot has an index.php where it’s just echoing phpinfo(); and that also seems fine, but when I load localhost I see 503 Service Unavailable and in my HTTP error log I get:

[Thu Jan 17 14:18:57.654807 2019] [authz_core:debug] [pid 29347] mod_authz_core.c(817): [client ::1:57866] AH01626: authorization result of Require all granted: granted [Thu Jan 17 14:18:57.654991 2019] [authz_core:debug] [pid 29347] mod_authz_core.c(817): [client ::1:57866] AH01626: authorization result of <RequireAny>: granted [Thu Jan 17 14:18:57.655083 2019] [authz_core:debug] [pid 29347] mod_authz_core.c(845): [client ::1:57866] AH01628: authorization result: granted (no directives) [Thu Jan 17 14:18:57.655119 2019] [proxy_fcgi:debug] [pid 29347] mod_proxy_fcgi.c(108): [client ::1:57866] AH01060: set r->filename to proxy:fcgi://127.0.0.1:9000/usr/local/var/www/index.php [Thu Jan 17 14:18:57.655162 2019] [proxy:debug] [pid 29347] mod_proxy.c(1246): [client ::1:57866] AH01143: Running scheme fcgi handler (attempt 0) [Thu Jan 17 14:18:57.655171 2019] [proxy_fcgi:debug] [pid 29347] mod_proxy_fcgi.c(1019): [client ::1:57866] AH01076: url: fcgi://127.0.0.1:9000/usr/local/var/www/index.php proxyname: (null) proxyport: 0 [Thu Jan 17 14:18:57.655183 2019] [proxy_fcgi:debug] [pid 29347] mod_proxy_fcgi.c(1028): [client ::1:57866] AH01078: serving URL fcgi://127.0.0.1:9000/usr/local/var/www/index.php [Thu Jan 17 14:18:57.655191 2019] [proxy:debug] [pid 29347] proxy_util.c(2313): AH00942: FCGI: has acquired connection for (*) [Thu Jan 17 14:18:57.655199 2019] [proxy:debug] [pid 29347] proxy_util.c(2367): [client ::1:57866] AH00944: connecting fcgi://127.0.0.1:9000/usr/local/var/www/index.php to 127.0.0.1:9000 [Thu Jan 17 14:18:57.655219 2019] [proxy:debug] [pid 29347] proxy_util.c(2576): [client ::1:57866] AH00947: connected /usr/local/var/www/index.php to 127.0.0.1:9000 [Thu Jan 17 14:18:57.655346 2019] [proxy:error] [pid 29347] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed [Thu Jan 17 14:18:57.655367 2019] [proxy_fcgi:error] [pid 29347] [client ::1:57866] AH01079: failed to make connection to backend: 127.0.0.1 [Thu Jan 17 14:18:57.655375 2019] [proxy:debug] [pid 29347] proxy_util.c(2328): AH00943: FCGI: has released connection for (*) 

And nothing makes it to my PHP-FPM log, I guess because the connection has not been made.

I’ve been Googling for hours but can’t seem to find anything that works. Any help would be appreciated!

Let me know if there’s extra information I can provide!

Update 1

$   sudo lsof -U | grep php php-fpm   29366            root    5u  unix 0xf497a489280ca0c1      0t0      ->0xf497a489280c91e9 php-fpm   29366            root    6u  unix 0xf497a489280c91e9      0t0      ->0xf497a489280ca0c1 php-fpm   29366            root    7u  unix 0xf497a489280c9a81      0t0      /var/run/php/php7.1-fpm.sock php-fpm   29370            _www    8u  unix 0xf497a489280c9a81      0t0      /var/run/php/php7.1-fpm.sock php-fpm   29371            _www    8u  unix 0xf497a489280c9a81      0t0      /var/run/php/php7.1-fpm.sock 

Can’t View Apache Test Page Using Ubuntu Server AWS

I have an AWS instance running Ubuntu. I installed Apache and Ngix with the following commands:

 sudo apt install apache2 apache2-utils libapache2-mod-python libapache2-mod-php sudo service apache2 stop sudo apt install nginx sudo service nginx stop sudo service apache2 start 

From my understanding, if I go to the public DNS of my AWS instance, I should be getting the Apache test page. However, it is just timing out. I viewed /var/www/html and the index.html page is there, along with another .html page.

Is there something else I need to do? Or configure in AWS?

Apache h2_filter OS 10060 A connection attempt failed because the connected party did not properly respond after a period of time

I’ve been trying to figure this out all day and have exhausted myself..

Scenario:

  • OS Windows 10
  • Apache 2.4
  • PHP 7.3 TS
  • OpenSSL

Symptoms:

Web applications sporadically take an abnormal amount of time to load, out of memory errors, Apache restarting.

Problem:

Whilst attempting to load (over SSL) a simple PHP file, that contains nothing but "Hello World!", I get the following in debug error logs:

[Tue Jan 15 15:04:10.583574 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(998): [client 127.0.0.1:52321] AH03200: h2_session(199) created, max_streams=100, stream_mem=65536, workers_limit=6, workers_max=200, push_diary(type=0,N=256) [Tue Jan 15 15:04:10.583574 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1106): [client 127.0.0.1:52321] AH03201: h2_session(199): start, INITIAL_WINDOW_SIZE=65535, MAX_CONCURRENT_STREAMS=100 [Tue Jan 15 15:04:10.583574 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(2070): [client 127.0.0.1:52321] AH03079: h2_session(199): started on {MY_WEB_APP}:443 [Tue Jan 15 15:04:10.583574 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1740): [client 127.0.0.1:52321] AH03078: h2_session(199): transit [INIT] -- init --> [BUSY] [Tue Jan 15 15:04:10.583574 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(436): [client 127.0.0.1:52321] AH03066: h2_session(199): recv FRAME[SETTINGS[length=18, stream=0]], frames=0/0 (r/s) [Tue Jan 15 15:04:10.583574 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(436): [client 127.0.0.1:52321] AH03066: h2_session(199): recv FRAME[WINDOW_UPDATE[stream=0, incr=15663105]], frames=1/0 (r/s) [Tue Jan 15 15:04:10.584572 2019] [http2:debug] [pid 17036:tid 3432] h2_stream.c(211): [client 127.0.0.1:52321] AH03082: h2_stream(199-1): opened [Tue Jan 15 15:04:10.584572 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(436): [client 127.0.0.1:52321] AH03066: h2_session(199): recv FRAME[HEADERS[length=272, hend=1, stream=1, eos=1]], frames=2/0 (r/s) [Tue Jan 15 15:04:10.584572 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[SETTINGS[length=6, stream=0]], frames=3/0 (r/s) [Tue Jan 15 15:04:10.584572 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[SETTINGS[ack=1, stream=0]], frames=3/1 (r/s) [Tue Jan 15 15:04:10.584572 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[WINDOW_UPDATE[stream=0, incr=2147418112]], frames=3/2 (r/s) [Tue Jan 15 15:04:10.586573 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(436): [client 127.0.0.1:52321] AH03066: h2_session(199): recv FRAME[SETTINGS[ack=1, stream=0]], frames=3/3 (r/s) [Tue Jan 15 15:04:10.589569 2019] [http2:debug] [pid 17036:tid 1044] h2_task.c(84): [client 127.0.0.1:52321] AH03348: h2_task(199-1): open output to GET {MY_WEB_APP} /Tester.php [Tue Jan 15 15:04:10.589569 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1454): [client 127.0.0.1:52321] AH03073: h2_stream(199-1): submit response 200, REMOTE_WINDOW_SIZE=6291456 [Tue Jan 15 15:04:10.589569 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1599): [client 127.0.0.1:52321] AH02936: h2_stream(199-1): resuming Invalid argument [Tue Jan 15 15:04:10.589569 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[HEADERS[length=93, hend=1, stream=1, eos=0]], frames=4/3 (r/s) [Tue Jan 15 15:04:10.589569 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[DATA[length=17, flags=1, stream=1, padlen=0]], frames=4/4 (r/s) [Tue Jan 15 15:04:10.590568 2019] [http2:debug] [pid 17036:tid 3432] h2_mplx.c(373): [client 127.0.0.1:52321] AH03385: h2_task(199-1): destroy output beam empty=1, holds proxies=0 [Tue Jan 15 15:04:10.590568 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1740): [client 127.0.0.1:52321] AH03078: h2_session(199): transit [BUSY] -- no io (keepalive) --> [IDLE] [Tue Jan 15 15:04:10.650529 2019] [http2:debug] [pid 17036:tid 3432] h2_stream.c(211): [client 127.0.0.1:52321] AH03082: h2_stream(199-3): opened [Tue Jan 15 15:04:10.650529 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(436): [client 127.0.0.1:52321] AH03066: h2_session(199): recv FRAME[HEADERS[length=116, hend=1, stream=3, eos=1]], frames=4/5 (r/s) [Tue Jan 15 15:04:10.650529 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1740): [client 127.0.0.1:52321] AH03078: h2_session(199): transit [IDLE] -- data read --> [BUSY] [Tue Jan 15 15:04:10.652530 2019] [http2:debug] [pid 17036:tid 1048] h2_task.c(84): [client 127.0.0.1:52321] AH03348: h2_task(199-3): open output to GET {MY_WEB_APP} /favicon.ico [Tue Jan 15 15:04:10.652530 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1454): [client 127.0.0.1:52321] AH03073: h2_stream(199-3): submit response 200, REMOTE_WINDOW_SIZE=6291456 [Tue Jan 15 15:04:10.652530 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1599): [client 127.0.0.1:52321] AH02936: h2_stream(199-3): resuming Invalid argument [Tue Jan 15 15:04:10.652530 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[HEADERS[length=70, hend=1, stream=3, eos=0]], frames=5/5 (r/s) [Tue Jan 15 15:04:10.652530 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[DATA[length=4286, flags=1, stream=3, padlen=0]], frames=5/6 (r/s) [Tue Jan 15 15:04:10.653529 2019] [http2:debug] [pid 17036:tid 3432] h2_mplx.c(373): [client 127.0.0.1:52321] AH03385: h2_task(199-3): destroy output beam empty=1, holds proxies=0 [Tue Jan 15 15:04:10.653529 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1740): [client 127.0.0.1:52321] AH03078: h2_session(199): transit [BUSY] -- no io (keepalive) --> [IDLE] [Tue Jan 15 15:04:11.653896 2019] [http2:debug] [pid 17036:tid 3432] h2_filter.c(167): (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : [client 127.0.0.1:52321] AH03046: h2_conn_io: error reading [Tue Jan 15 15:04:12.654346 2019] [http2:debug] [pid 17036:tid 3432] h2_filter.c(167): (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : [client 127.0.0.1:52321] AH03046: h2_conn_io: error reading [Tue Jan 15 15:04:13.654343 2019] [http2:debug] [pid 17036:tid 3432] h2_filter.c(167): (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : [client 127.0.0.1:52321] AH03046: h2_conn_io: error reading [Tue Jan 15 15:04:14.654335 2019] [http2:debug] [pid 17036:tid 3432] h2_filter.c(167): (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : [client 127.0.0.1:52321] AH03046: h2_conn_io: error reading [Tue Jan 15 15:04:15.654584 2019] [http2:debug] [pid 17036:tid 3432] h2_filter.c(167): (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : [client 127.0.0.1:52321] AH03046: h2_conn_io: error reading [Tue Jan 15 15:04:15.654584 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1740): [client 127.0.0.1:52321] AH03078: h2_session(199): transit [IDLE] -- timeout --> [DONE] [Tue Jan 15 15:04:15.654584 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(658): [client 127.0.0.1:52321] AH03068: h2_session(199): sent FRAME[GOAWAY[error=0, reason='timeout', last_stream=3]], frames=5/7 (r/s) [Tue Jan 15 15:04:15.654584 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(803): [client 127.0.0.1:52321] AH03069: session(199): sent GOAWAY, err=0, msg=timeout [Tue Jan 15 15:04:15.654584 2019] [http2:debug] [pid 17036:tid 3432] h2_conn.c(215): (70014)End of file found: [client 127.0.0.1:52321] AH03045: h2_session(199): process, closing conn [Tue Jan 15 15:04:44.495971 2019] [http2:debug] [pid 17036:tid 3428] h2_h2.c(624): (106)Unknown error: [client 127.0.0.1:52320] AH03054: h2_h2, error reading 24 bytes speculative 

I am a bit of a novice when it comes to understanding these “errors”, and please correct me if I am wrong, but it seems to me that all is OK, until I get to:

[Tue Jan 15 15:04:10.653529 2019] [http2:debug] [pid 17036:tid 3432] h2_session.c(1740): [client 127.0.0.1:52321] AH03078: h2_session(199): transit [BUSY] -- no io (keepalive) --> [IDLE] [Tue Jan 15 15:04:11.653896 2019] [http2:debug] [pid 17036:tid 3432] h2_filter.c(167): (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : [client 127.0.0.1:52321] AH03046: h2_conn_io: error reading 

There appears to be some repetitive attempts, before a 30 second delay until the connection is closed or an unknown error.

I am not certain whether it is a problem with h2_session or h2_filter. nor do I know what the resuming Invalid argument error relates to.

I’ve searched the pants off this, but the only thing that comes close related to proxy settings. And although I have the proxy modules loaded, I don’t have any virtual sites using them.

I have checked the full debug errors and I am not getting anything related to SSL.

Does anyone have any idea as to what I should be looking for?

Cheers

What happens to connected clients when Apache 2 is stopped?

I have a legacy Apache HTTPD 2 server running in MPM prefork mode. A mis-configuration left us in a situation where the MaxRequestWorkers setting was too low, causing client requests to queue waiting for a child process to service their request.

During this scenario, an apache2ctl -k restart command was issued, stopping all the child processes and restarting the daemon.

I cannot find any indication in the Apache documentation as to the effects this would have on:

  • Client connections currently being serviced by a child process
  • Client connections queued awaiting a child process.

My assumption is that a TCP-level disconnection would occur, but would be grateful if anyone could confirm, or describe the behaviour if otherwise.

Apache and MySQL processes running at 100% CPU

I have a production server that’s usually very stable, and has been for a very long time.

Last night, it suddenly started showing very high loads (150+). Deactivating Apache will decrease the load immediately.

enter image description here

Here’s the output of top, shortly after restarting Apache, already the load has climbed back to 22.68.

Server logs and the output of mod_status don’t show anything particlarly interesting, other than that requests start backing up because of the high load.

It doesn’t seem like there’s any unusual server load at all in terms of requests to explain the sudden problem.

Any ideas?

PHP 7.2 – Apache 2.4 memory limit issue

We are running Ubuntu 16.04 LTS with Apache 2.4 and PHP 7.2. 9 times out of 10, the web app works well, but at a random interval, we come across this error message.

“Allowed memory of 134217728 bytes exhausted(tried to allocate 135168 bytes) in {file} line …”

We are testing this on a staging server which is only used for a few of us – so the memory/CPU utilisation is a bare minimum.

One thing to note is that we only get this issue when we try to access content from outside the network via these PHP functions

file_get_contents get_headers

Restarting apache fixes the issue but it comes back again very very randomly – sometimes immediately and other times in 1 day.

We tried increasing the PHP memory limit but that didn’t help. This file_get_contents fails even for very very small files.

We have the same setup on our local machines (Win & Mac) and the web app works perfectly fine and we never hit these memory issues.

Any clue what could be going on or where should we look next? Could it be missing Apache Modules?

Thanks for your help in advance!