[squid-users] Re: Should I remove cache-directory...?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 14 Sep 2008 16:59:28 +1200

jmaan_at_nits.ac.in wrote:
> *************************************************
> This message has been scanned by IMSS NIT-Silchar
>
>
> After I have deleted the most of the files from the /var/spool/squid
>
> I have the following status, as shown below:
>
>
> [root_at_stud-pxy squid]# ls -l
> total 746892
> -rw------- 1 squid squid 298901504 2008-02-09 02:24 core.19953
> -rw------- 1 squid squid 192131072 2008-09-09 00:40 core.2053
> -rw------- 1 squid squid 280207360 2008-08-30 00:51 core.2054
>
>
> [root_at_stud-pxy squid]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/PrimaryVol-root
> 19838052 6365712 12448340 34% /
> /dev/mapper/PrimaryVol-var
> 14855176 12164532 1923876 87% /var
> /dev/mapper/PrimaryVol-home
> 34756272 29026972 3935252 89% /home
> /dev/mapper/PrimaryVol-tmp
> 4062912 139588 3713612 4% /tmp
> /dev/sda1 101086 34842 61025 37% /boot
> tmpfs 253424 0 253424 0% /dev/shm
> [root_at_stud-pxy squid]#
>
>
>
> The output of du -sh /var/cache
>
> [root_at_stud-pxy squid]# du -sh /var/cache/*
> 16K /var/cache/alchemist
> 19M /var/cache/ccache
> 20K /var/cache/coolkey
> 24K /var/cache/cups
> 8.0K /var/cache/dap-server
> 16K /var/cache/dirmngr
> 744K /var/cache/fontconfig
> 8.0K /var/cache/foomatic
> 684K /var/cache/hald
> 16K /var/cache/jetty
> 80K /var/cache/ldconfig
> 8.0K /var/cache/logwatch
> 2.0M /var/cache/man
> 8.0K /var/cache/mason
> 8.0K /var/cache/mod_proxy
> 8.0K /var/cache/mod_ssl
> 24K /var/cache/tomcat5
> 8.0K /var/cache/vdr
> 8.0K /var/cache/vdradmin
> 99M /var/cache/yum
> [root_at_stud-pxy squid]#
>
> Give some pointers such as to create more free space to let the squid run
> properly. Many times the squid was dead, as there was no enough space in
> /var partition left.
>
> Only after creating more space that the squid was made to restart.
>

okay. Sorry I left this off the last email:

   du -sh /var/log/*

Are you at least finding this email thread useful for learning how to do
this stuff yourself?

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE9
Received on Sun Sep 14 2008 - 04:59:41 MDT

This archive was generated by hypermail 2.2.0 : Sun Sep 14 2008 - 12:00:02 MDT