mån 2010-03-15 klockan 06:53 +0000 skrev Malik Madni: > most of the disk is used by the below directory. > 4.7G /usr/local/squid/var/cache What is your cache_dir configuration? > is it safe to remove this directory??if yes then how?? Yes. 1. Stop Squid. 2. Remove cache by running rm -rf /usr/local/squid/var/cache/* 3. Rebuild the cache by running squid -z 4. Start Squid again. Alternatively with much shorter downtime: 1. Stop Squid 2. Move the old cache out of the way by running cd /usr/local/squid/var/cache" mkdir junk mv ?? swap.* junk 3. Rebuild the cache by running squid -z 4. Start Squid again. 5. Remove the old cache contents by running rm -rf junk Regards Henrik