The phenomenon is nothing new: there're at least a dozen bug reports on
gnome-panel eating up CPU and/or RAM.
Eg.:
In my case it happens on a multi-user server (used as "terminal server") with Ubuntu 8.10 (Hardy). Gnome-panel runs just fine most of the time, but occasionally an instance appears eating up 100% of one of the CPUs. Luckily these
gnome-panel processes are just "remnants" (probably from a previous session of a user) since they have a parent process id of
1 and if the users are logged in, I always see another
gnome-panel for them that is doing the panel rendering in their active session.
So the fix is easy: I can just kill all
gnome-panel processes that are children of the
init process (PID=1). To make this automatic, I added the following one-liner to
/etc/crontab of the terminal server:
*/2 * * * * root pkill -P 1 gnome-panel
It runs the
pkill -P 1 gnome-panel command every two minutes. I had no complaints about CPU-eating
gnome-panel processes ever since.
Recent comments
2 days 16 hours ago
2 days 16 hours ago
4 days 21 hours ago
1 week 2 days ago
1 week 2 days ago
1 week 3 days ago
1 week 3 days ago
1 week 4 days ago
1 week 5 days ago
2 weeks 22 hours ago