SquidGuard error in processing big blacklist
-
Behaviour :
SquidGuard do not filter end of a big blacklist
By instance, it blocks correctly pornhub.com but let free access to xvideo.com even if it is in the blacklist.Cause:
- The RAMdisk size for /tmp/squidGuard is too small.
- Strangely SquidGurad do not display nor log any error.
- The only found error is on system log:
Jul 2 23:05:07 kernel pid 5419 (squidGuard), uid 0 inumber 9742 on /tmp/squidGuard: filesystem full
Fix (workaround) :
At the line 1985 of the /usr/local/pkg/squidguard_configurator.inc script file, I had to change " $ramsize = 300;" by " $ramsize = 600;" doubling the ramdisk size.#***************************************************************************** # RAMDisk # Temp ramdisk for quickly DB update # ***************************************************************************** function squidguard_ramdisk($enable) { $ramsize = 300; # delete old squidguard ramdisk if (file_exists("/dev/md15")) { mwexec("/sbin/umount -f " . SQUIDGUARD_TMP); mwexec("sleep 1"); mwexec("/sbin/mdconfig -d -u 15"); } ...
Is that possible to fix this on future releases or give an option on SquidGuard GUI to provide the RAMdisk size ?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.