public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* vmstat: zero cs | system debug
@ 2004-11-23 13:38 Nico Schottelius
  2004-11-25  9:25 ` Alex Riesen
  0 siblings, 1 reply; 2+ messages in thread
From: Nico Schottelius @ 2004-11-23 13:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: nico-kernel

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Hello!

Some minutes ago I had the following problem:

- a fileserver with many process in 'D' state
- vmstat shows zero context switches
- more or less zero access to the system
- system load of ~150 (many smbd processes with 'D')
- raid looked fine
- no errors in dmesg
- no mysterious processes
- system not hacked (as its in our company lan)
- after rebooting it seems to work
- the initialization of the  Adaptec AHA-2940U/UW/D / AIC-7881U took
  quite long, but it works

My questions:

- what could I have done to find out the problem?
-> I did ps axu, vmstat, cat /proc/mdstat, free, netstat -an
- does zero context switches mean there is one process using
  completly the cpu? if so, why was I able to start vmstat?

- what todo to fix the problem?
-> tried killall -9 smbd apache ...

- is there some TFM for reading about "Linux system analyzing"?

Thanks for any answer,

Nico


[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vmstat: zero cs | system debug
  2004-11-23 13:38 vmstat: zero cs | system debug Nico Schottelius
@ 2004-11-25  9:25 ` Alex Riesen
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Riesen @ 2004-11-25  9:25 UTC (permalink / raw)
  To: Nico Schottelius, linux-kernel

On Tue, 23 Nov 2004 14:38:05 +0100, Nico Schottelius
<nico-kernel@schottelius.org> wrote:
> - what could I have done to find out the problem?
> -> I did ps axu, vmstat, cat /proc/mdstat, free, netstat -an

uname -a, lsmod, free, cat /proc/slabinfo (slabtop)
ps aux -L (to show threads)

> - what todo to fix the problem?
> -> tried killall -9 smbd apache ...

SAK (Alt-SysRq-K) - kill everyone except init

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-25  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 13:38 vmstat: zero cs | system debug Nico Schottelius
2004-11-25  9:25 ` Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox