Bug 1666676

Summary: mod_qos 11.5 Semaphore Leak When Performing Graceful Reloads
Product: [Fedora] Fedora EPEL Reporter: Hugh McMillan <admin>
Component: mod_qosAssignee: Othman Madjoudj <athmanem>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: athmanem, christof, luke
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-07 01:44:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hugh McMillan 2019-01-16 11:00:44 UTC
Description of problem:

When performing graceful reloads of Apache with this module active, the semaphore count increments by one. This will occur indefinitely until the service is either restarted or eventually reaches the max semaphore per process defined for the operating system in question. Reaching the limit results in the process crashing.

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

11.5

How reproducible:

Easily re-produced.

Steps to Reproduce:
1. Install httpd.x86_64 2.4.X from CentOS updates repo.
2. Install mod_qos 11.5 from EPEL repo.
3. Ensure this module is included in Apache configuration to be loaded.
4. Start Apache and then perform reloads with the module loaded to increment the semaphore count.

Actual results:

Semaphore count increases by one each time a reload is performed.

Expected results:

Semaphore count should not increase on a reload.

Additional info:

mod_qos 11.5 is the latest stable packaged up version provided by EPEL. Version 11.21 is stated to of fixed the leak as per the official mod_qos change documentation linked below (1). Even higher versions of the source are available, but none over version 11.5 are packaged up in EPEL making them difficult to manage on a standard build.

(1) https://fossies.org/linux/mod_qos/doc/CHANGES.txt

Comment 1 Othman Madjoudj 2019-10-07 01:43:57 UTC
I've refreshed EPEL7 release to 11.64 , however EPEL6 is eoled and cannot be updated afaik.

Comment 2 Othman Madjoudj 2019-10-07 01:44:35 UTC

*** This bug has been marked as a duplicate of bug 1686127 ***