13.9 Exercises

 <  Day Day Up  >  

  • Configure Squid so that it doesn't create any log files, except for the swap.state file(s).

  • Write a simple Perl or awk script to calculate your cache hit ratio from access.log .

  • How does an "access denied " response appear in the access.log ?

  • Does store.log have the same number of, more, or fewer, entries than access.log ?

  • Take a file number from store.log and find the corresponding file in the disk cache. Examine the file and make sure you've found the correct response.

  • Develop and implement a policy for archiving old cache log files. Consider where and how they will be stored, for how long, and who has permission to access them.

 <  Day Day Up  >  


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net