[EMAIL PROTECTED] wrote:
*************************************************
This message has been scanned by IMSS NIT-Silchar



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

[EMAIL PROTECTED] squid]# pwd
/var/log/squid
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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 ?


squid -k rotate


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

cache_dir ufs /home/squid 30720 16 256


Thats 2/3 the drive space of /home. seems reasonable for a dedicated proxy box.

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.

[EMAIL PROTECTED] squid]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
...
                      14855176  13145712    942696  94% /var
                      34756272  29043404   3918820  89% /home
...


  "store_log none" will kill the store log entirely. Its not really needed.

Regular rotate's as mentioned earlier and by others will keep the access.log from growing so huge.

BUT, the squid files total to only 1GB. Whatever is causing the rest of the 15GB to fill up does not appear to be Squid from those traces.
Are you sure the cores from earlier stopped rather than changing location?

Amos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9

Reply via email to