You are not logged in.

#1 2006-09-30 07:48:59

rafal
Member
From: Poland
Registered: 2005-05-18
Posts: 49

20% CPU at rest in gkrellm

I'm wondering why my gkrellm shows permanently approx. 20%CPU when I run KDE and gkrellm. I have also debian on HD and there I have only 3%CPU also in KDE without any other apps run,

Any idea what is taking so much CPU?
Thanks in advance

Offline

#2 2006-09-30 09:02:04

_adam_
Member
From: Dora, Alabama
Registered: 2006-05-18
Posts: 94

Re: 20% CPU at rest in gkrellm

open a terminal and run "top" to see which process is using so much cpu.

Offline

#3 2006-09-30 09:15:21

rafal
Member
From: Poland
Registered: 2005-05-18
Posts: 49

Re: 20% CPU at rest in gkrellm

"top" shows that 15% takes syslog-ng is it normal?

Offline

#4 2006-09-30 15:06:27

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: 20% CPU at rest in gkrellm

It's possible, and I've seen it before on servers going bananas, but I'd imagine you're doing a hell of a lot of logging.  Does this box do remote logs for a network, or just your own box?  If it's just your own box, you might want to take a look in dmesg and in /var/log and see if anything is getting TEH HYOOG3!  A better way to put it is that there may be other activity on your box causing syslog-ng to have to do a *lot* of logging.

This is assuming that syslog-ng is pinned at the top of your top output, and that you've restarted it to clear out any ghost farts that might be caught in the works.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#5 2006-09-30 16:27:33

rafal
Member
From: Poland
Registered: 2005-05-18
Posts: 49

Re: 20% CPU at rest in gkrellm

It's possible, and I've seen it before on servers going bananas, but I'd imagine you're doing a hell of a lot of logging.  Does this box do remote logs for a network, or just your own box?  If it's just your own box, you might want to take a look in dmesg and in /var/log and see if anything is getting TEH HYOOG3!

In fact syslog-ng has been doing too much logging, it writes about 200 lines of the same message in one second like this (/var/log/kernel.log):

Sep 30 12:01:12 tux usb 2-2: usbfs: usb_submit_urb returned -22
Sep 30 12:01:12 tux usb 2-2: usbfs: usb_submit_urb returned -22
Sep 30 12:01:12 tux usb 2-2: usbfs: usb_submit_urb returned -22
Sep 30 12:01:12 tux usb 2-2: usbfs: usb_submit_urb returned -22
Sep 30 12:01:12 tux usb 2-2: usbfs: usb_submit_urb returned -22

and in message.log

Sep 30 12:01:12 tux modem_run[2368]: [monitoring report] ADSL link stays stable (up)
Sep 30 12:01:12 tux modem_run[2368]: [monitoring report] ADSL link stays stable (up)
Sep 30 12:01:12 tux modem_run[2368]: [monitoring report] ADSL link stays stable (up)
Sep 30 12:01:12 tux modem_run[2368]: [monitoring report] ADSL link stays stable (up)
Sep 30 12:01:12 tux modem_run[2368]: [monitoring report] ADSL link stays stable (up)

In fact I have a USB ADSL modem and yesterday I compiled kernel 2.6.18. Perhaps I set something wrong in kernel?

Offline

#6 2006-10-01 06:17:44

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: 20% CPU at rest in gkrellm

I've never config's a usb dsl modem, but I assume there must be a quiet setting for them - have you looked for that at all?   At the very least, the second output you've posted appears to be the system saying I'M OK! over and over - it seems like that could be trimmed.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

Board footer

Powered by FluxBB