Bug 66417 - Unable to restart the hosts due to slotmem issue in RH OS
Summary: Unable to restart the hosts due to slotmem issue in RH OS
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.4.54
Hardware: All FreeBSD
: P1 critical with 8 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2023-01-11 21:15 UTC by Sahithi Adduri
Modified: 2023-04-28 21:07 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Sahithi Adduri 2023-01-11 21:15:07 UTC
[Sat Dec 17 16:23:13.476229 2022] [slotmem_shm:error] [pid 1634859:tid 140714406766464] (17)File exists: AH02611: create: apr_shm_create(/var/log/apache/s1-eu.ariba.com/shm/slotmem-shm-p15744fb4_s4taskcxml_c12_0.shm) failed

[Sat Dec 17 16:23:13.476283 2022] [:emerg] [pid 1634859:tid 140714406766464] AH00020: Configuration Failed, exiting

hosts running with RH8 OS are not restarting with the above issue.
Comment 1 Marc Stern 2023-02-10 11:32:59 UTC
I think it's a duplicate of https://bz.apache.org/bugzilla/show_bug.cgi?id=65180

I added some info in that ticket as it contains more detailed debugging info.
Comment 2 Sahithi Adduri 2023-04-28 21:07:43 UTC
tried various code fixes, but seemed unable to completely solve the issue. There is some speculation that the underlying kernel code that Apache relies on to clear shared memory may “fail silently”.

So, we are possibly hitting a known bug in the Apache code or kernel bug, that only happens when there are a large number of shared memory segments that are deleted and re-created very quickly.

This is true even in the more recent Apache release we are using: 2.4.54