From owner-freebsd-questions Thu Dec 21 7:55:10 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 07:55:08 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 51C8337B402 for ; Thu, 21 Dec 2000 07:55:07 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id 1FB6E141; Thu, 21 Dec 2000 16:55:06 +0100 (CET) Date: Thu, 21 Dec 2000 16:55:06 +0100 From: Edwin Groothuis To: mysql-freebsd Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Weird /var behavior or was I hacked? Message-ID: <20001221165506.F59674@d9168.upc-d.chello.nl> Mail-Followup-To: Edwin Groothuis , mysql-freebsd , freebsd-questions@FreeBSD.ORG References: <3.0.6.32.20001221094434.00963ad0@lh1.rdc2.pa.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3.0.6.32.20001221094434.00963ad0@lh1.rdc2.pa.home.com>; from mysql-freebsd@home.com on Thu, Dec 21, 2000 at 09:44:34AM -0500 Sender: edwin@d9168.upc-d.chello.nl Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: /usr/local/sbin/lsof | grep var Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message