Search squid archive

Re: [squid-users] Httpd Accelerator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, uhlar@xxxxxxxxxxx ; 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]

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux