Re: [squid-users] Disk Space problem in a squid-proxy server

From: Angela Williams <angie_at_eoh.co.za>
Date: Thu, 16 Oct 2008 10:11:42 +0200

Hi!
On Thursday 16 October 2008, jmaan_at_nits.ac.in wrote:
> *************************************************
> This message has been scanned by IMSS NIT-Silchar
>
> Dear All Squid Users,
>
> I have a proxy server, where the df shows the following :
>
> [root_at_stud-pxy /]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/PrimaryVol-root
> 19838052 6484280 12329772 35% /
> /dev/mapper/PrimaryVol-var
> 14855176 12631912 1456496 90% /var
> /dev/mapper/PrimaryVol-home
> 34756272 29035612 3926612 89% /home
> /dev/mapper/PrimaryVol-tmp
> 4062912 205720 3647480 6% /tmp
> /dev/sda1 101086 22511 73356 24% /boot
> tmpfs 253424 0 253424 0% /dev/shm
>
>
> On executing the du command under /home it shows the following ( copying
> here a certain portion of the output of the command du):
>
> 9304 ./squid/00/DA
> 8748 ./squid/00/55
> 3364 ./squid/00/C6
> 10204 ./squid/00/E9
> 6336 ./squid/00/62
> 4996 ./squid/00/57
> 8264 ./squid/00/16
> 5428 ./squid/00/0A
> 8972 ./squid/00/31
> 6344 ./squid/00/DD
> 6740 ./squid/00/68
> 5168 ./squid/00/9D
> 5004 ./squid/00/DC
> 15868 ./squid/00/E4
> 6464 ./squid/00/07
> 8708 ./squid/00/A1
> 4728 ./squid/00/51
> 3588 ./squid/00/3B
> 4468 ./squid/00/91
> 4508 ./squid/00/D1
> 5064 ./squid/00/D3
> 7652 ./squid/00/BA
> 5828 ./squid/00/B1
> 3484 ./squid/00/88
> .....
>
>
> My question, is can i delete the above folders to make more free space
> available under /home directory ?

Simple answer? No!

You might want to have a look at your squid.conf file and see how much
diskspace is allocated for its cache. Look for a line like this default.
cache_dir ufs /var/cache/squid 100 16 256
The 100 is the size in Meg in this default.

Remember that if you change the size it really means trashing the old cache
and have squid recreate and nice new empty one with squid -z

Please do not hijack an existing thread as many users with threaded news
readers will not see it!

Cheers
Ang

Cheers
Ang

-- 
Angela Williams				Enterprise Outsourcing
Unix/Linux & Cisco spoken here!		Bedfordview
awilliams_at_eoh.co.za			Gauteng South Africa
Smile!! Jesus Loves You!!
Received on Thu Oct 16 2008 - 08:12:11 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 18 2008 - 12:00:03 MDT