Squid :Version 2.4.STABLE6 - problems
Posted on 2004-08-30
I'm running squid proxy on debian 3.0 for aproximate for 50 win98 clients. Squid was working for 4 months without problems but recently I got some problems with it. The squid just stoped working and I in order to make it working again I always need to uninstall it and install it again. In squid log file is mesage like:
/var/spool/squid/00: (2) No such file or directory
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 2.4.STABLE6): Terminated abnormally.
I also tryied # sqiud -z but it does not help and squid stops working aftrer few days again.
My squid.conf looks like this:
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 20 Mb
memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF
cache_dir ufs /var/spool/squid 200 16 256
# basic acl's
# loopback network
acl localhost src 127.0.0.1/255.255.255.255
# internal lan
acl localnet src 192.168.0.0/255.255.0.0
# services you want to enable
acl Safe_ports port 80 443 210 70 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
# only the specified services
http_access deny !Safe_ports
# allow localnet and loopback net
http_access allow localnet
http_access allow localhost
http_access deny CONNECT
# and no one else
http_access deny all
maximum_object_size 3000 KB
store_avg_object_size 50 KB
Can somebody tell me what schould I try to do to prevent squid failure?
Thanks for all suggestions