[Bug 436261] New: gdm-simple-greeter using lots of CPU
https://bugzilla.novell.com/show_bug.cgi?id=436261 Summary: gdm-simple-greeter using lots of CPU Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: hpj@novell.com ReportedBy: maw@novell.com QAContact: qa@suse.de Found By: --- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3358 gdm 20 0 102m 91m 11m R 82 4.5 127:50.74 gdm-simple-gree Some output from strace: --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(29905, NULL, 0) = 29905 close(21) = 0 close(23) = 0 gettimeofday({1224188035, 212859}, NULL) = 0 pipe([21, 22]) = 0 pipe([23, 24]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7101bc8) = 29906 close(22) = 0 close(24) = 0 read(21, "\1\0\0\0\2\0\0\0"..., 8) = 8 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(29906, NULL, 0) = 29906 close(21) = 0 close(23) = 0 gettimeofday({1224188035, 240855}, NULL) = 0 pipe([21, 22]) = 0 pipe([23, 24]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7101bc8) = 29907 close(22) = 0 close(24) = 0 read(21, ^C <unfinished ...> [This repeats over and over,with just pid values changing.] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 Michael Wolf <maw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maw@novell.com Priority|P5 - None |P1 - Urgent -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User maw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c1 --- Comment #1 from Michael Wolf <maw@novell.com> 2008-10-16 14:38:17 MDT --- It appears to happen about a minute after logging in. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c2 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Hans Petter Jansson <hpj@novell.com> 2008-10-16 18:52:15 MDT --- I'm unable to reproduce this. A couple of questions: - Do you have wbinfo installed? - What does wbinfo --all-domains say/do? - Is winbindd running? - Do you see any domains - apart from local login - in the domain selector at the GDM greeter? - Is the memory use growing? - Any indication of clock slew, or does the clock get set at some point? - Does this happen every time? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User maw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c3 --- Comment #3 from Michael Wolf <maw@novell.com> 2008-10-17 07:13:06 MDT --- (In reply to comment #2 from Hans Petter Jansson)
I'm unable to reproduce this. A couple of questions:
- Do you have wbinfo installed?
no
- What does wbinfo --all-domains say/do?
n/a
- Is winbindd running?
no
- Do you see any domains - apart from local login - in the domain selector at the GDM greeter?
no
- Is the memory use growing?
For winbind: n/a For gdm-simple-greeter, no.
- Any indication of clock slew, or does the clock get set at some point?
Nope
- Does this happen every time?
I've only logged in twice since updating, so I can't say for sure. But so far, yes. (I can try logging out or even restarting or init 3; init 5-ing my system more if you think it'd help in some way.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c4 --- Comment #4 from Hans Petter Jansson <hpj@novell.com> 2008-10-17 14:32:48 MDT --- Thanks. I think init 3; init 5 will probably be useful, but make sure everything owned by gdm really dies in between. A restart would be ideal. I'm interested in knowing: - If this happens on first login. - If it goes away when you log out to the GDM screen. - If it happens/comes back/stays the same when you log in again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |maw@novell.com Priority|P1 - Urgent |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User roland.kletzing@materna.de added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c5 roland kletzing <roland.kletzing@materna.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roland.kletzing@materna.de --- Comment #5 from roland kletzing <roland.kletzing@materna.de> 2008-10-26 09:49:42 MDT --- i`ve seen that gdm-simple-greeter cpu hog behaviour several times now - inside a vmware vm. last time that this happend was after a failed suspend/hibernate to disk due to bad kernelmodule (vmhgfs) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User roland.kletzing@materna.de added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c6 --- Comment #6 from roland kletzing <roland.kletzing@materna.de> 2008-10-26 10:01:36 MDT --- i was wrong - it actually happens after a fresh reboot. strace looks like the the one from initial report (see below), but _before_ logging in. vm (latest factory) runs in vmware workstation 6.5 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7159758) = 17898 close(22) = 0 close(24) = 0 read(21, "\1\0\0\0\2\0\0\0"..., 8) = 8 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(17898, NULL, 0) = 17898 close(21) = 0 close(23) = 0 gettimeofday({1225036606, 383161}, NULL) = 0 pipe([21, 22]) = 0 pipe([23, 24]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7159758) = 17899 --- SIGCHLD (Child exited) @ 0 (0) --- close(22) = 0 close(24) = 0 read(21, "\1\0\0\0\2\0\0\0"..., 8) = 8 waitpid(17899, NULL, 0) = 17899 close(21) = 0 close(23) = 0 gettimeofday({1225036606, 402827}, NULL) = 0 pipe([21, 22]) = 0 pipe([23, 24]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7159758) = 17900 close(22) = 0 close(24) = 0 read(21, "\1\0\0\0\2\0\0\0"..., 8) = 8 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(17900, NULL, 0) = 17900 close(21) = 0 close(23) = 0 gettimeofday({1225036606, 416089}, NULL) = 0 pipe([21, 22]) = 0 pipe([23, 24]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7159758) = 17901 close(22) = 0 close(24) = 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User roland.kletzing@materna.de added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c7 --- Comment #7 from roland kletzing <roland.kletzing@materna.de> 2008-10-26 11:03:08 MDT --- Created an attachment (id=248017) --> (https://bugzilla.novell.com/attachment.cgi?id=248017) strace of gdm-simple-greeter showing endless-loop -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User bg@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c8 Berthold Gunreben <bg@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bg@novell.com --- Comment #8 from Berthold Gunreben <bg@novell.com> 2008-10-28 10:40:49 MDT --- I found the same behavior on a SLES11-Beta3: top - 17:35:05 up 4 days, 6:05, 3 users, load average: 1.32, 1.18, 1.12 Tasks: 124 total, 2 running, 122 sleeping, 0 stopped, 0 zombie Cpu(s): 38.4%us, 11.2%sy, 0.0%ni, 50.2%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 7983732k total, 7938712k used, 45020k free, 186004k buffers Swap: 722916k total, 16k used, 722900k free, 6844136k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 11746 gdm 20 0 835m 637m 11m R 85 8.2 5433:54 gdm-simple-gree The resident memory usage does not grow quickly, and I don't know if this is due to a memory leak, however it is way to much memory used for a greeter. I never did logon to X11 on this system, only remote access with ssh was used. Maybe you also have a look at bug #439142, it seems to be at least related. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c9 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Priority|P2 - High |P1 - Urgent --- Comment #9 from Hans Petter Jansson <hpj@novell.com> 2008-10-28 19:19:54 MDT --- I could use a strace where forks are followed. What the logs are telling me so far is that it'a forking a process repeatedly, but not what that process is doing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User bg@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c10 --- Comment #10 from Berthold Gunreben <bg@novell.com> 2008-10-29 02:38:05 MDT --- Created an attachment (id=248507) --> (https://bugzilla.novell.com/attachment.cgi?id=248507) strace with -f I hope this strace contains the needed information -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User roland.kletzing@materna.de added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c11 roland kletzing <roland.kletzing@materna.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|maw@novell.com | --- Comment #11 from roland kletzing <roland.kletzing@materna.de> 2008-10-29 03:52:08 MDT --- that looks very similar to my strace (attachment id 248017) ;) hereby i`m removing NEEDINFO from this bugreport -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User maw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c12 --- Comment #12 from Michael Wolf <maw@novell.com> 2008-10-29 12:08:04 MDT --- (In reply to comment #4 from Hans Petter Jansson)
Thanks. I think init 3; init 5 will probably be useful, but make sure everything owned by gdm really dies in between. A restart would be ideal.
I'm interested in knowing:
- If this happens on first login. - If it goes away when you log out to the GDM screen. - If it happens/comes back/stays the same when you log in again.
Unfortunately, I didn't get a chance to do this, and upgraded in the meantime. I can no longer reproduce the problem. But hopefully someone else following this bug can. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436261 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436261#c13 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE --- Comment #13 from JP Rosevear <jpr@novell.com> 2008-10-31 09:11:44 MDT --- *** This bug has been marked as a duplicate of bug 439892 *** https://bugzilla.novell.com/show_bug.cgi?id=439892 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com