Red Hat Bugzilla – Bug 862839
Multiple http processes are over-consuming physical RAM
Last modified: 2017-07-05 11:17:15 EDT
Description of problem:
In 64-bit platforms (e.g., x86_64), Python needs more memory than on 32-bit (e.g., i386) platforms. In the context of RHN, the memory mod_python consumes in turn affects Apache (httpd), whose child processes may grow too big resulting in termination when they're over the SizeLimit. This causes no functionality loss, but will have a performance impact. Hence it's better to not limit httpd processes by size, instead, limit the number of requests.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
HTTP requests occupy most of the physical ram, causing a decrease in performance
The description of the problem for a RHN Satellite was taken from, https://access.redhat.com/knowledge/solutions/16546
The resolution for this problem for a RHN Satellite is to (should be relatively the same for RHN):
Comment out the following lines in /etc/rhn/satellite-httpd/conf/startup.pl:
$Apache2::SizeLimit::MAX_PROCESS_SIZE = 400_000; # 400,000 kbytes, ie, 400 meg
$Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 1;
Then, set the following line in /etc/rhn/satellite-httpd/conf/httpd.conf to:
After saving both files, restart the Satellite httpd service:
service satellite-httpd restart
This problem was reported in Remedy ticket INC000000574384
As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM.
If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration.
Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request. You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management). If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support).