Re: [squid-users] Workaround for failing hardware

From: Kurt Buff <kurt.buff_at_gmail.com>
Date: Wed, 25 Jun 2008 14:26:41 -0700

On Wed, Jun 25, 2008 at 1:43 PM, Chris Robertson <crobertson_at_gci.net> wrote:
>> cache deny QUERY
>> acl apache rep_header Server ^Apache
>> broken_vary_encoding allow apache
>> cache_mem 512 MB
>> cache_dir ufs /usr/local/squid/cache 2000 16 256
>>
>
> Change this to...
>
> cache_dir null /dev/null
>
> ...if you can. The null storedir type might not have been built in.

Done.

>> logformat combined %>a %<A %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st
>> "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
>> access_log /usr/local/squid/logs/access.log combined
>> access_log syslog combined
>>
>
> The log files are still hitting the disk. If you really want to limit your
> disk activity, use only syslog, and pipe the logs to another server (or turn
> logging off entirely).

I've commented out the access.log line - I was already casting syslog
to another machine.

Thanks!

Kurt
Received on Wed Jun 25 2008 - 21:26:45 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 26 2008 - 12:00:04 MDT