LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Squid's cache_mem variable

[ILUG] Squid's cache_mem variable

Brian O'Donoghue Brian.ODonoghue at kbs.ie
Mon Jun 24 14:26:04 IST 2002


I have been asked to increase the size of the proxies cache.

The proxy is running on a p120 w 80mb of ram and a 8gb hdd in pio mode.
It is also a default gateway, but due to the stupidness of some of the m$
machines on the network who refuse to address the Linux box 'even though its
ip is specified as the default gw' we have to run a proxy service to force
the end user's browsers to reference the DSL connection on the Linux box as
opposed to the 'expensive' isdn connection on the NT machine.

My question is what is a reasonable value to set cache_mem to? I have read
on some squid mailing list that 1/3 of the available memory would be a good
idea. But 1/3 of 80mb 'real' and 30mb swap might tie up the box in reading
from the hdd if 10-15 users were simultaneously making numberous requests
against the proxy.

Basically 'others' would like to download lots of the same files onto
numerous client machines so I have to build a reasonably sized cache as
opposed to my instinct to build a minimal one.

Advice?




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell