I'm running ordinary stuff on a BBB (tornado, redis, no external hardware, beefy 5V 4A power supply). After a month or two of fine performance, redis stopped allowing connections. I ran
Code: Select all
df -h
Code: Select all
root@curriculum:/opt/scripts/tools# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 7.3G 7.2G 0 100% /
udev 10M 0 10M 0% /dev
tmpfs 100M 9.6M 90M 10% /run
/dev/mmcblk0p2 7.3G 7.2G 0 100% /
tmpfs 249M 0 249M 0% /dev/shm
tmpfs 249M 0 249M 0% /sys/fs/cgroup
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 100M 0 100M 0% /run/user
/dev/mmcblk0p1 96M 81M 16M 84% /boot/uboot
Code: Select all
root@curriculum:/opt/scripts/tools# du -a /var | sort -n -r | head -n 10
205900 /var
100160 /var/lib
66528 /var/cache
60168 /var/cache/apt
38136 /var/log
35164 /var/lib/apt
35100 /var/lib/apt/lists
33408 /var/lib/dpkg
30080 /var/cache/apt/srcpkgcache.bin
30076 /var/cache/apt/pkgcache.bin
* why does only this BBB have this issue? I'm running 4 other BBBs in very similar setups and only this one has filled up (the only special thing about this one is that it's the only BBB i have ever gotten wifi working on, despite literally 20-odd hours trying to get it to work on others)
* what is the best way to solve my problem so it won't recur?
* Why are my deletions not appearing to change the output of
Code: Select all
df -h
Any tips or help would be much appreciated!
AKA
PS, running
Code: Select all
uname -a
Code: Select all
Linux curriculum 3.8.13-bone71 #1 SMP Tue Mar 17 18:07:44 UTC 2015 armv7l GNU/Linux