Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 73116 - fam eats memory until OOM
fam eats memory until OOM
Product: Red Hat Raw Hide
Classification: Retired
Component: fam (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
Depends On:
Blocks: 67218 79579
  Show dependency treegraph
Reported: 2002-08-30 17:49 EDT by Elliot Lee
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-31 10:47:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
use getgrouplist function instead of slow impl (640 bytes, patch)
2002-08-30 18:17 EDT, Elliot Lee
no flags Details | Diff
Again (399 bytes, patch)
2002-09-09 06:53 EDT, Elliot Lee
no flags Details | Diff

  None (edit)
Description Elliot Lee 2002-08-30 17:49:00 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
Comment 1 Elliot Lee 2002-08-30 18:16:08 EDT
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).
Comment 2 Elliot Lee 2002-08-30 18:17:50 EDT
Created attachment 74044 [details]
use getgrouplist function instead of slow impl
Comment 3 Alexander Larsson 2002-08-31 04:38:47 EDT
Eh. That patch looks garbled, but it's probably ok.
Comment 4 Alexander Larsson 2002-09-09 02:44:58 EDT
Elliot, can you re-attach the patch?
Comment 5 Elliot Lee 2002-09-09 06:53:05 EDT
Created attachment 75546 [details]
Comment 6 Alexander Larsson 2002-09-09 07:17:46 EDT
That one looks better.
I wonder what happened to the first one.
Comment 7 Alexander Larsson 2003-01-31 09:55:07 EST
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
Comment 8 Alexander Larsson 2003-01-31 10:01:35 EST
I guess we could force the defines in the specfile though..
Comment 9 Alexander Larsson 2003-01-31 10:23:53 EST
The patch is building in 2.6.8-9
Comment 10 Alexander Larsson 2003-01-31 10:47:54 EST
Seems to work.

Note You need to log in before you can comment on or make changes to this bug.