squid -k rotate will rotate all .log files for you, you can delete the *.0 files afterwards. Never delete files without knowing what you are doing ; deleting files from under squid's nose will lead to unpredictable behaviour :) You really should read the manuals, and especially the parts related to logs files and cache_dir entries, to understand what you are doing. Francois On Sat, Oct 18, 2008 at 4:52 AM, <jmaan@xxxxxxxxxx> wrote: > ************************************************* > This message has been scanned by IMSS NIT-Silchar > > > > Please see below the output of pwd and df commands:- > > [root@stud-pxy squid]# pwd > /var/log/squid > [root@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@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@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@stud-pxy squid]# > > > > Thanks, > > jmaan > > >