mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Denis <denismpa@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Fwd: NFS , Kjournald - status D (uninterruptible sleep) - maquina lenta.
Date: Mon, 17 Dec 2007 16:32:29 +0100	[thread overview]
Message-ID: <20071217153228.GC6979@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <e9aeeef80712141333n557325e3v11231b8bbe1b0963@mail.gmail.com>

> Dears, I've got a double dual xeon wich sometimes is getting too slow.
> 
> 
> While i was observing one of these slowly times, I realized the time
> wait of processors come close to 100% and nfsd and kjournald process
> become to D status (uniterruptible sleep) .Does someone know why this
> can be happening or how can I troubleshoot it?
> 
> Below is a 'draw' of my top at one of these moments.
> 
> [root@cromo src]# top
> top - 10:59:02 up 6 days, 19:30, 17 users,  load average: 14.77, 13.46, 13.00
> Tasks: 189 total,   1 running, 188 sleeping,   0 stopped,   0 zombie
> Cpu0  :  0.0% us,  0.4% sy,  0.0% ni,  0.2% id, 98.5% wa,  0.0% hi,  0.9% si
> Cpu1  :  0.0% us,  0.4% sy,  0.0% ni,  0.0% id, 99.6% wa,  0.0% hi,  0.0% si
> Cpu2  :  0.0% us,  0.2% sy,  0.0% ni,  7.8% id, 92.0% wa,  0.0% hi,  0.0% si
> Cpu3  :  0.2% us,  0.8% sy,  0.0% ni,  0.0% id, 98.7% wa,  0.2% hi,  0.0% si
  All processors are in iowait - i.e. waiting for IO.

> Mem:   4025540k total,  4018264k used,     7276k free,     7908k buffers
> Swap:  4096564k total,     3288k used,  4093276k free,  3553252k cached
> 
>  3941 root      15   0     0    0    0 D    2  0.0  80:29.30 nfsd
>  3938 root      15   0     0    0    0 D    1  0.0  81:02.02 nfsd
>  2459 root      15   0     0    0    0 D    1  0.0  30:57.04 kjournald
>  3937 root      15   0     0    0    0 D    1  0.0  82:07.99 nfsd
>    96 root      15   0     0    0    0 S    0  0.0  34:12.48 kswapd0
>  3940 root      15   0     0    0    0 D    0  0.0  80:22.55 nfsd
>  3942 root      15   0     0    0    0 D    0  0.0  80:23.66 nfsd
>  3939 root      15   0     0    0    0 D    0  0.0  82:22.55 nfsd
  It seems like heavy disk/network activity. You can try running
vmstat 1
  It will print every second the situation of your memory / IO
subsystem. You should especially see the ---io--- column ('bi' means
blocks in, 'bo' blocks outputted). I guess they'd contain some
non-trivial values...
  BTW: I guess the processes wake up eventually, don't they?

								Honza
-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

  reply	other threads:[~2007-12-17 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e9aeeef80712141011i139e6ec2pe04250bd56f338d8@mail.gmail.com>
     [not found] ` <e9aeeef80712141211v7cec29fdt7e2ec76bf877053f@mail.gmail.com>
2007-12-14 21:33   ` Denis
2007-12-17 15:32     ` Jan Kara [this message]
2007-12-17 16:41       ` Denis
2007-12-17 17:49         ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071217153228.GC6979@atrey.karlin.mff.cuni.cz \
    --to=jack@suse.cz \
    --cc=denismpa@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®