Re: [squid-users] Httpd Accelerator

From: Matus UHLAR - fantomas <[email protected]>
Date: Fri, 29 Apr 2005 09:22:09 +0200

On 29.04 00:21, kavos gabor wrote:
> cache_mem should be a minimum because squid automatically manages memory.

No. You can configure big cache_mem to get better memory hit ratio and to
avoid some disk I/O, which is probably the most frequent bottleneck of squid
caches.

> i recommened 64MB because it solved my problem.

what problem?

> my box also has 4 GB of memory and twin Xeon 2.66 Ghz CPU but i must tell
> you that squid doesnt use multiple CPUs as it runs only as a single
> procoess. However, the i/o is excellent with SMP boxes. also, try to
> reduce the object size in memory to a lower size. e.g, 50KB so squid
> doesnt panic when big files are requested from the cache. hope this helps
> you ...

You can increase maximum_object_size_in_memory when you increase cache_mem.
with 4GB of RAM the 64MB meomry cache is quite low and you can increase it,
unless you have very big disk cache and the squid process eats 2 GB of RAM
also without the memory cache. That should happen if you have >~10 millions
of object in the cache.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]
Received on Fri Apr 29 2005 - 01:22:15 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT