November 25, 2024, 07:49:20 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Squid Proxy:How to maximize use of Memory  (Read 7418 times)

Offline hiren_309

  • New Member
  • Posts: 3
Squid Proxy:How to maximize use of Memory
« 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
« Last Edit: January 19, 2008, 01:04:56 PM by Ricky »

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Squid Memory
« Reply #1 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.

Offline hiren_309

  • New Member
  • Posts: 3
Re: Squid Memory
« Reply #2 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Squid Proxy:How to maximize use of Memory
« Reply #3 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 .