Re: [squid-users] serious problem with squid.

From: Mauro <[email protected]>
Date: Tue, 25 Nov 2003 13:20:25 +0100

On Friday 21 November 2003 17:55, Henrik Nordstrom wrote:
> On Fri, 21 Nov 2003, Mauro wrote:
> > I have 8Gb of disk cache all containing data.
> > May be a problem in cache consistency?
> > May be squid has a problem in searching in its cache and so I
> > have no responses from dns servers.
> > It seems to me that when cache was not full there were not any
> > problem.
>
> Also extremely unlikely, but you can always try clearing your cache
> to rule this out.
 
I have changed positive_dns_ttl parameter.
I put positive_dns_ttl 5 minutes.
Now it seems that things goes better.
Do you why?

p.s. if it's can help here is my configuration:

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

acl corsi_on_line src 192.168.0.0/16
acl special_url1 url_regex ^http://www.menteinforma.it/
acl special_url2 url_regex ^http://www.porsardegna.net/
acl special_url3 url_regex ^http://java.sun.com/
acl special_ip dst 62.101.68.131
#acl localnet src 192.168.0.0/16
acl ip_auth src "/var/local/proxy1/ip_auth"
acl per2232 src 192.168.2.232

http_access allow manager localhost
http_access allow manager per2232
http_access deny manager
http_access allow purge localhost
http_access allow purge per2232
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow ip_auth
http_access allow corsi_on_line special_url1
http_access allow corsi_on_line special_url2
http_access allow corsi_on_line special_url3
http_access allow corsi_on_line special_ip
http_access deny all

icp_access allow all

cache_mem 32 MB

cache_dir ufs /var/spool/squid 8000 16 256

reference_age 4 months

positive_dns_ttl 5 minutes

half_closed_clients off

forwarded_for off

acl snmpManager src 192.168.4.7/255.255.255.255
acl snmppublic snmp_community public

snmp_port 3401

snmp_access allow snmpManager
snmp_access allow snmppublic localhost
snmp_access deny all
Received on Tue Nov 25 2003 - 05:20:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:35 MST