From owner-freebsd-questions Thu Dec 21 10:40:28 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 10:40:26 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.pa.home.com (ha2.rdc2.pa.home.com [24.12.106.195]) by hub.freebsd.org (Postfix) with ESMTP id 1C3EC37B400 for ; Thu, 21 Dec 2000 10:40:26 -0800 (PST) Received: from nightflight ([24.8.217.56]) by mail.rdc2.pa.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20001221184025.BPDG9109.mail.rdc2.pa.home.com@nightflight>; Thu, 21 Dec 2000 10:40:25 -0800 Message-Id: <3.0.6.32.20001221134025.009947b0@lh1.rdc2.pa.home.com> X-Sender: mysql-freebsd@lh1.rdc2.pa.home.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Thu, 21 Dec 2000 13:40:25 -0500 To: Edwin Groothuis From: mysql-freebsd Subject: Re: Weird /var behavior or was I hacked? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20001221165506.F59674@d9168.upc-d.chello.nl> References: <3.0.6.32.20001221094434.00963ad0@lh1.rdc2.pa.home.com> <3.0.6.32.20001221094434.00963ad0@lh1.rdc2.pa.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wow! Thanks, it worked! Never late to learn new stuff :-) Turns out running Apache for a *while* does leave quite a few BIG chunks of disk occupied. After restarting httpd: prompt>df Filesystem 1K-blocks Used Avail Capacity Mounted on <....> /dev/da0s1h 1034159 14005 937422 1% /var and before /var was giving 81% :-) Thanks! A.H. At 04:55 PM 12/21/00 +0100, Edwin Groothuis wrote: >On Thu, Dec 21, 2000 at 09:44:34AM -0500, mysql-freebsd wrote: >> There is this huge difference between 767 MB reported occupied by df >> and 14 MB of the sum of all teh files. Looks as if somebody got >> in, made an invisible partition within /var. > >Looks like a daemon which has files still open although they don't >exist in the directory-table anymore. Reboot is one solution :-) > >The other option is to find the evil process which has still these >files open, use lsof (/usr/ports/*/lsof) for it: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message