I've got a server on Debian 8.1 (3.16.0-4-amd64) which is telling me that disk used is high and I can not see why.
Disks usage
df -h
:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 440G 298G 120G 72% /
udev 10M 0 10M 0% /dev
tmpfs 3,2G 337M 2,8G 11% /run
tmpfs 7,9G 0 7,9G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 7,9G 0 7,9G 0% /sys/fs/cgroup
192.168.10.50:/c/logs 5,5T 1,9T 3,7T 34% /mnt/nas
192.168.11.250:/data/logs_hotspots 8,2T 1,6T 6,6T 20% /mnt/NAS
tmpfs 1,6G 0 1,6G 0% /run/user/1000
Size of each folder :
du -sh
:
11M /bin
46M /boot
0 /dev
37M /etc
464K /home
0 /initrd.img
0 /initrd.img.old
312M /lib
4,0K /lib64
16K /lost+found
16K /media
8,0K /opt
64K /root
337M /run
5,1M /sbin
4,0K /srv
0 /sys
24K /tmp
447M /usr
233M /var
0 /vmlinuz
0 /vmlinuz.old
It is increasing slowly since last year and since it is a production server, I do not want (can not) to restart it.
Note : NFS mounts are only for syslog-ng.
If anyone has an idea...
You can have a look at the output of 'lsof | grep deleted' ... to see if deleted files are still taking up diskspace.
You can then decide to restart or reload the processes still holding on to deleted files to clear up the used diskspace.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments