Стоит кеширующий
Код: Выделить всё
testserver# named -v BIND 9.3.4-P1
Код: Выделить всё
testserver# uname -a
FreeBSD testserver 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #2: Fri Feb 1 19:38:28 EET 2008 root@newgate.domain.com:/usr/obj/usr/src/sys/newgate i386
Код: Выделить всё
testserver# cat /etc/namedb/named.conf | grep -v ^$ | grep -v ^#
acl "corpnets" { 192.168.1.0/24; 192.168.4.0/24; 192.168.7.0/24; 88.0.0.0/8; 127.0.0.1; };
options {
directory "/etc/namedb";
pid-file "named.pid";
allow-query { "corpnets"; };
forwarders { 88.х.х.х; 88.х2.х2.х2; };
};
zone "." {
type hint;
file "named.root"; };
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.rev";
notify no; };
logging{
channel simple_log {
file "/var/log/named/bind.log" versions 3 size 5m;
severity warning;
print-time yes;
print-severity yes;
print-category yes;
};
category default{
simple_log;
};
};
Код: Выделить всё
21-May-2008 10:10:06.070 client: warning: client 192.168.7.42#1527: error sending response: not enough free resources
21-May-2008 10:10:17.858 client: warning: client 192.168.7.207#1127: error sending response: not enough free resources
21-May-2008 10:10:25.277 client: warning: client 192.168.7.66#1027: error sending response: not enough free resources
21-May-2008 10:10:26.178 client: warning: client 192.168.7.250#2768: error sending response: not enough free resources
21-May-2008 10:10:33.172 client: warning: client 192.168.7.43#3331: error sending response: not enough free resources
21-May-2008 10:10:42.139 client: warning: client 192.168.7.207#1127: error sending response: not enough free resources
21-May-2008 10:10:49.356 client: warning: client 192.168.7.169#1036: error sending response: not enough free resources
Код: Выделить всё
testserver# sysctl -a | grep maxus
kern.maxusers: 384
Код: Выделить всё
testserver# netstat -mb
1063/1247/2310 mbufs in use (current/cache/total)
1062/610/1672/25600 mbuf clusters in use (current/cache/total/max)
1061/603 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
2390K/1531K/3921K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines
Код: Выделить всё
testserver# sysctl -a | grep mbuf
mbuf_tag 1 1K -212679483 32,256
mbuf_jumbo_1: 16384, 0, 0, 0, 0
mbuf_jumbo_9: 9216, 0, 0, 0, 0
mbuf_jumbo_p: 4096, 0, 0, 0, 0
mbuf_cluster: 2048, 25600, 1665, 7, 103083039
mbuf: 256, 0, 1667, 643, 2466000733
mbuf_packet: 256, 0, 1674, 636, 2403354945
Код: Выделить всё
testserver# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad2s1a 989M 78M 832M 9% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad2s1f 14G 554M 13G 4% /home
/dev/ad2s1e 989M 32K 910M 0% /tmp
/dev/ad2s1g 44G 3.6G 37G 9% /usr
/dev/ad2s1d 9.5G 3.6G 5.1G 41% /var