Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 151484 - Memory leak, and CPU spinning with duplicate group entries
Memory leak, and CPU spinning with duplicate group entries
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: shadow-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-03-18 09:21 EST by Bastien Nocera
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-04 05:03:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
shadow-utils update (1.01 MB, application/octet-stream)
2005-04-04 05:00 EDT, Peter Vrabec
no flags Details

  None (edit)
Description Bastien Nocera 2005-03-18 09:21:05 EST
Really shouldn't happen, but.
shadow-utils-4.0.3-23.06 from RHEL3 U5 HEAD

Add another "users" line to your /etc/group (so the entry is duplicated):

adduser -G users test
Check dmesg after a while (2 minutes in, and it was using around 300 megs of RAM):
Out of Memory: Killed process 28151 (adduser).
Comment 1 Peter Vrabec 2005-03-21 08:06:41 EST
How do u add next entry? Did u edit /etc/group by hand?
It looks this problem affect all versions of shadow-utils.
Comment 2 Bastien Nocera 2005-03-21 09:52:34 EST
I edited /etc/group by hand (a stupid mistake, but I would have expected adduser
to handle my error rather than to eat all my RAM).
Comment 3 Peter Vrabec 2005-04-04 05:00:24 EDT
Created attachment 112642 [details]
shadow-utils update

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