Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 21:50:36 +0200
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        Bryan Drewery <bryan@shatow.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re[2]: HELP: some process eat my /var
Message-ID:  <705110219.20121102215036@yandex.ru>
In-Reply-To: <50941E93.2080709@shatow.net>
References:  <1397755241.20121102210553@yandex.ru> <50941A7D.3020807@shatow.net> <324276911.20121102212051@yandex.ru> <50941E93.2080709@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:27:15:

BD> On 11/2/2012 2:20 PM, Eugen Konkov wrote:
>> Здравствуйте, Bryan.
>> 
>> Вы писали 2 ноября 2012 г., 21:09:49:
>> 
>> BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>>>> 858M    ./crash
>>>>
>>>> 1.3G    ./db
>>>>
>>>> 3.7G    ./log
>> 
>> BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
>> BD> of your big logfiles in /var/log. Also consider moving whatever is large
>> BD> in /var/db elsewhere.
>> 
>> BD> Bryan
>> 
>> Notice df -h
>> /dev/ada0s1d     30G     23G    3.7G    87%    /var
>> 
>> and notice du -h -d 1
>> 6.2G
>> 
>> I have only 6.2G are occupied by files
>> 
>> where 18Gb of disk space?
>> 

BD> Are you running MySQL? It uses hidden tmpfiles that may grow quite
BD> large. Restarting it may cleanup the space.

BD> Bryan

as I have showed  'fstat -f /var' have no mysql running.

as 'top' shows there is no zombie:
# top -SIHP
last pid: 99128;  load averages:  0.85,  0.93,  1.03                              up 3+04:05:04  21:48:50
186 processes: 5 running, 139 sleeping, 42 waiting
CPU 0:  0.0% user,  0.0% nice,  7.7% system,  8.5% interrupt, 83.8% idle
CPU 1:  0.7% user,  0.0% nice, 11.3% system,  5.6% interrupt, 82.4% idle
CPU 2:  1.4% user,  0.0% nice,  4.9% system,  9.2% interrupt, 84.5% idle
CPU 3:  0.7% user,  0.0% nice,  8.5% system,  7.7% interrupt, 83.1% idle
Mem: 97M Active, 1781M Inact, 264M Wired, 55M Cache, 112M Buf, 1274M Free
Swap: 2048M Total, 220K Used, 2048M Free

Maybe other process uses hidden files. How to find such files??



-- 
С уважением,
 Eugen                          mailto:kes-kes@yandex.ru




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