Apache2 still sometimes down

staff_nowa

Verified User
Joined
Mar 10, 2018
Messages
144
Location
Vilnius
[Wed Mar 16 17:10:02.355970 2022] [lbmethod_heartbeat:notice] [pid 588661:tid 140303536486336] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 16 17:10:02.359898 2022] [mpm_event:notice] [pid 588661:tid 140303536486336] AH00489: Apache/2.4.53 (Unix) OpenSSL/1.1.1k configured -- resuming normal operations
[Wed Mar 16 17:10:02.359911 2022] [core:notice] [pid 588661:tid 140303536486336] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Mar 16 17:10:03.513671 2022] [mpm_event:alert] [pid 590318:tid 140303536486336] (11)Resource temporarily unavailable: AH00480: ap_thread_create: unable to create worker thread
[Wed Mar 16 17:10:03.513948 2022] [mpm_event:alert] [pid 590592:tid 140303536486336] (11)Resource temporarily unavailable: AH00480: ap_thread_create: unable to create worker thread
[Wed Mar 16 17:10:03.514242 2022] [core:crit] [pid 590592:tid 140303325284096] AH00102: [Wed Mar 16 17:10:03 2022] file h2_workers.c, line 65, assertion "!slot->next" failed
[Wed Mar 16 17:10:03.514474 2022] [core:crit] [pid 590318:tid 140303199393536] AH00102: [Wed Mar 16 17:10:03 2022] file h2_workers.c, line 65, assertion "!slot->next" failed
[Wed Mar 16 17:10:04.499902 2022] [core:notice] [pid 588661:tid 140303536486336] AH00052: child pid 590318 exit signal Aborted (6)
[Wed Mar 16 17:10:04.499973 2022] [core:notice] [pid 588661:tid 140303536486336] AH00052: child pid 590592 exit signal Aborted (6)
 
Just to be sure, you might want to check this thread, might be another cause, not sure.
 
Just to be sure, you might want to check this thread, might be another cause, not sure.
Nothing. The issue still happens. Maybe you have any ideas why I have still this?
 
What does this give
Code:
grep apache_mpm /usr/local/directadmin/custombuild/options.conf

Also what commands have you run to fix the issue.

OS and Version
Hardware specs Cpu # and Ram
 
Before I tried to put ulimit -s 10240 more than default.
About apache_mpm returns
Code:
apache_mpm=auto
OS: Debian 11
CPU: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
RAM: 32 GB
 
Temporary to fix issue every hour restarts httpd service. Service status active but never get new resources and down
 
You have something going on. Did you rebuild Apache after the new version came out?

Code:
httpd -V | grep 'MPM'

I assume apt is all updated?
 
I still see issues with Apache 2.4.52 & 2.4.53 on older servers (CentOS 6), no surprise as these are EOL.

Your best bet is to do a roll back to Apache 2.4.51 and migrate to a new system if you are running EOL.

Code:
echo "apache2.4:2.4.51:" >> /usr/local/directadmin/custombuild/custom_versions.txt
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build apache
 
I still see issues with Apache 2.4.52 & 2.4.53 on older servers (CentOS 6), no surprise as these are EOL.

Your best bet is to do a roll back to Apache 2.4.51 and migrate to a new system if you are running EOL.

Code:
echo "apache2.4:2.4.51:" >> /usr/local/directadmin/custombuild/custom_versions.txt
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build apache
I am running Debian 11 (latest)
 
I see, then there must be another factor that causes these random crashes. I do believe the instability is mainly noticeable on busy servers so that could be an explanation why some people experience it as stable and others not. Everyone in this thread is running MPM event right?

The instability I have seen till now were only on the older CentOS 6.10 servers, I have a few hundred servers running a variety of distributions so if I see any other pattern I'll let you know. One thing I do know is that it started with Apache 2.4.52, around the time DirectAdmin also did a roll back back to 2.4.51.

I'd rather not do a version roll back as there has been some security fixes so if we can find the cause that would be awesome.
 
Guys, I am also facing same error in apache2 http2.

I am running apache reverse proxy in ubuntu 20 and enabled http2 for mpm_worker. Getting below errors.

[Wed Jun 08 12:28:01.173155 2022] [core:crit] [pid 6535:tid 140522653550336] AH00102: [Wed Jun 08 12:28:01 2022] file h2_workers.c, line 65, assertion "!slot->next" failed
[Wed Jun 08 12:28:01.173163 2022] [core:crit] [pid 6535:tid 140522645157632] AH00102: [Wed Jun 08 12:28:01 2022] file h2_workers.c, line 65, assertion "!slot->next" failed

Can you guys pls help on this.
 
Have you probably tried Apache 2.4.54 already?

Guys, I am also facing same error in apache2 http2.

I am running apache reverse proxy in ubuntu 20 and enabled http2 for mpm_worker. Getting below errors.

[Wed Jun 08 12:28:01.173155 2022] [core:crit] [pid 6535:tid 140522653550336] AH00102: [Wed Jun 08 12:28:01 2022] file h2_workers.c, line 65, assertion "!slot->next" failed
[Wed Jun 08 12:28:01.173163 2022] [core:crit] [pid 6535:tid 140522645157632] AH00102: [Wed Jun 08 12:28:01 2022] file h2_workers.c, line 65, assertion "!slot->next" failed

Can you guys pls help on this.
 
Back
Top