Hi Kleven,
thanks for your response. I wonder if /var/log is extremely full:
du -s -k /*
4576 /bin
4480 /boot
4 /dev
40532 /etc
35960 /home
41272 /lib
16 /lost+found
529 /media
8 /mnt
du: cannot access `/proc/30353/task/30353/fd/3’: No such file or directory
du: cannot access `/proc/30353/task/30353/fdinfo/3’: No such file or directory
du: cannot access `/proc/30353/fd/3’: No such file or directory
du: cannot access `/proc/30353/fdinfo/3’: No such file or directory
du: cannot access `/proc/30354’: No such file or directory
0 /proc
236 /run
2244 /sbin
0 /sys
4 /tmp
945000 /usr
586108 /var
ls -lh /var/log
total 464K
drwxr-xr-x 2 root root 4.0K Jan 1 2000 ConsoleKit
-rw-r–r-- 1 root root 1.1K May 20 11:51 README
-rw-r–r-- 1 root root 8.3K Jan 1 2000 Xorg.0.log
-rw-r–r-- 1 root root 8.5K Aug 7 15:31 Xorg.0.log.old
-rw------- 1 root utmp 0 Jan 1 2000 btmp
drwx------ 4 root root 4.0K Jan 2 2000 cores
drwxr-xr-x 2 root root 4.0K May 29 21:41 gateone
-rw-r–r-- 1 root root 41K Jan 1 2000 gateone.log
drwxrwx–T 2 root gdm 4.0K Jan 1 2000 gdm
drwxr-xr-x 3 root root 4.0K Jan 1 2000 journal
-rw-r–r-- 1 root root 286K Aug 9 15:23 lastlog
-rw-r–r-- 1 root root 3.5K Jan 1 2000 log.nmbd
-rw-r–r-- 1 root root 1.9K Jan 1 2000 log.smbd
-rw-r–r-- 1 root root 389 Jan 1 2000 mpd.log
-rw-r–r-- 1 root root 23K Aug 7 15:32 ntpd.log
-rw-r–r-- 1 root root 1.6K Aug 7 15:32 pm-powersave.log
drwxr-xr-x 2 root root 4.0K Feb 25 00:36 samba
-rw-r–r-- 1 root root 0 Aug 7 11:28 samba-log.192.168.0.119
-rw-r–r-- 1 root root 0 Aug 7 11:35 samba-log.192.168.7.1
-rw-r–r-- 1 root root 25K Aug 7 15:35 samba-log.peter-hp
-rw-r–r-- 1 root root 33K Aug 9 15:40 samba-log.smbd
-rw-rw-r-- 1 root utmp 231K Aug 9 15:23 wtmp
-rw-r–r-- 1 root root 204 Aug 7 15:32 xinput_calibrator.pointercal.log
For a 2GB memory a directory of 464kB is not shocking, do you think?
I followed Andy’s advice, this is the resultr:
root@freek:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1738184 1551616 96604 95% /
/dev/root 1738184 1551616 96604 95% /
devtmpfs 255276 0 255276 0% /dev
tmpfs 255404 4 255400 1% /dev/shm
tmpfs 255404 520 254884 1% /run
tmpfs 255404 0 255404 0% /sys/fs/cgroup
tmpfs 255404 4 255400 1% /tmp
/dev/mmcblk0p1 71133 55239 15895 78% /media/BEAGLEBONE
root@freek:/# du -s -k /*
4576 /bin
4480 /boot
4 /dev
40536 /etc
36176 /home
41272 /lib
16 /lost+found
525 /media
8 /mnt
du: cannot access `/proc/621/task/621/fd/3’: No such file or directory
du: cannot access `/proc/621/task/621/fdinfo/3’: No such file or directory
du: cannot access `/proc/621/fd/3’: No such file or directory
du: cannot access `/proc/621/fdinfo/3’: No such file or directory
0 /proc
520 /run
2244 /sbin
0 /sys
4 /tmp
945000 /usr
474620 /var
So we have reclaimed 5% of the rootfs, and for the time being I can proceed, but isn’t 95% usage far too much?
Thanks,
Peter