Re: Questions on squid configuration

From: Panagiotis Malakoudis <pmal@dont-contact.us>
Date: Tue, 7 Dec 1999 14:11:39 +0200

> - Every so often, a request for a page results in an immediate error (page
> not found, I think), but an attempt right after that will succeed. In the
> log file, these errors seem to show up with a return code of 0 (instead of
> 200, 304, 500, etc.). Is this a timeout problem? Is it a dnsserver
> configuration problem?
>

Could you provide the exact error message to the list?
Both the web error message and the access.log error message...

> - We've got a few dozen users using this proxy. Traffic is fairly light.
> How do we decide how large the cache should be? Do we need a cache at all?
> If we have just a very small cache directory, say 10mb, how many level 1
> and level 2 directories do we need? The default values of 16*256=4096
> subdirectories seems a bit much for this small amount of data.
>

You just monitor tha cache size for a couple of days and see how much is
cached each day.
You say 10MB. How many days passed until your cache reached 10MB ?

> - We've also had problems with running out of inodes. How do we solve
this?
>
> - Is there a guideline to sensible squid.conf settings?
>

You could read the user guidelines at
http://squid.nlanr.net/Doc/Users-Guide/
This gives you a basic idea on how to configure the proxy server.

Panagiotis Malakoudis

Space Hellas S.A.
Systems Administrator
Received on Tue Dec 07 1999 - 05:23:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:45 MST