Red Hat Bugzilla – Bug 73116
fam eats memory until OOM
Last modified: 2008-05-01 11:38:03 EDT
Description of Problem:
I tried to log into GNOME, it just got into this endless loop of eating memory until it died
and was respawned by xinetd.
Logging into GNOME kicks off an endless loop: eat memory until OOMkilled, then get
respawned by xinetd.
fam-2.6.8-4, glibc-2.2.91-1, kernel-2.4.18-12.5
ahah, glibc bug with NIS groups.
Attaching a patch for fam to make it use the more efficient getgrouplist (also necessary will
be adding -DHAVE_GETGROUPLIST to the compilation flags).
Created attachment 74044 [details]
use getgrouplist function instead of slow impl
Eh. That patch looks garbled, but it's probably ok.
Elliot, can you re-attach the patch?
Created attachment 75546 [details]
That one looks better.
I wonder what happened to the first one.
elliot: That patch doesn't really do anything at the moment.
HAVE_GETGROUPLIST is not ever set, and i think you need to pass some magic
BSD_SOURCE or GNU_SOURCE define.
I guess we could force the defines in the specfile though..
The patch is building in 2.6.8-9
Seems to work.