Bug 521743
Summary: | -HUP httpd with mod_python cause Virt/Res to increase | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | masanari iida <masanari_iida> |
Component: | mod_python | Assignee: | Joe Orton <jorton> |
Status: | CLOSED CANTFIX | QA Contact: | BaseOS QE <qe-baseos-auto> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.4 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-13 14:11:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
masanari iida
2009-09-08 04:47:40 UTC
I'm sorry to say that there seems to be little we can do to fix this. The Python interpreter is designed with certain parts of process state which cannot be cleaned up, causing memory leaks over time if the server is frequently SIGHUPed (which in turn, causes the Python interpreter to be reloaded). I would recommend, in order of preference: 1) do not load mod_python in configurations in which it is not used. 2) occassionally perform a "service httpd restart" to completely stop and start the server. 3) execute python scripts via an out-of-process interpreter, e.g. via CGI. I hope these answers are of some use. |