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. -- ==========Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br
Hi list, can someone please explain, why stat -x /dev/da1 show the SCSI-Drive as a character-device ? Also, on the same device S_ISREG(st.st_mode) is false S_ISCHR(st.st_mode) is true thanks Dieter
h, all, On Tue, Nov 04, 2008 at 03:32:01PM +0100, d_elbracht wrote:> Hi list, > > can someone please explain, why > stat -x /dev/da1 > > show the SCSI-Drive as a character-device ?http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html HTH, Patrick M. Hausen Leiter Netzwerke und Sicherheit -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285
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