Koozali.org: home of the SME Server

squid tuning - dns children

Stuart Diamond

squid tuning - dns children
« on: May 26, 2002, 09:12:39 PM »
hi there,

tried changing the custom template for squid  by uncommenting the dns_children tag and setting it to a higher number.

after expanding the template and restarting squid i get this error:

 parseConfigFile: line 591 unrecognized:  'dns_children 25'

i would very much like to increase the dns_children from the default 5 as i do have a lot of users online at the same time and  have thought that perhaps this could be slowing down their access.

any ideas?

Filippo Carletti

Re: squid tuning - dns children
« Reply #1 on: May 27, 2002, 03:46:52 PM »
Option not available, squid is built with internal dns support
squid has a great tool to monitor performances, cachemgr.cgi
Put it into a protected cgi-bin dir and have a look at the stats.
I think you will find that you don't need to tweak dns usage.

Stuart Diamond

Re: squid tuning - dns children
« Reply #2 on: May 27, 2002, 10:42:48 PM »
Thanks Filippo for the reply - very helpful.
Can't get the cgi script to give any useful info though.
Just give me pictures from 2 sites that have been accessed.

Aaron

Re: squid tuning - dns children
« Reply #3 on: May 28, 2002, 07:01:27 AM »
Stuart, where did you find the cgi sript?Stuart Diamond wrote:

Filippo Carletti

Re: squid tuning - dns children
« Reply #4 on: May 28, 2002, 02:42:31 PM »
cachemgr.cgi is in /usr/lib/squid

Filippo Carletti

Re: squid tuning - dns children
« Reply #5 on: May 28, 2002, 02:47:45 PM »
I can't understand.
After you have filled the form you should get a menu like this:
Cache Manager menu for proxy:
Memory Utilization
Callback Data Registry Contents
Event Queue
Async IO Function Counters
DISKD Stats
Current Squid Configuration (hidden).
comm_incoming() stats
IP Cache Stats and Contents
FQDN Cache Stats and Contents
Internal DNS Statistics
HTTP Header Statistics
This Cachemanager Menu
Shut Down the Squid Process (hidden).
Toggle offline_mode setting (hidden).
...