Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sat, 14 Jun 2008 11:25:18 +0200

On lör, 2008-06-14 at 14:10 +0800, Arkin, Y wrote:

> Configuration:
> ./configure --enable-dlmalloc ...etc...

Hmm.. don't use --enable-dlmalloc if you have more than 2 GB of memory,
or at all if you have a reasonably modern OS.. (i.e. almost anything
released this millenium)

> one Squid instance is running on the cache server ,
> squid .conf :
> cache_mem 8192 MB
> maximum_object_size_in_memory 2048 KB

This may be the culpit. Squid-2 is very very poor at handling large
objects in memory, wasting exponential amount of CPU the larger the
object is..

This is fixed in Squid-3.

Regards
Henrik

Received on Sat Jun 14 2008 - 09:25:25 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 15 2008 - 12:00:03 MDT