Red Hat Bugzilla – Bug 45505
ypserv leaks memory like a sieve under load
Last modified: 2007-04-18 12:33:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
Description of problem:
Ypserv will, in the course of a few hours under a heavy load, begin to eat
memory and swap. No "extra" processes are found in "ps ax" nor in "top".
Eventually the machine hangs with "Out of memory. Killing process xxxx
(ypserv)" which keeps repeating about every second. No response from the
keyboard, not even a three-fingered salute brings the machine back--you
must reset or power-cycle.
Steps to Reproduce:
1. This is readily reproducible on several servers here. The setup: take
a web server dishing out lots and lots of hits from virtual domains
with "User" and "Group" directives.
2. Apache must go to NIS for the user information... let it run about 4
hours and CRASH!
Actual Results: Worse yet, when NIS suddenly becomes unavailable, Apache
begins to run its user processes as root, thereby giving common users
complete access to the system via CGI.
Expected Results: I expected it to work like 6.2 -- trouble-free and
reliable. RH7.1 is clearly NOT ready for production, or at least for
shops that are serving large amounts of web information.
Is everything running fine with the glibc from rawhide?
Florian La Roche
I haven't tested exactly this way to reproduce the bug, but I haven't seen any
memory leakage. Can you test this with a later version of ypserv such as
ypserv-2.2-7 and see if this still happens to you?
no reply. closing.