From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 15:09:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C505216A4CE for ; Tue, 5 Oct 2004 15:09:22 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9824F43D41 for ; Tue, 5 Oct 2004 15:09:22 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id E084469A3F; Tue, 5 Oct 2004 11:09:21 -0400 (EDT) Date: Tue, 5 Oct 2004 11:09:20 -0400 From: Bill Moran To: bill Message-Id: <20041005110920.50593e29.wmoran@potentialtech.com> In-Reply-To: <4162B73C.1060908@TechServSys.com> References: <4162B73C.1060908@TechServSys.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: /usr is growing and growing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 15:09:22 -0000 bill wrote: > uname -a: > > FreeBSD serve.TechServSys.com 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 > > This box is a web server only. The web files are on their own filesystem > which is at 8% utilization. > > I have watched the /usr file system grow from about 69% utilization to > 85% utilization over 2 years and can not figure out what is taking the > space. Doing a find . -mtime -2 -print yields no files modified. > A find . -size +2000 -print yields only expected files. > > Would someone be kind enough to give me suggestions as to what is using > up the space and/or how to find out ? [Please wrap you lines around 72 chars: see http://www.lemis.com/questions.html ] I don't have a guess as to the specific problem. I assume you've checked to see where your web server is logging to, and ensured that you're managing it. When I have problems like this, I start with: du -hd1 /usr Then I look at directory sizes, and possibly narrow it down more: du -hd1 /usr/local ... etc. ... until I've located the large files on the filesystem. I can then usually determine what is causing those large files. If I had to make a guess ... I would suspect that something is logging to /usr somewhere, without you realizing it. But I can only guess. -- Bill Moran Potential Technologies http://www.potentialtech.com