Hello, A few days ago i upgraded our webserver to Apache 2.4.52 (from 2.4.51-1+ubuntu18.04.1+deb.sury.org+1), and now I'm seeing strange issue: Approx. every 1,5 days or every 1 day websites becoming not responsive. If it's virtualhost that could be reached directly -> it just loads very long, if it's virtualhost that is behind CloudFlare -> it also loads very long. In both cases -> website is not opening. In case of CloudFlare i don't see "typical" CF error, it just keeps loading. In apache's virtualhost logs i dont see exact error. Webserver's RAM/CPU/network/IO load as usual. Virtually nothing wrong. But websites in cascade one by one over +- 20-30 mins stopping working. As soon as apache restarted -> everything is back to normal. # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic # php-fpm7.3 -version PHP 7.3.33-1+ubuntu18.04.1+deb.sury.org+1 (fpm-fcgi) (built: Nov 19 2021 06:24:43) # apache2 -version Server version: Apache/2.4.52 (Ubuntu) Server built: 2021-12-20T21:06:57 # apt policy apache2 apache2: Installed: 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 Candidate: 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 Version table: *** 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 500 500 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status 2.4.29-1ubuntu4.20 500 500 http://il.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 2.4.29-1ubuntu4.18 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 2.4.29-1ubuntu4 500 500 http://il.archive.ubuntu.com/ubuntu bionic/main amd64 Packages ----- apache2/bionic,now 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed] apache2-bin/bionic,now 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic] apache2-data/bionic,bionic,now 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 all [installed,automatic] apache2-utils/bionic,now 2.4.52-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic] libapache2-mod-cloudflare/xenial,now 2016.11.0-1 amd64 [installed] libapache2-mod-fcgid/bionic,now 1:2.3.9-1 amd64 [installed] libapache2-mod-php7.3/bionic,now 7.3.33-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed] python-certbot-apache/bionic,bionic,now 0.31.0-1+ubuntu18.04.1+certbot+1 all [installed] python3-certbot-apache/bionic,bionic,now 0.31.0-1+ubuntu18.04.1+certbot+1 all [installed,automatic] What i see in apache error log: [Tue Dec 28 10:36:44.151538 2021] [proxy_fcgi:error] [pid 20792:tid 140114877458176] [client 95.91.75.28:20176] AH01071: Got error 'Primary script unknown' [Tue Dec 28 10:36:50.355352 2021] [proxy_fcgi:error] [pid 20791:tid 140114114115328] [client 95.91.75.28:16452] AH01071: Got error 'Primary script unknown' [Tue Dec 28 10:36:52.091766 2021] [proxy_fcgi:error] [pid 20791:tid 140115271718656] [client 95.91.75.28:16452] AH01071: Got error 'Primary script unknown' [Tue Dec 28 10:36:54.282002 2021] [proxy_fcgi:error] [pid 20791:tid 140115305289472] [client 95.91.75.28:16452] AH01071: Got error 'Primary script unknown' It was in the moment when issues appeared. But i's also could be seen here and there from time to time... Please advice, is there some additional information i need to provide? This looking very strange, because it appeared after upgrade to 2.4.52 and it's "fixed" by restarting apache2 service. Thanks.
Possibly the same issue as bug 65769, please try this patch: https://bz.apache.org/bugzilla/attachment.cgi?id=38147
Please advice, is this safe to do on production server?
Hello, I tried to apply proposed patch, but was not able to find in which file/place I should change values. I tried to find file: find / -type f -name "event.c" But it's seems that there is no such file and it's not clear how to find it. Please help. Thanks.
The patch is now part of the httpd-2.4.53 release (from yesterday). Could you please test if it resolved your issue?
Thank you. It's been almost month as we upgraded to 2.4.53. Upgrade fixed this issue. Thank you.