From owner-freebsd-stable@FreeBSD.ORG  Sun Oct 16 13:27:09 2005
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
X-Original-To: stable@freebsd.org
Delivered-To: freebsd-stable@FreeBSD.ORG
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 12CB216A41F
	for <stable@freebsd.org>; Sun, 16 Oct 2005 13:27:09 +0000 (GMT)
	(envelope-from WillS@housing.ufl.edu)
Received: from smtp.housing.ufl.edu (smtp2.housing.ufl.edu [128.227.47.16])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6222E43D48
	for <stable@freebsd.org>; Sun, 16 Oct 2005 13:27:07 +0000 (GMT)
	(envelope-from WillS@housing.ufl.edu)
Received: (qmail 10675 invoked by uid 98); 16 Oct 2005 13:27:05 -0000
Received: from 128.227.47.18 by smtp1.housing.ufl.edu (envelope-from
	<WillS@housing.ufl.edu>, uid 82) with qmail-scanner-1.25 
	(clamdscan: 0.87/1082. spamassassin: 3.0.4.  
	Clear:RC:1(128.227.47.18):. 
	Processed in 0.462872 secs); 16 Oct 2005 13:27:05 -0000
X-Qmail-Scanner-Mail-From: WillS@housing.ufl.edu via smtp1.housing.ufl.edu
X-Qmail-Scanner: 1.25 (Clear:RC:1(128.227.47.18):. Processed in 0.462872 secs)
Received: from bragi.housing.ufl.edu (128.227.47.18)
	by smtp.housing.ufl.edu with SMTP; 16 Oct 2005 13:27:05 -0000
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 16 Oct 2005 09:16:34 -0400
Message-ID: <0E972CEE334BFE4291CD07E056C76ED807738005@bragi.housing.ufl.edu>
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Disk 100% busy
Thread-Index: AcXSU9SjB83Z3BwyQQ6rwOsrftuhNg==
From: "Will Saxon" <WillS@housing.ufl.edu>
To: <stable@freebsd.org>
Cc: 
Subject: Disk 100% busy
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Oct 2005 13:27:09 -0000

I am trying to diagnose a problem whereby a virus scanner (clam
antivirus) is taking too long to scan attachments on a mail server. We
have an attachment limitation of 20MB and an attachment of 7-20MB can
take over 3 minutes to scan. This often causes the sending mail server
to timeout and resend the mail. =20

In this case, my mail gateway is is a dual 3.06GHz Xeon with 1GB of ram
and 2 36GB 15krpm drives in a raid-1 on a smart array 6i (cciss)
controller. I am running FreeBSD 5.4-RELEASE-p1.=20

Systat -vmstat reports the disk mirror is 100% busy at all times on this
machine, with an average of around 300 tps at 15KB/t. This seems wrong
to me, as these numbers are maintained even when the system doesn't
otherwise appear busy. We don't seem to be swamped by log writes. How
can I tell what's generating these disk writes? At the moment the 100%
disk utilization is the only thing I can see that would cause the
scanning delay. The machine overall is sluggish with file operations.=20

-Will

--
Will Saxon
Systems Programmer, Network Services
University of Florida Department of Housing
Phone: (352) 392-2171 x10148
Email: wills@housing.ufl.edu