Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2008 11:32:20 -0800
From:      "Brent Jones" <brent@servuhome.net>
To:        "Adam McDougall" <mcdouga9@egr.msu.edu>
Cc:        stable@freebsd.org, Eduardo Meyer <dudu.meyer@gmail.com>, questions@freebsd.org
Subject:   Re: Disk top usage PIDs
Message-ID:  <ee9f3b480811121132r440ec910wf8a6a0fef5a138d0@mail.gmail.com>
In-Reply-To: <49107CA1.5090309@egr.msu.edu>
References:  <d3ea75b30811040612g3ba10a8fuf5551b730176acc2@mail.gmail.com> <49107CA1.5090309@egr.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 4, 2008 at 8:47 AM, Adam McDougall <mcdouga9@egr.msu.edu> wrote:
> Eduardo Meyer wrote:
>>
>> Hello,
>>
>> I have some serious issue. Sometimes something happens and my disk
>> usage performance find its limit quickly. I follow with gstat and
>> iostat -xw1, and everything usually happens just fine, with %b around
>> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
>> requests and %b is always on 100% (or more than this).
>>
>> fstat and lsof gives me no hint, because the type of programs as well
>> as the amount of 'em is just the same.
>>
>> How can I find the PID which is hammering my disk? Is there an "iotop"
>> or "disktop" tool or something alike?
>>
>> Its a mail server. I have pop3, imap, I also have maildrop and
>> sometimes, httpd, working around the busiest mount point.
>>
>> I have also started AUDIT, however all I can get are the top PIDs
>> which issue read/write requests. Not the requests which take longer to
>> perform (the busiest ones), or should I look for some special audit
>> class or event other than open, read and write?
>>
>> Thank you in advance.
>>
>>
>
> top -mio
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

I learn something new everyday on this list...!

-- 
Brent Jones
brent@servuhome.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee9f3b480811121132r440ec910wf8a6a0fef5a138d0>