There is squid 3.1.8 on a Fedora 12 server with 2 GB of RAM. It is used for sharing the Internet for approximatively 80 PC's. The problem is that it is really a memory hog, when enabling delay pools.
I am using the following configuration for the memory pools:
Code:
delay_pools 1
delay_class 1 2
delay_access 1 allow drumuri
delay_access 1 deny all
#delay_parameters 1 10485760/10485760 #mmare 512 kbs
#delay_parameters 1 131072/131072 #1024 kbs
delay_parameters 1 524288/524288 32768/32768 #Total 4 mb, per utilizator 256 kbs
There are moments when the squid process uses approximatively all the RAM and goes into swapping. After that I restart it, it goes well for a while and again eats up all the memory.
On the Internet it says that Squid uses a lot of memory, but should it use 2 GB of memory, even if all 80 people are online at the same time?
Also, please tell me how could I minimise the memory usage. I googled for it, but found nothing regarding delay pools.