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" <hno@xxxxxxxxxxxxxxx>
To: "azeem ahmad" <azeem81@xxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
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