Re: [gentoo-user] load too high

2008-02-12 Thread James R. Campbell
On Monday 11 February 2008, James wrote:
 Hello,

 One of the workstations (amd64 2gig ram) has a load that never drops below
 1.0, as seen by top. Looking at a ps nothing stands out. I did notice that
 'X' is at the top of the list, even when the machine is quiescent (nobody
 doing anything). Suspiciaous. Clearly I have a run away or hidden process
 using resources. Although all my system run kde 3.5.8 only one shows this
 problem.

 None of my other Gentoo system suffer this fate. Any ideas on finding the
 culprit(proccess)?



 James

What processes have the most on cpu time as reported by a 'ps ax' ?

--James
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] load too high

2008-02-12 Thread Dirk Heinrichs
Am Mittwoch, 13. Februar 2008 schrieb ext James:

 I did not try this. what's the option to boot into single user mode?

No need to boot, just telinit 1 from a running system. And later switch 
back to normal with telinit 3.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] load too high

2008-02-12 Thread Dale

Dale wrote:

443-653-1569 wrote:

On 23:27 Mon 11 Feb , Miguel Peña Gomez wrote:
 

atop 3

filter by p





WOW!!, this atop program is great, one of the best diagnostic tools I've
seen. Why haven't I heard more about it?

Bill Roberts
  


What package provides that command?

Dale

:-)  :-) 


Never mind.  I just needed my glasses.  I thought it was _S_top not 
_A_top.  :/


Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] load too high

2008-02-12 Thread Dale

443-653-1569 wrote:

On 23:27 Mon 11 Feb , Miguel Peña Gomez wrote:
  

atop 3

filter by p





WOW!!, this atop program is great, one of the best diagnostic tools I've
seen. Why haven't I heard more about it?

Bill Roberts
  


What package provides that command?

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] load too high

2008-02-12 Thread 443-653-1569
On 23:27 Mon 11 Feb , Miguel Peña Gomez wrote:
 
 
 atop 3
 
 filter by p
 
 
 
 El lun, 11-02-2008 a las 19:49 +, James escribió:
  Hello,
  
  One of the workstations (amd64 2gig ram) has a load that never drops below
  1.0, as seen by top. Looking at a ps nothing stands out. I did notice that
  'X' is at the top of the list, even when the machine is quiescent (nobody
  doing anything). Suspiciaous. Clearly I have a run away or hidden process 
  using
  resources. Although all my system run kde 3.5.8 only one shows this problem.
  
  None of my other Gentoo system suffer this fate. Any ideas on finding the
  culprit(proccess)?

WOW!!, this atop program is great, one of the best diagnostic tools I've
seen. Why haven't I heard more about it?

Bill Roberts


pgpRV7b3I3MTh.pgp
Description: PGP signature


Re: [gentoo-user] load too high

2008-02-12 Thread Florian Philipp

On Wed, 2008-02-13 at 07:55 +0100, Dirk Heinrichs wrote:
 Am Mittwoch, 13. Februar 2008 schrieb ext James:
 
  I did not try this. what's the option to boot into single user mode?
 
 No need to boot, just telinit 1 from a running system. And later switch 
 back to normal with telinit 3.

Just to show some alternatives: 

rc single / rc default
 useful if you use other runlevels, for example nonetwork

or boot with kernel parameter single


signature.asc
Description: This is a digitally signed message part


[gentoo-user] load too high

2008-02-11 Thread James
Hello,

One of the workstations (amd64 2gig ram) has a load that never drops below
1.0, as seen by top. Looking at a ps nothing stands out. I did notice that
'X' is at the top of the list, even when the machine is quiescent (nobody
doing anything). Suspiciaous. Clearly I have a run away or hidden process using
resources. Although all my system run kde 3.5.8 only one shows this problem.

None of my other Gentoo system suffer this fate. Any ideas on finding the
culprit(proccess)?



James



-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] load too high

2008-02-11 Thread Alan McKinnon
On Monday 11 February 2008, James wrote:
 Hello,

 One of the workstations (amd64 2gig ram) has a load that never drops
 below 1.0, as seen by top. Looking at a ps nothing stands out. I did
 notice that 'X' is at the top of the list, even when the machine is
 quiescent (nobody doing anything). Suspiciaous. Clearly I have a run
 away or hidden process using resources. Although all my system run
 kde 3.5.8 only one shows this problem.

 None of my other Gentoo system suffer this fate. Any ideas on finding
 the culprit(proccess)?

First thing to understand is exactly what the system load is. Maybe you 
already know this, but I'll post it anyway for the benefit of everyone 
else reading.

Load is defined as the number of processes waiting for cpu time averaged 
over a certain time period. top and uptime measure this in three 
periods - 1 minute, 5 minutes and 15 minutes. A process can be waiting 
for cpu time because it is blocked - waiting for some I/O to 
complete. Therefore it's easy to get a high load and low cpu 
utilization. I find this in fact to be the most common reason (!)

vmstat is your friend here. It's all in the man page, so use it and 
narrow down the process that's blocking. Maybe you have a threading 
race condition or similar.

Also look into a hardware difference between this machine and the 
others, and differences in the kernel config and loaded modules.

If all this reveals nothing, then maybe you do have a suspicious 
problem. In which case, post back real quick :-)


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] load too high

2008-02-11 Thread Miguel Peña Gomez


atop 3

filter by p



El lun, 11-02-2008 a las 19:49 +, James escribió:
 Hello,
 
 One of the workstations (amd64 2gig ram) has a load that never drops below
 1.0, as seen by top. Looking at a ps nothing stands out. I did notice that
 'X' is at the top of the list, even when the machine is quiescent (nobody
 doing anything). Suspiciaous. Clearly I have a run away or hidden process 
 using
 resources. Although all my system run kde 3.5.8 only one shows this problem.
 
 None of my other Gentoo system suffer this fate. Any ideas on finding the
 culprit(proccess)?
 
 
 
 James
 
 


-- 
gentoo-user@lists.gentoo.org mailing list