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

From: <jmaan_at_nits.ac.in>
Date: Sat, 18 Oct 2008 00:35:21 -0400 (EDT)

*************************************************
This message has been scanned by IMSS NIT-Silchar

Please see below the output of pwd and df commands:-

[root_at_stud-pxy squid]# pwd
/var/log/squid
[root_at_stud-pxy squid]# ls -l
total 1005212
-rw-r--r-- 1 squid squid 502314096 2008-10-17 22:40 access.log
drwxr-xr-x 2 root root 4096 2008-10-17 00:49 Backup
-rw-r--r-- 1 squid squid 920314 2008-10-17 22:40 cache.log
-rw-r--r-- 1 root root 135898 2008-10-17 18:27 squid.out
-rw-r--r-- 1 squid squid 524928293 2008-10-17 22:40 store.log
[root_at_stud-pxy squid]#

In my proxyserver, the access.log is under the path /var/log/squid.

Now please tell me do i need to keep the cache.log file. Can i delete this
file to create more space....?

Also what can i do delete/ squeeze the access.log file ?

I have looked into the squid.conf file, and there is line like this below.

cache_dir ufs /home/squid 30720 16 256

What should I do or can do to reduce the size of the /var partition in my
proxy-server ?

The output if the df command shows up utilization of 94% of the hard disk.

[root_at_stud-pxy squid]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/PrimaryVol-root
                      19838052 6579304 12234748 35% /
/dev/mapper/PrimaryVol-var
                      14855176 13145712 942696 94% /var
/dev/mapper/PrimaryVol-home
                      34756272 29043404 3918820 89% /home
/dev/mapper/PrimaryVol-tmp
                       4062912 139716 3713484 4% /tmp
/dev/sda1 101086 22511 73356 24% /boot
tmpfs 253424 0 253424 0% /dev/shm
[root_at_stud-pxy squid]#

Thanks,

jmaan
Received on Fri Oct 17 2008 - 19:06:47 MDT

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