Bug 598145

Summary: CPU usage of gdm-user-switch (100% CPU for N minutes)
Product: Red Hat Enterprise Linux 6 Reporter: Matthias Schroder <matthias.schroder>
Component: gnome-appletsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED DUPLICATE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: jmccann
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-22 18:12:51 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:

Description Matthias Schroder 2010-05-31 14:53:09 UTC
Description of problem: gdm-user-switch needs too much CPU


Version-Release number of selected component (if applicable): 2.28.2-5.el6.x86_64


How reproducible: 100%


Steps to Reproduce:
1. create password file with many entries
2. login
3. run top or ps
  
Actual results: gdm-user-switch takes almost 100% CPU time for quite a long time.


Expected results: less greedy gdm-user-switch


Additional info: I made tests with various sized /etc/passwd files:

# entries   CPU minutes
2000        ~1
4000        ~4:37
8000        ~20:46

Comment 2 RHEL Program Management 2010-06-07 16:01:13 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 jmccann 2010-06-22 18:12:51 UTC

*** This bug has been marked as a duplicate of bug 598483 ***