Re: [squid-users] swapping/resource

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 29 Sep 2007 13:26:29 +0800

On Fri, Sep 28, 2007, Frank Ruiz wrote:
> Greetings,
>
> I have a system with 32GB of RAM, and I have my squid cache configured
> as an in memory cache only.

Which operating system?

> Currently Squid cache mem is set to:
> cache_mem 18000 MB
>
> Cache dir is set to :
> cache_dir null /ebay/local/var/nocache
>
> Two things I am hoping to do is:
>
> Reduce swap.
> It appears that for every GIG of physical mem used, there is a
> corresponding amount of swap that is also allocated.
>
> i.e. squid using 27G of RAM, and also 27G of swap is allocated. There
> is nothing else running on this box other than squid.
>
> Reduce CPU utilization. Currently CPU is maxed out.
>
> I am using Solaris 10 btw.

Aha! That answers my first question. I'm not sure how to fiddle
with Solaris paging stuff as I don't really look after any large
caches on Solaris anymore.

As for the second - try running Squid-2.6.STABLE16 compiled with
--enable-devpoll; see if that helps.

Adrian
Received on Fri Sep 28 2007 - 23:20:56 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT