RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1656482 - Apache httpd fails to start because of "worker slotmem_create failed"
Summary: Apache httpd fails to start because of "worker slotmem_create failed"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: apr
Version: 7.7
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Maryna Nalbandian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-05 15:37 UTC by Tomás Briceño
Modified: 2021-01-14 09:34 UTC (History)
6 users (show)

Fixed In Version: apr-1.4.8-5.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 13:10:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 53996 0 None None None 2019-08-06 02:08:22 UTC
Red Hat Product Errata RHBA-2019:2254 0 None None None 2019-08-06 13:10:56 UTC

Description Tomás Briceño 2018-12-05 15:37:15 UTC
Description of problem:
Apache httpd fails to start. Error log shows:
[Thu Nov 15 11:51:58.368671 2018] [slotmem_shm:debug] [pid 3703899:tid 139787633764480] mod_slotmem_shm.c(339): AH02300: create /myc/httpd/run/myc01/slotmem-shm-peadc331_www_ws4_dev_mycompany_com.shm: 672/3
[Thu Nov 15 11:51:58.368724 2018] [proxy_balancer:emerg] [pid 3703899:tid 139787633764480] (17)File exists: AH01185: worker slotmem_create failed
[Thu Nov 15 11:51:58.368747 2018] [:emerg] [pid 3703899:tid 139787633764480] AH00020: Configuration Failed, exiting 

Strace shows:
3144330 13:29:59.954649 stat("/myc/httpd/run/myc01/slotmem-shm-peadc331_www_ws4_dev_mycompany_com.shm", {st_dev=makedev(253, 17), st_ino=1573573, st_mode=S_IFREG|0644, st_nlink=1, st_uid=603236, st_gid=134127, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2018/11/28-13:29:59.954278215, st_mtime=2018/11/28-13:29:59.954278215, st_ctime=2018/11/28-13:29:59.954278215}) = 0
3144330 13:29:59.954687 shmget(0x11102c5, 2043, IPC_CREAT|IPC_EXCL|0600) = -1 EEXIST (File exists)

After further debugging segment "0x11102c5" is already owned by a different instance of httpd.

This appears to be an instance of Apache httpd community issue:
https://bz.apache.org/bugzilla/show_bug.cgi?id=53996

This is fixed in Apache Portable Runtime 1.5.1, however RHEL 7 Apache httpd (2.4.6) ships with APR 1.4.8.


Version-Release number of selected component (if applicable):
1.4.8


How reproducible:
The issue is heavily environmental so there are no reproduction steps.


Steps to Reproduce:
N/A

Actual results:
N/A

Expected results:
N/A

Additional info:
N/A

Comment 3 Tomás Briceño 2019-02-20 09:50:12 UTC
This seems another flavor of the same issue:
[Wed Feb 20 08:34:44.867814 2019] [core:crit] [pid 21119:tid 139978256164992] (17)File exists: AH00001: unable to create or access scoreboard "/opt/local/app/alb/runtime/this/myserver/server.scoreboard" (name-based shared memory failure)

From strace:
21119 08:34:44 stat("/opt/local/app/alb/runtime/this/myserver/server.scoreboard", {st_dev=makedev(253, 2), st_ino=4194385, st_mode=S_IFREG|0640, st_nlink=1, st_uid=307, st_gid=300, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2019/02/20-08:34:44.867110011, st_mtime=2019/02/20-08:34:44.867110011, st_ctime=2019/02/20-08:34:44.867110011}) = 0 <0.000019>
21119 08:34:44 shmget(0x1020051, 254488, IPC_CREAT|IPC_EXCL|0600) = -1 EEXIST (File exists) <0.000011>

Comment 11 errata-xmlrpc 2019-08-06 13:10:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2254


Note You need to log in before you can comment on or make changes to this bug.