HELP: some process eat my /var

Eugen Konkov kes-kes at yandex.ru
Fri Nov 2 19:50:40 UTC 2012


Здравствуйте, 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 at yandex.ru



More information about the freebsd-questions mailing list