WARNING: All dnsserver processes are busy.(解决)

2010-08-10

今天早上上班,在我对面的编辑给我看了他昨天晚上的截图。晕! 看了下squid的 cache.log

tail -f var/logs/cache.log

2009/02/16 11:03:16| WARNING: All dnsserver processes are busy.
2009/02/16 11:03:16| WARNING: 5 pending requests queued
2009/02/16 11:03:16| Consider increasing the number of dnsserver processes in your config file.
2009/02/16 11:03:16| dnsSubmit: queue overload, rejecting www.zhicheng.com

原来是这样的DNS的线程跑满了。郁闷

#  TAG: dns_children
#       The number of processes spawn to service DNS name lookups.
#       For heavily loaded caches on large servers, you should
#       probably increase this value to at least 10.  The maximum
#       is 32.  The default is 5.
#
#       You must have at least one dnsserver process.
#
#Default:
# dns_children 5

看了下默认配置文件 将 dns_children 5 调成 dns_children 10 搞定眨眼