Bug 73116
Summary: | fam eats memory until OOM | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Elliot Lee <sopwith> | ||||||
Component: | fam | Assignee: | Alexander Larsson <alexl> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 1.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2003-01-31 15:47:54 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 67218, 79579 | ||||||||
Attachments: |
|
Description
Elliot Lee
2002-08-30 21:49:00 UTC
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]
Again
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. |