Squid configuration directive dns_children
Available in: 3.4 3.3 3.2 2.7 3.1 3.0 2.6
This directive is not available in the v7 version of Squid.
This directive is not available in the v6 version of Squid.
This directive is not available in the v5 version of Squid.
This directive is not available in the v4 version of Squid.
For older versions than v4 see the linked pages above
Configuration Details:
Option Name: | dns_children |
---|---|
Replaces: | |
Requires: | --disable-internal-dns |
Default Value: | dns_children 32 startup=1 idle=1 |
Suggested Config: |
|
The maximum number of processes spawn to service DNS name lookups. If you limit it too few Squid will have to wait for them to process a backlog of requests, slowing it down. If you allow too many they will use RAM and other system resources noticably. The maximum this may be safely set to is 32. The startup= and idle= options allow some measure of skew in your tuning. startup= Sets a minimum of how many processes are to be spawned when Squid starts or reconfigures. When set to zero the first request will cause spawning of the first child process to handle it. Starting too few will cause an initial slowdown in traffic as Squid attempts to simultaneously spawn enough processes to cope. idle= Sets a minimum of how many processes Squid is to try and keep available at all times. When traffic begins to rise above what the existing processes can handle this many more will be spawned up to the maximum configured. A minimum setting of 1 is required. |
|
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
Miscellaneous
- Developer Resources
- Related Writings
- Related Software:
- Squid Artwork
Web Site Translations
Mirrors
- Website:
- il ... full list
- FTP Package Archive