I have approximately 75 users on my lan that continually use that server. I will consider your solutions and implement them and test how squid behaves.

So, what is the recommended cache size for a squid system running with over 75 users?

Thanks.

Angela Williams wrote:
Hi!
On Thursday 26 February 2009, Wilson Hernandez - MSD, S. A. wrote:
Amos Jeffries wrote:
Wilson Hernandez - MSD, S. A. wrote:
I have cache_dir ufs /var/log/squid 60000 255 255

Your cache_dir line says create a squid cache directory structure 255 wide by 255 deep and allow it to grow up to 60G. Squid will continue to try and store objects into the directory structure until either 60G limit is reached or the filesystem - more like as not /var - runs out of space. If it runs out of space squid is no longer able to write to its log files you configured in your squid.conf file. If it cannot write to the log file it cannot tell you want happened!

Do you want a nice simple solution?
Add a second hard drive and have squid create its 60G sized cache there.
Make certain logrotate is rotating the normal system logs and asking squid to rotate its logs!

Use df and see just how fuch free space is really available in /var if it is a filesystem in its own right.

Another thought?
How many users are trying to access the 'net via this proxy that you want to store 60G in a 256 by 256 structure? Last time I looked through the docs and faq's there was a good write up on sizing the cache - both hard and soft.

Cheers
Ang

--
*Wilson Hernandez*
Presidente
829.848.9595
809.766.0441
www.msdrd.com <http://www.msdrd.com>
Conservando el medio ambiente

Reply via email to