Re: [squid-users] Squid performance issues

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 26 Jan 2010 12:19:43 -0900

Felipe W Damasio wrote:
> Hi Mr. Robertson,
>
> 2010/1/26 Chris Robertson <crobertson_at_gci.net>:
>
>>> I don't use -k rotate.
>>>
>>>
>> Err... Really? Last I heard, calling "squid -k rotate" (aside from the
>> obvious logfile rotation) prunes the swap.state file. Not doing so would
>> lead to your swap.state growing without bounds.
>>
>
> Should I?
>
> Is swap.state file being big a big deal?
>

That depends on how well your file system handles large files.

> This is file is:
>
> -rw-r----- 1 nobody nobody 991584 Jan 26 19:05 swap.state
>
> This is less than 1MB. Is it too big?
>

Not at all.

> And if it is, when I disabled the cache with "cache_dir null /tmp",
> shouldn't the time-respone improved?

Ah. I missed that bit. Sorry for the noise.

> Like I said in the previous
> email, it didn't help at all. Still time when from 0.04 to 40s.
>
> Thanks,
>
> Felipe Damasio
>

Chris
Received on Tue Jan 26 2010 - 21:19:54 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 27 2010 - 12:00:05 MST