Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 13:40:25 -0500
From:      mysql-freebsd <mysql-freebsd@home.com>
To:        Edwin Groothuis <mavetju@chello.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Weird /var behavior or was I hacked?
Message-ID:  <3.0.6.32.20001221134025.009947b0@lh1.rdc2.pa.home.com>
In-Reply-To: <20001221165506.F59674@d9168.upc-d.chello.nl>
References:  <3.0.6.32.20001221094434.00963ad0@lh1.rdc2.pa.home.com> <MPBBLJLABKFCLAHJNBNGIEFHIBAA.wabit@adl.ussr.net> <3.0.6.32.20001221094434.00963ad0@lh1.rdc2.pa.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.20001221134025.009947b0>