From owner-freebsd-stable@FreeBSD.ORG Tue Nov 4 14:12:52 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3614E1065676; Tue, 4 Nov 2008 14:12:52 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0638B8FC18; Tue, 4 Nov 2008 14:12:51 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3187014wfg.7 for ; Tue, 04 Nov 2008 06:12:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=KUmDQ3FXeZvb2yhTNqP7yncRFyOiRl4n9ffNlY71y+Y=; b=fVBeLbkYrpNEnzHd+OF2ereednRkbWNuK+AP24yP4ZxkCQbJbWwZ3Wacb/ylK8m87u zZdkyU/lIvuxvfu5c6jS0qylslDJKDWhPNcaWwCeLEIzgXXUQYPLhtDwkSo6qHAww+ep FXDf1KTgto5WDLAI061pTH/FAZp77n5CcqbY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=xtjyxuB/fl8Uv65HcAhVgF5w26jI77yMqRD0fwtEQ2amrhQcqUJTcXA8QSLY20LH+a dBG0kYh6wwJnMWKQLulvFT9+tio9wF1t2ljOx29g8Bxo3QqzN9HJ5We6eV0/Gx22A+e0 utRQgVyyEQQPbjnhAnA1+ADxdmIJBHgHKkzOA= Received: by 10.142.226.3 with SMTP id y3mr812588wfg.56.1225807971575; Tue, 04 Nov 2008 06:12:51 -0800 (PST) Received: by 10.142.158.11 with HTTP; Tue, 4 Nov 2008 06:12:51 -0800 (PST) Message-ID: Date: Tue, 4 Nov 2008 12:12:51 -0200 From: "Eduardo Meyer" To: stable@freebsd.org, questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Disk top usage PIDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 14:12:52 -0000 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