Merhaba Engin bey,

store ve cache loglarinin icini bosaltmak
sistemde bulunan cache dosyalarini silmez. Bir sure sonra da bu sorun
olusturur. Bunun icin squid cache i tekrar rebuild etmek daha faydali olur.


Friday, November 26, 2004, 10:25:23 AM, �unu yazd�n�z:

E�> /path/to/path/access.log
E�> /path/to/path/store.log
E�> /path/to/path/cache.log

E�> ama store log daha cok squid icin tazeleme ve bende varmi yok mu gidip
E�> internetten mi alayim vs gibi bandwith tuketimine de cok yardimci oldugu
E�> icin cok tavsiye etmeyecegim sey ama cok onemli degil diyorsaniz ve �ok
E�> sisiyorsa daha gec araliklarla sildirin..

E�> #!/bin/sh
cat /dev/null >> /path/to/path/access.log
cat /dev/null >> /path/to/path/store.log
cat /dev/null >> /path/to/path/cache.log

E�> bunu  log-sifirla   diye yazin chmod +x log-sifirla

E�> sonra  crontab -e

E�> 5 23 15 * * /home/squid/squid/var/logs/log-sifir  >/dev/null 2>&1

E�> her 15 gunde bir saat 23:05 de clear etsin iclerini..





-- 
Sayg�lar,
 Huseyin                            mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve 
http://www.mail-archive.com/[email protected]


Cevap