Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-system-monitor consumes 90% cpu time [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
taskforce
n00b
n00b


Joined: 17 May 2004
Posts: 9
Location: Huenxe, Germany

PostPosted: Sat Jul 03, 2004 11:43 am    Post subject: gnome-system-monitor consumes 90% cpu time [SOLVED] Reply with quote

Hi all,

I'm experiencing a really strange problem. When I start the gnome-system-monitor or gedit, the system gets awfully slow and a look at the cpu consumption in the system monitor shows it is using nearly 90% cpu time although the system is doing nothing else than simply running one of the programs in idle mode. Also gedit and gnome-system-monitor don't respond quickly but (as shown in the cpu graph) as though under heavy load. When I terminate the programs and use "top" at the console I get a load of 1 to 5% when the system is idle. How is that possible?

Details:
Gentoo-dev-sources-2.6.7-r8, 8k stack size
Gnome 2.6.1
Gtk+ 2.4.3
xorg-x11-6.7.0

The problem occurred a few days ago when I switched from gentoo-dev-sources-2.6.7 to g-d-s-2.6.7-r6. At the same time I also upgraded Gtk from 2.4.1 to 2.4.3 and Glib from 2.4.1 to 2.4.2. Today I switched from g-d-s-2.6.7-r6 to -r8, but to no avail.

I wonder if anyone here experiences the same problems.

Greetz and thanks in advance,

tf


Last edited by taskforce on Tue Jul 06, 2004 2:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
taskforce
n00b
n00b


Joined: 17 May 2004
Posts: 9
Location: Huenxe, Germany

PostPosted: Mon Jul 05, 2004 3:46 pm    Post subject: Reply with quote

I had another look at cpu consumption when gnome-system-monitor (gsm) is running. First of all, I was wrong, gsm "only" consumes up to 15% cpu power, but X is using up to 80%! The problem occurs, when I switched to the "Resource Monitor". After that, even switching back to the process view will change nothing, the system is slow to unresponsive and top shows ca. 95% cpu load.

top looks like this, when gsm is running:

Code:

top - 17:43:25 up  1:48,  2 users,  load average: 0.43, 0.47, 0.27
Tasks:  76 total,   2 running,  73 sleeping,   0 stopped,   1 zombie
Cpu(s): 94.4% us,  2.3% sy,  0.0% ni,  3.3% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    515964k total,   382020k used,   133944k free,    28956k buffers
Swap:   506036k total,        0k used,   506036k free,   219184k cached
                                                                               
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 7684 root      16   0  103m  26m  84m R 77.3  5.3   2:32.84 X
 9045 sven      15   0 16700  10m  14m S 10.6  2.0   0:03.41 gnome-system-mo
 9036 sven      15   0 20976  13m  15m S  5.0  2.6   0:01.21 gnome-terminal
 8483 sven      15   0 50880  33m  27m S  2.6  6.6   0:32.08 firefox-bin
    1 root      16   0  1308  480 1156 S  0.0  0.1   0:01.08 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root       5 -10     0    0    0 S  0.0  0.0   0:00.09 events/0
    4 root       6 -10     0    0    0 S  0.0  0.0   0:00.00 khelper
    5 root       5 -10     0    0    0 S  0.0  0.0   0:00.02 kblockd/0
    6 root      15   0     0    0    0 S  0.0  0.0   0:00.06 khubd
   36 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
   37 root      15   0     0    0    0 S  0.0  0.0   0:00.02 pdflush
   39 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
   38 root      15   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
   42 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
  149 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khpsbpkt
  158 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 reiserfs/0


I hope someone has an idea how to fix this cause it is really driving me crazy!

thx,

tf
Back to top
View user's profile Send private message
taskforce
n00b
n00b


Joined: 17 May 2004
Posts: 9
Location: Huenxe, Germany

PostPosted: Tue Jul 06, 2004 2:59 pm    Post subject: Reply with quote

I finally solved the mystery: it was the new gtk2 theme (Yattacier 3) I was using... after switching to another theme, the problem disappeared.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum