Re: [squid-users] how to reduce space

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 15 Mar 2010 23:39:52 +1300

Malik Madni wrote:
> basically i was running out of space on the Squid server thats why i was trying to delete files in cache directory. is there other irrelvant files that should i dlete??
> only Squid Server is istalled on the machine. when i see shortage of space then i removed
> /usr/local/squid/var/log/access.log
> /usr/local/squid/var/log/store.log
>
> and then /usr/local/squid/sbin/squid -k reconfigure(restart)
>
> after some days when space consumed then same process is repeated. if there is some better way then plez let me know
>
>

You should have a daily log rotation scheduled that performs that keeps
the logs sane. Squid does it when called with "squid -k rotate", but
it's often better to integrate with whatever system is rotating the OS logs.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
   Current Beta Squid 3.1.0.18
Received on Mon Mar 15 2010 - 10:40:02 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 15 2010 - 12:00:04 MDT