Upgrade problem, running out of inodes
-
Hi,
I just tried to upgrade from 1.2-RC3 (built on Wed Jan 2 19:19:15 EST 2008) to the new RC4 snapshot, I noticed that the web GUI was performing very slowly, and then I got this error whist attempting to enable the upgrade.
Warning: touch(): Unable to create file /var/run/fwup.enabled because No space left on device in /usr/local/www/system_firmware.php on line 79
[root@gw /var/run]# uptime
8:44PM up 6 days, 3:52, 2 users, load averages: 0.08, 0.14, 0.15[root@gw /var/run]# df -hi /var/run
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/md0 1.7M 1.0M 562K 64% 510 0 100% /var/run[root@gw /var/run]# ls -lh
total 30
drwxrwxr-x 2 root operator 512B Jan 4 16:53 .snap
-rw–----- 1 root wheel 3B Jan 4 16:54 cron.pid
-rw-r--r-- 1 root wheel 4B Jan 4 16:53 devd.pid
srw-rw-rw- 1 root wheel 0B Jan 4 16:53 devd.pipe
-rw-r--r-- 1 root wheel 4B Jan 4 16:53 dnsmasq.pid
-rw-r--r-- 1 root wheel 4B Jan 10 20:43 filter_reload_status
-rw------- 1 root wheel 41B Jan 4 17:03 htpasswd
-r--r--r-- 1 root wheel 157B Jan 4 16:53 ld-elf.so.hints
-rw-r--r-- 1 root wheel 4B Jan 4 16:53 lighty-webConfigurator.pid
srw-rw-rw- 1 root wheel 0B Jan 4 16:53 log
srw------- 1 root wheel 0B Jan 4 16:53 logpriv
-rw-r----- 1 root wheel 4B Jan 4 16:53 miniupnpd.pid
-rw-r--r-- 1 root wheel 4B Jan 4 16:53 mpd-vpn.pid
-rw-r--r-- 1 root wheel 5B Jan 4 16:54 ping_hosts.pid
-rw-r--r-- 1 root wheel 5B Jan 4 16:54 racoon.pid
-rw------- 1 root wheel 0B Jan 10 20:42 snort_fxp0.pid.lck
-rw-r--r-- 1 root wheel 4B Jan 4 16:53 sshd.pid
-rw-r--r-- 1 root wheel 4B Jan 4 16:53 syslog.pid
-rw-r--r-- 1 root wheel 748B Jan 10 20:38 utmpSo I'm guessing something is unlinking files in /var/run but keeping them open so they stay on disk.
A reboot cures the problem (as you would expect)
[root@gw /usr/home/suffo_b]# uptime
8:48PM up 2 mins, 2 users, load averages: 0.57, 0.39, 0.17[root@gw /var/run]# df -hi /var/run
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/md0 1.7M 36K 1.5M 2% 22 488 4% /var/run[root@gw /var/run]# ls -lh
total 32
drwxrwxr-x 2 root operator 512B Jan 10 20:45 .snap
-rw–----- 1 root wheel 4B Jan 10 20:46 cron.pid
-rw-r--r-- 1 root wheel 4B Jan 10 20:45 devd.pid
srw-rw-rw- 1 root wheel 0B Jan 10 20:45 devd.pipe
-rw-r--r-- 1 root wheel 4B Jan 10 20:46 dnsmasq.pid
-rw-r--r-- 1 root wheel 4B Jan 10 20:47 filter_reload_status
-rw------- 1 root wheel 41B Jan 10 20:46 htpasswd
-r--r--r-- 1 root wheel 157B Jan 10 20:45 ld-elf.so.hints
-rw-r--r-- 1 root wheel 4B Jan 10 20:46 lighty-webConfigurator.pid
srw-rw-rw- 1 root wheel 0B Jan 10 20:46 log
srw------- 1 root wheel 0B Jan 10 20:46 logpriv
-rw-r----- 1 root wheel 5B Jan 10 20:46 miniupnpd.pid
-rw-r--r-- 1 root wheel 4B Jan 10 20:46 mpd-vpn.pid
-rw-r--r-- 1 root wheel 5B Jan 10 20:47 ping_hosts.pid
-rw-r--r-- 1 root wheel 5B Jan 10 20:47 racoon.pid
-rw------- 1 root wheel 5B Jan 10 20:47 snort_fxp0.pid
-rw------- 1 root wheel 0B Jan 10 20:47 snort_fxp0.pid.lck
-rw-r--r-- 1 root wheel 4B Jan 10 20:46 sshd.pid
-rw-r--r-- 1 root wheel 4B Jan 10 20:46 syslog.pid
-rw-r--r-- 1 root wheel 748B Jan 10 20:48 utmp -
What packages do you have installed?
-
Snort 2.7.0.1_3 is the only package I currently have installed.
Regards
Ben