zulkarnain wrote:
>
> I'm using squid-2.4.STABLE7 on Redhat 7.3.
> I prefer to tweak the cache_mem parameter rather then
> reduce the cache_dir. would you please let me know the
> 1rst step to tweak the cache_mem?
cache_mem is specified in squid.conf.
Note that this parameter does not control squid's overall
memory usage.
See the FAQ for more info.
M.
>
> best regards,
> zulkarnain
>
> --- Marc Elsen <marc.elsen@imec.be> wrote:
> >
> >
> > zulkarnain wrote:
> > >
> > > HI,
> > >
> > > I've 2GB RAM on my squid box, 4GB swap file and
> > 145GB
> > > cache dir. The squid use ALL of 2GB RAM,
> > > I think it would be great if I could use the 4GB
> > swap
> > > file (it is totaly unused). Is it possible to
> > > configure squid to use swap file?
> >
> > Which version of squid are you using ?
> > On which os/platform/version ?
> >
> > See the FAQ on SQUID mem. usage versus configured
> > cache dir(s), for instance.
> > Your cache dir is very large, also your cache_mem
> > setting hence your squid will use a lot of memory.
> >
> > Normal os-es will prevent use of SWAP unless
> > 'there is no other way'
> > This is good, not bad.
> >
> > Meaning that if you want squid to use less memory,
> > then
> > you will have to tweak cache_dir and or cache_mem
> > params.
> >
> > M.
> >
> > >
> > > FYI, here is my squid.conf:
> > >
> > > cache_mem 256 MB
> > > cache_swap_low 94
> > > cache_swap_high 96
> > > memory_replacement_policy heap LFUDA
> > > memory_pools on
> > >
> > > Best regards,
> > > zulkarnain
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > > http://mailplus.yahoo.com
> >
> > --
> >
> > 'Time is a consequence of Matter thus
> > General Relativity is a direct consequence of QM
> > (M.E. Mar 2002)
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
-- 'Time is a consequence of Matter thus General Relativity is a direct consequence of QM (M.E. Mar 2002)Received on Tue Feb 04 2003 - 06:27:57 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:14 MST