Slow/Failing name servers

Res res at ausics.net
Thu Apr 1 21:46:47 UTC 2004


On Thu, 1 Apr 2004, Pete Walker wrote:

> Our name servers don't seem to be working very well -timeouts and very slow.
> Can someone tell me what I should look for to try to identify the cause.
>
> Running Bind 9.2 on Fedora Linux
>
> ns0 is 193.133.13.98

This one appears dead, cant be reached, no firewall?

> ns1 is 193.133.13.97

this one responds to my query *very* quickly
in your options section you  may want to include this line:

tcp-clients 4096;


Maybe also fine tune your /etc/sysctl.conf settings,


net.ipv4.ip_forward = 0
kernel.sysrq = 0
kernel.msgmni = 1024
kernel.sem = 1000 32000 32 512
vm.bdflush = 100 1200 128 512 15 5000 100 0 0
dev.rtc.max-user-freq = 1024
kernel.core_uses_pid = 1
net.ipv4.ip_local_port_range = 32768 65000
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.log_martians = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 2048
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_sack = 0
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_keepalive_time = 1800
net.ipv4.tcp_window_scaling = 0
fs.file-max = 65535
net.core.rmem_max = 8388608
net.core.wmem_max = 8388608
net.core.rmem_default = 65536
net.core.wmem_default = 65536
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 65536 8388608
net.ipv4.tcp_mem = 8388608 8388608 8388608


-- 
Regards,
Res


More information about the bind-users mailing list