Its only now that I knew this cache_dir issue, Im using FC2 64 bit and using
diskd for my cache_dir. Is ther a way to migrate my cache_dir to aufs
without harming my cache server.
1. Can you please provide me a step by step procedure.
Below is my cache_dir setup:
cache_dir diskd /cache1/spool/squid 25000 16 256 Q1=500 Q2=512
cache_dir diskd /cache2/spool/squid 25000 16 256 Q1=500 Q2=512
cache_dir diskd /cache3/spool/squid 25000 16 256 Q1=500 Q2=512
2. Which do you preferred:
cache_dir ufs /cache1/spool/squid 25000 16 256
cache_dir ufs /cache2/spool/squid 25000 16 256
cache_dir ufs /cache3/spool/squid 25000 16 256
or
cache_dir aufs /cache1/spool/squid 25000 16 256
cache_dir aufs /cache2/spool/squid 25000 16 256
cache_dir aufs /cache3/spool/squid 25000 16 256
Thanks,
Wennie
----- Original Message -----
From: "Henrik Nordstrom" <[EMAIL PROTECTED]>
To: "azeem ahmad" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, May 26, 2005 4:28 PM
Subject: Re: [squid-users] tune up
On Sat, 7 May 2005, azeem ahmad wrote:
hi all,
is there any commands to tune up squid after a week or month or so. mean
like deleting old logs or kind of that things that make squid's
performance better when applied periodically
You need to have log rotation configured (periodic call to "squid -k
rotate"). The rest is automatic.
Performance problems is almost always an configuration issue, sometimes
hardware. For start you need to make sure to use the proper cache_dir
type for your OS (aufs on Linux, diskd on FreeBSD and others) and follow
the memory usage guidelines shown in the FAQ.
Regards
Henrik