cache size

Taking care of your Linux box.
Post Reply
brave heart
Naik
Posts: 94
Joined: Sat Sep 06, 2008 9:24 pm
Location: multan
Contact:

cache size

Post by brave heart »

AOA
main nay redhat9 install ki hue hai or linuxmachine main 6 drives banae hain
1 / 1000mb
2 /boot 100mb
2 swap 512
4 /var 500mb
5 /usr 10000
6 /extra 3000

pochna yah hai kah main cache rakhna chahta hon 3000mb to cache squid main kahan set karon ga or cache update karnay ka rule kaisay set karon ga kah jo dynamic pages hain woh daily basic per kaisay update hon
brave heart
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

findout cache_dir like and place your path to cache directory there! and then regenerate your cache dir with squid -z command
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
brave heart
Naik
Posts: 94
Joined: Sat Sep 06, 2008 9:24 pm
Location: multan
Contact:

Post by brave heart »

AOA
or yah bhi pocha tha kah ftp or http object kaisay define karaingay kah ftp object kitni space lain or http kitni
or jo dynamic pages hotay hain jo daily change hotay hain unhain kis tarha daily basis per refresh karain gay .
brave heart
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

Squid by nature is only http proxy not ftp!
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
shahzor
Naik
Posts: 72
Joined: Thu Jun 29, 2006 11:33 am
Location: Quetta
Contact:

Post by shahzor »

its better to have cache in a separate partition.
LinuxBoy
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

its better to have cache in a separate partition.
why?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
shahzor
Naik
Posts: 72
Joined: Thu Jun 29, 2006 11:33 am
Location: Quetta
Contact:

Post by shahzor »

I have read that keeping the cache in separte partition the squid would run more smoothly.

http://it.toolbox.com/wiki/index.php/In ... elay_pools
LinuxBoy
Post Reply