From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 21:34:34 2005 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 4DD6716A4CE for ; Mon, 7 Feb 2005 21:34:34 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06E7043D2D for ; Mon, 7 Feb 2005 21:34:32 +0000 (GMT) (envelope-from dawgeestyle@gmail.com) Received: by rproxy.gmail.com with SMTP id f1so819084rne for ; Mon, 07 Feb 2005 13:34:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=JOAGcewlnN03eIL81DBW66Or7HVOOJvHLi8z7EJecQ49PFCQLepTwaKcqwL7O11DH5NxlcgB8hpnWlbgaLIu/tf+wwuWMAqpSY1ov7pObBhQjknDtUJZnhu7mBBJpn/XN/hqKT+c4SYu0rwlZ4Xpg+DWkkZqAVxvc65uDPK+gIc= Received: by 10.38.207.60 with SMTP id e60mr10665rng; Mon, 07 Feb 2005 13:34:31 -0800 (PST) Received: by 10.38.73.32 with HTTP; Mon, 7 Feb 2005 13:34:31 -0800 (PST) Message-ID: <5ae9cd5505020713345b617b02@mail.gmail.com> Date: Mon, 7 Feb 2005 16:34:31 -0500 From: Ben Dover To: freebsd-questions@freebsd.org In-Reply-To: <200502080024.41683.shinjii@virusinfo.rdksupportinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200502072248.41306.shinjii@virusinfo.rdksupportinc.com> <420778F0.6040300@locolomo.org> <200502080024.41683.shinjii@virusinfo.rdksupportinc.com> Subject: Fwd: /var Full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ben Dover List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 21:34:34 -0000 You might want to try doing a cd /var and then try the command du -h which will show how much space each directory is using thus showing what is eating up your space. Compare this to df -h and if the numbers dont hash out a process is keeping disk space. To find out which process could be doing that you can install lsof from /usr/ports/sysutils/lsof In my case it was as easy as killing apache and restarting it and I cleared up hundreds of MB of space. ---------- Forwarded message ---------- From: Warren Date: Tue, 8 Feb 2005 00:24:41 +1000 Subject: Re: /var Full To: freebsd-questions@freebsd.org On Tue, 8 Feb 2005 12:19 am, Erik Norgaard wrote: > Warren wrote: > > im trying to get cacti working, but since im using a small P2 300 machine > > with a small hdd my /var has suddenly become full and im wodering what is > > safe and not safe so to speak to del in the /var dir > > Although you have now found your solution, I'd recommend for such a > question to submit the output of 'du -d1' instead - this will show which > directories are using up the space. > > Cheers, Erik enterprise# du -d1 /var 2 /var/.snap 2 /var/account 6 /var/at 16 /var/backups 4 /var/crash 8 /var/cron 32946 /var/db 2 /var/empty 2 /var/heimdal 2 /var/log 4 /var/mail 4 /var/msgs 2 /var/preserve 40 /var/run 2 /var/rwho 185556 /var/spool 5376 /var/tmp 20 /var/yp 26 /var/named 28 /var/smtpd 224050 /var -- Yours Sincerely Shinjii http://www.shinji.nq.nu _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"