From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 21:01:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36184971 for ; Mon, 5 Nov 2012 21:01:23 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [IPv6:2a02:6b8:0:602::4]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD5F8FC1C for ; Mon, 5 Nov 2012 21:01:22 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward4.mail.yandex.net (Yandex) with ESMTP id D31671BC1295; Tue, 6 Nov 2012 01:01:20 +0400 (MSK) Received: from smtp1.mail.yandex.net (localhost [127.0.0.1]) by smtp1.mail.yandex.net (Yandex) with ESMTP id 9B8E2AA05DB; Tue, 6 Nov 2012 01:01:20 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp1.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 1KCS5mxS-1KC4NZH2; Tue, 6 Nov 2012 01:01:20 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1352149280; bh=xcPTrqJeDK3V/McavPeHQ0r7Zgce66yeNk+VW4UinHU=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: CC:Subject:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; b=pFDWfhMFeN6diSaXuTYkj8WDSUxxVQE3ZTGvBqF2tw7cy5geEKm5oX/xyH25oHYik 8pvDBp9vidH8OTctzs3SePaNpGkhsjW0we+/1dvU2u0WH5+fUtbw1JvWqSW4eri9Dc b02ODU0maxLQL+q+6x3uGs47UZc3++HNcP4wFJ8o= Date: Mon, 5 Nov 2012 23:01:17 +0200 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <568009110.20121105230117@yandex.ru> To: Vincent Hoffman Subject: Re[2]: HELP: some process eat my /var In-Reply-To: <50979737.9080106@unsane.co.uk> References: <1397755241.20121102210553@yandex.ru> <5094847D.5000904@dreamchaser.org> <20628.35101.903869.363056@jerusalem.litteratus.org> <1314272547.20121105113245@yandex.ru> <50979737.9080106@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Robert Huff , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 21:01:23 -0000 Здравствуйте, Vincent. Вы писали 5 ноября 2012 г., 12:38:47: VH> On 05/11/2012 09:32, Eugen Konkov wrote: >> Здравствуйте, Robert. >> >> # du -h /var | sort -nr | head -n 25 >> 976k /var/db/mysql/mysql >> 892k /var/mail/freeline.in.ua/luda >> 888M /var/log/radius/radacct/10.11.19.50 >> 858M /var/crash >> 840k /var/mail/freeline.in.ua/luda/cur >> 836k /var/db/firebird/help >> 608k /var/spool >> 564k /var/db/pkg/perl-threaded-5.14.1_3 >> 552k /var/spool/postfix >> 512B /var/named/dev >> 432k /var/db/ports >> 412k /var/db/pkg/python26-2.6.7_2 >> 392k /var/spool/postfix/defer >> 354M /var/mail >> 264k /var/db/pkg/libX11-1.4.4,1 >> 244k /var/db/pkg/en-freebsd-doc-20110521 >> 236k /var/tmp >> 236k /var/mail/freeline.in.ua/znz2 >> 224k /var/monit >> 223M /var/log/radius/radacct/10.10.0.2 >> 172M /var/mail/freeline.in.ua >> 171M /var/mail/freeline.in.ua/office >> 170M /var/mail/freeline.in.ua/office/cur >> 158M /var/mail/kes.net.ua >> 157M /var/mail/kes.net.ua/kes >> >> Something mistery take space, because of files take only 6.4G >> # du -h -d 0 /var >> 6.4G /var >> >> bug df says that there are more space was taken: >> df -h >> /dev/ada0s1d 30G 24G 3.5G 87% /var >> >> 6.4G vs 24G >> VH> Its possible that a process is holding open an unlinked file (some VH> processes do this for tmp files as they are automatically deleted if the VH> program exit, I believe mysql does it for tmp tables for example) VH> I've had this happen when a log got rotated but the process wasnt VH> notified so it kept writing to the file. VH> I believe lsof +L1 will show unlinked but open files. it shows nothing (( VH> Vince >> >> Вы писали 3 ноября 2012 г., 5:01:49: >> >> >> RH> Gary Aitken writes: >> >>>> Looks like /var/log has most of it. >>>> If you're running X, check for a huge Xorg.0.log. >>>> I had this problem as a result of a radeon graphics card that would get into >>>> some kind of reinitialization loop. >>>> In any case, look at the files in /var/log >> RH> A way to check disk usage: >> >> RH> du /var | sort -nr | head -n 25 >> >> RH> If you see something you don't recognize or that seems wrong >> RH> .... >> >> >> RH> Robert Huff >> >> >> RH> _______________________________________________ >> RH> freebsd-questions@freebsd.org mailing list >> RH> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> RH> To unsubscribe, send any mail to >> RH> "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> -- С уважением, Eugen mailto:kes-kes@yandex.ru