This is something that I put in the documentation, but neglected to
enforce in the code. If the retry patch is enabled, as it is by
default in the 1.1.22 distribution, the ipcache size should be
increased, since the average high-water mark of the ipcache will tend
to be higher. This is because ipcache entries are not ejected from
the cache until their timeout expires, in order to retain data about
the responsiveness of each address in the entry.
If you already run 1.1.22, don't bother applying this patch -- just
change your squid.conf file to set the ipcache_size parameter to 2048.
--- cache_cf.c.orig Mon Jun 29 16:09:20 1998
+++ cache_cf.c Mon Jun 29 16:10:19 1998
@@ -199,7 +199,11 @@
#define DefaultClientNetmask 0xFFFFFFFFul
#define DefaultPassProxy NULL
#define DefaultSslProxy NULL
+#ifdef RETRY_PATCH
+#define DefaultIpcacheSize 2048
+#else
#define DefaultIpcacheSize 1024
+#endif /* RETRY_PATCH */
#define DefaultIpcacheLow 90
#define DefaultIpcacheHigh 95
#define DefaultMinDirectHops 4
This patch is available at
<ftp://ftp.comshare.com/pub/squid/default_ipcache_size.patch>
-Mike Pelletier.
-- "[It will] be very hard to increase browser share on the merits of [Internet Explorer] alone. It will be more important to leverage the OS asset to make people use IE instead of Navigator." -- Christian Wildfeuer, a Microsoft ManagerReceived on Tue Jul 29 2003 - 13:15:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:49 MST