Bug 1239164

Summary: mod_ssl leaks memory on httpd reload
Product: Red Hat Enterprise Linux 7 Reporter: neil
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Martin Frodl <mfrodl>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: isenfeld, jkaluza, jorton
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: mod_ssl did not call ERR_free_strings method during its cleanup. Consequence: On httpd reload, mod_ssl leaked memory. Fix: ERR_free_strings call is now called by mod_ssl during httpd reload. Result: mod_ssl does not leak memory on httpd reload anymore.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 04:38:16 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 neil 2015-07-03 20:21:04 UTC
Description of problem: During a graceful reload, the httpd daemon leaks a small amount of memory in the main process.


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


How reproducible: Every time.


Steps to Reproduce:
1. Start httpd with mod_ssl module loaded.
2. while true; do service httpd reload; sleep 0.3; done

Actual results: httpd memory usage steadily rises.


Expected results: httpd memory usage stays (relatively) constant.


Additional info: See upstream bug for more detailed description and patch.

Comment 2 Joe Orton 2015-07-06 09:09:06 UTC
Please contact Red Hat Support if you want a test package with the fix for this integrated.

Comment 9 errata-xmlrpc 2015-11-19 04:38:16 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://rhn.redhat.com/errata/RHBA-2015-2194.html