Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: hiren_309 on January 19, 2008, 10:44:53 AM

Title: Squid Proxy:How to maximize use of Memory
Post by: hiren_309 on January 19, 2008, 10:44:53 AM
I deplyoed squid server on HP DL 380 G5

with 8 GB of Physical ram & 20 GB of Swap parttion

User Connected is Approx 2500

but my server use only 5% of physical memory so how i can provide more memory to squid service

bcs at load my squid work slow

Pls help any suggestion
Title: Re: Squid Memory
Post by: Ricky on January 19, 2008, 01:06:10 PM
There is a directive :
cache_mem

Set it to something
Code: [Select]
cache_mem 7000 mbthen it will use RAM upto 7000 mb, I am not sure if it can take GB directive, if yes then you can specify 7 gb instead.
Title: Re: Squid Memory
Post by: hiren_309 on January 23, 2008, 07:16:57 AM
There is a directive :
cache_mem

Set it to something
Code: [Select]
cache_mem 7000 mbthen it will use RAM upto 7000 mb, I am not sure if it can take GB directive, if yes then you can specify 7 gb instead.

it will no support more than 2048 MB

Regards

Any more help pls suggest
Title: Re: Squid Proxy:How to maximize use of Memory
Post by: Ricky on January 23, 2008, 08:54:18 AM
I hope you have installed 64 bit version whatever Linux OS you are using. And also squid has been compiled as 64 bit binary .. !

Bcz only 32 bit OS doesn't allow use of memory >2GB .