Squid died. Removed and now won't re-install.
bob76535 last edited by
I have been running squid on the current release of pfsense. I also had lightsquid installed if that matters. Last week pfsense stopped letting me make configuration changes to all areas in the gui. Then right afterward squid stopped working. I un-installed squid and lightsquid and the configuration problem went away. Now when I try and re-install squid I get his error in the logs:
Apr 26 08:19:44 kernel: pid 47598 (bsdtar), uid 0 inumber 35239 on /: out of inodes
Apr 26 08:19:07 kernel: pid 47488 (bsdtar), uid 0 inumber 193008 on /: out of inodes
Apr 26 08:19:06 kernel: pid 47488 (bsdtar), uid 0 inumber 42923 on /: out of inodes
Apr 26 08:18:50 kernel: /: optimization changed from SPACE to TIME
Apr 26 08:17:43 php: /pkg_mgr_install.php: Beginning package installation for squid.
I searched on the net regarding that out of inodes error and it seems that it could mean the file system is ruined requiring a re-format and reload of the OS. Is this a FreeBSD issue and is it common? Is there any way to fix this or do I have to re-load pfsense? What causes this?
The hardware is a Dell Precision 670N with dual 2.8G Xeons, 2G of ram, two intel gigabit PCI cards, and a single 250G IDE hard drive if that matters. The onboard intel gigabit is the WAN and one of the PCI cards is the lan. The other is inactive as we were going to go dual WAN but did not.
danswartz last edited by
I am guessing there are a bunch of leftover squid cache files. Check /var/squid/cache and maybe delete the contents and see then?
Out of inodes implies that there were a lot of small files so the filesystem ran out of pointers for files before it ran out of space. This isn't unusual for something such as squid.
You will need to rm -rf /var/squid/cache, possibly from the console and not ssh (it may not let you login in this situation)
That will probably take a while to run.
You can check the inode usage of a drive by using:
And reading the iused/ifree/%iused columns
If you really can't reinstall the squid package, you may also need to get a backup of your config, edit out the squid settings, and restore the config.