Henrik Nordstrom wrote:

squid.conf is a good start. Looking in cache.log for errors is also good. And to make sure you are not bitten by the 2.5.STABLE6 bug mentioned before.

The default of Squid is to have caching enabled, but certain directives can be used to disable caching such as the no_cache directive or by using a "null" cache_dir type.

In "cache.log" no errors are found:

2004/09/29 00:01:02| storeDirWriteCleanLogs: Starting...
2004/09/29 00:01:03| Finished. Wrote 21 entries.
2004/09/29 00:01:03| Took 0.0 seconds (65625.0 entries/sec).
2004/09/29 00:01:03| logfileRotate: /var/log/squid/store.log
2004/09/29 00:01:03| logfileRotate: /var/log/squid/access.log
2004/09/29 00:01:03| helperOpenServers: Starting 5 'ncsa_auth' processes
2004/09/29 09:58:04| temporary disabling (Not Found) digest from proxy.reteunitaria.piemonte.it
2004/09/29 13:40:04| TCP connection to proxy.reteunitaria.piemonte.it/3128 failed
2004/09/29 13:40:35| TCP connection to proxy.reteunitaria.piemonte.it/3128 failed
2004/09/29 13:41:05| TCP connection to proxy.reteunitaria.piemonte.it/3128 failed
2004/09/29 13:43:12| Detected DEAD Parent: proxy.reteunitaria.piemonte.it/3128/3130
2004/09/29 13:43:12| Failed to select source for 'http://www.tiscali.it/'
2004/09/29 13:43:12| always_direct = -1
2004/09/29 13:43:12| never_direct = 1
2004/09/29 13:43:12| timedout = 0
2004/09/29 13:43:12| Detected REVIVED Parent: proxy.reteunitaria.piemonte.it/3128/3130



In squid.conf:

cache_dir ufs /var/spool/squid 8192 16 256


-- ----------------------------------- Boniforti Flavio Provincia del Verbano-Cusio-Ossola Ufficio Informatica

Tecnoparco del Lago Maggiore
Via dell'Industria, 25
28924 Verbania
-----------------------------------

Reply via email to