Re: Problems with Squid 1.1.20

From: Clement <support@dont-contact.us>
Date: Tue, 03 Mar 1998 18:26:37 +1100

This is what we are using. In fact, it is what members of the AUIX are
using.

refresh_pattern/i \.gif$ 10080 90% 43200
refresh_pattern/i \.jpg$ 10080 90% 43200
refresh_pattern/i \.bom\.gov\.au 30 20% 120
refresh_pattern/i \.html$ 480 50% 22160
refresh_pattern/i \.htm$ 480 50% 22160
refresh_pattern/i \.class$ 10080 90% 43200
refresh_pattern/i \.zip$ 10080 90% 43200
refresh_pattern/i \.jpeg$ 10080 90% 43200
refresh_pattern/i \.mid$ 10080 90% 43200
refresh_pattern/i \.shtml$ 480 50% 22160
refresh_pattern/i \.exe$ 10080 90% 43200
refresh_pattern/i \.thm$ 10080 90% 43200
refresh_pattern/i \.wav$ 10080 90% 43200
refresh_pattern/i \.txt$ 10080 90% 43200
refresh_pattern/i \.cab$ 10080 90% 43200
refresh_pattern/i \.au$ 10080 90% 43200
refresh_pattern/i \.mov$ 10080 90% 43200
refresh_pattern/i \.xbm$ 10080 90% 43200
refresh_pattern/i \.ram$ 10080 90% 43200
refresh_pattern/i \.avi$ 10080 90% 43200
refresh_pattern/i \.chtml$ 480 50% 22160
refresh_pattern/i \.thb$ 10080 90% 43200
refresh_pattern/i \.dcr$ 10080 90% 43200
refresh_pattern/i \.bmp$ 10080 90% 43200
refresh_pattern/i \.phtml$ 480 50% 22160
refresh_pattern/i \.mpg$ 10080 90% 43200
refresh_pattern/i \.pdf$ 10080 90% 43200
refresh_pattern/i \.art$ 10080 90% 43200
refresh_pattern/i \.swf$ 10080 90% 43200
refresh_pattern/i \.mp3$ 10080 90% 43200
refresh_pattern/i \.ra$ 10080 90% 43200
refresh_pattern/i \.spl$ 10080 90% 43200
refresh_pattern/i \.viv$ 10080 90% 43200
#####
refresh_pattern/i \.doc$ 10080 90% 43200
refresh_pattern/i \.gz$ 10080 90% 43200
refresh_pattern/i \.Z$ 10080 90% 43200
refresh_pattern/i \.tgz$ 10080 90% 43200
refresh_pattern/i \.tar$ 10080 90% 43200
refresh_pattern/i \.vrm$ 10080 90% 43200
refresh_pattern/i \.vrml$ 10080 90% 43200
refresh_pattern/i \.aif$ 10080 90% 43200
refresh_pattern/i \.aifc$ 10080 90% 43200
refresh_pattern/i \.aiff$ 10080 90% 43200
refresh_pattern/i \.arj$ 10080 90% 43200
refresh_pattern/i \.c$ 10080 90% 43200
refresh_pattern/i \.cpt$ 10080 90% 43200
refresh_pattern/i \.dir$ 10080 90% 43200
refresh_pattern/i \.dxr$ 10080 90% 43200
refresh_pattern/i \.hqx$ 10080 90% 43200
refresh_pattern/i \.jpe$ 10080 90% 43200
refresh_pattern/i \.lha$ 10080 90% 43200
refresh_pattern/i \.lzh$ 10080 90% 43200
refresh_pattern/i \.midi$ 10080 90% 43200
refresh_pattern/i \.movie$ 10080 90% 43200
refresh_pattern/i \.mp2$ 10080 90% 43200
refresh_pattern/i \.mpe$ 10080 90% 43200
refresh_pattern/i \.mpeg$ 10080 90% 43200
refresh_pattern/i \.mpga$ 10080 90% 43200
refresh_pattern/i \.pl$ 10080 90% 43200
refresh_pattern/i \.ppt$ 10080 90% 43200
refresh_pattern/i \.ps$ 10080 90% 43200
refresh_pattern/i \.qt$ 10080 90% 43200
refresh_pattern/i \.qtm$ 10080 90% 43200
refresh_pattern/i \.ras$ 10080 90% 43200
refresh_pattern/i \.sea$ 10080 90% 43200
refresh_pattern/i \.sit$ 10080 90% 43200
refresh_pattern/i \.tif$ 10080 90% 43200
refresh_pattern/i \.tiff$ 10080 90% 43200
refresh_pattern/i \.snd$ 10080 90% 43200
refresh_pattern/i \.wrl$ 10080 90% 43200
####
refresh_pattern ^ftp:// 480 60% 22160
refresh_pattern ^gopher:// 30 20% 120
refresh_pattern . 480 50% 22160

Dancer wrote:
>
> Actually, that's a good point. I sent him my set of refresh patterns (which are
> fairly trusty).
>
> Might I ask what set you use? (Maybe swap patterns...There's bound to be something
> I haven't thought of)
>
> D
>
> Clement wrote:
>
> > It can be a problem with your refresh-pattern. Check it and increase
> > the durations.
> >
> > Jason McKay wrote:
> > >
> > > We have been running Squid 1.1.20 on FreeBSD for a couple of weeks now ...
> > > until now it has been running perfectly ... We have the cache being stored
> > > on a 8gig drive, but when it reached 32% full squid started reducing the
> > > size of the cache. The hard drive light is now always on and the space used
> > > will not go above 2.2 gigs (the computer has 128megs of RAM). Here is my
> > > squid.conf file:
> > >
> > > http_port 8080
> > > debug_options ALL,1
> > > acl all src 0.0.0.0/0.0.0.0
> > > acl tocache proto HTTP FTP
> > > http_access allow all
> > > icp_access allow all
> > > cache_mem 80
> > > cache_mem_low 75
> > > cache_mem_high 90
> > > cache_swap 7900
> > > cache_swap_low 90
> > > cache_swap_high 95
> > > cache_effective_user squid squid
> > > cache_effective_user nobody nogroup
> > > cache_dir /drive2/cache
> > >
> > > Here is what top saids, before yesterday the CPU for squid would not go
> > > above 1% :
> > >
> > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
> > > 145 root -6 0 17952K 18000K biowai 1:03 7.44% 7.44% squid
> > >
> > > Any ideas on whats its doing?
> > >
> > > Thank you,
> > > Jason McKay.
> >
> > --
> > Regards,
> >
> > Clement
> > ============================================================
> > web URL: http://www.ans.com.au/ email: support@ans.com.au
> > Address: 14 Fisher Road, Dee Why NSW 2099 Tel: 9972 2377
>
> --
> Did you read the documentation AND the FAQ?
> If not, I'll probably still answer your question, but my patience will
> be limited, and you take the risk of sarcasm and ridicule.

-- 
Regards,
Clement
============================================================
web URL: http://www.ans.com.au/    email: support@ans.com.au
Address: 14 Fisher Road, Dee Why  NSW 2099    Tel: 9972 2377
Received on Mon Mar 02 1998 - 23:34:46 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:07 MST