How do I check my Cache and Hard Disk Space is full
- 
 Dear All, 
 As an Squid Proxy Sever, how canĀ I check my Cache size and Hard Disk Space is full. Right now I am using 50 GB HDD and 1GB RAM in Virtual Xeon Server, how much capacity of space will require. I am using PFsense 2.0. So that i will start clearing cache regularly. And how would I know that how much SWAP space is been assigned in my server. I had attached my dashboard, which shows SWAP space is used very low, How can i make use of it
  
 
- 
 Using swap space will slow down your server. Why do you want it? 
- 
 Using swap space will slow down your server. Why do you want it? Ok, Thanks for ur update giving guidence about SWAP space, but I also wanted to know how can I check my Cache and Hard Disk Space is it full. Right now I am using only 50 GB HDD and with 1GB RAM in Virtual Xeon Server, how much capacity of space should i alot. I am using PFsense 2.0. and how frequent should i clear cache. Thanks again. 
- 
 50g is fine. Squid handles with cache age, you do not need to clean it. 
- 
 You can select option 8(shell) from the console or SSH into pfsense and run: df -h 
 (That will show you the hard drive size and how much is used/free)Or to answer your question, from the shell, navigate to the cache directory. cd /var/squid/cache/ and type du -h It will then show you how much cache you have in MB or GB. 
- 
 You can select option 8(shell) from the console or SSH into pfsense and run: df -h 
 (That will show you the hard drive size and how much is used/free)Or to answer your question, from the shell, navigate to the cache directory. cd /var/squid/cache/ and type du -h It will then show you how much cache you have in MB or GB. Thanks u very much u r genius. Can u provide me more shell commands as i not that good in linux. Also can i tell me how do i clear cache log from shell? Thanks again 
- 
 Thanks u very much u r genius. Can u provide me more shell commands as i not that good in linux. Also can i tell me how do i clear cache log from shell? rm -rf /var/squi/cache/*The command to rebuild squid cache after removing old cache files: squid -zAftert it finishes, restart squid. 
