Bug 1666676 - mod_qos 11.5 Semaphore Leak When Performing Graceful Reloads
Summary: mod_qos 11.5 Semaphore Leak When Performing Graceful Reloads
Keywords:
Status: CLOSED DUPLICATE of bug 1686127
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mod_qos
Version: el6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Othman Madjoudj
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-16 11:00 UTC by Hugh McMillan
Modified: 2019-10-07 01:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-07 01:44:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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