Dale: The limits.conf file is not going to solve your problem. Read the man page for initscript and inittab.
On Thu, Apr 29, 2010 at 5:53 PM, Dale Kiefling <dale.kiefl...@cbs.com>wrote: > We have a Bind 9.7.0-P1 instance that is throwing the following errors: > 21-Apr-2010 16:59:00.173 general: error: socket: file descriptor exceeds > limit > (1024/1024) > 21-Apr-2010 17:00:00.122 general: error: socket: file descriptor exceeds > limit > (1024/1024) > 21-Apr-2010 17:00:00.123 general: error: socket: file descriptor exceeds > limit > (1024/1024) > > When we try to increase the socket value we are seeing assertion failures. > > Restarted named with the option -S 8192: > Apr 26 19:20:54 ha1 named[3891]: socket.c:2781: > INSIST(!sock->pending_recv) failed, back trace > Apr 26 19:20:54 ha1 named[3891]: #0 0x806525b in ?? > Apr 26 19:20:54 ha1 named[3891]: #1 0x7b4b57 in ?? > Apr 26 19:20:54 ha1 named[3891]: #2 0x7dfc03 in ?? > Apr 26 19:20:54 ha1 named[3891]: #3 0x7e16f9 in ?? > Apr 26 19:20:54 ha1 named[3891]: #4 0x7e1979 in ?? > Apr 26 19:20:54 ha1 named[3891]: #5 0x7e1be7 in ?? > Apr 26 19:20:54 ha1 named[3891]: #6 0x61a49b in ?? > Apr 26 19:20:54 ha1 named[3891]: #7 0x6fd42e in ?? > Apr 26 19:20:54 ha1 named[3891]: exiting (due to assertion > failure) > > Any advice given the info provided below? Let me know if I can provide > more info. > > Dale > > > $ dig +short version.bind chaos txt > "9.7.0-P1" > > $ uname -a > Linux ha1.example.com 2.6.18-128.1.10.el5PAE #1 SMP Thu May 7 11:14:31 EDT > 2009 i686 athlon i386 GNU/Linux > > $ cat /etc/redhat-release > CentOS release 5.3 (Final) > > > $ cat /etc/security/limits.conf > * hard nofile 8192 > * soft nofile 8192 > ntp - memlock 32768 > > > cat named.conf > ... > options { > directory "/var/opt/named"; > pid-file "/etc/named.pid"; > notify yes; > also-notify { > }; > recursion yes; > allow-query { any; }; > //edns-udp-size 512; > }; > ... > > > unlimit -a reports: > open files (-n) 8192 > > > recent rndc stats: > +++ Statistics Dump +++ (1271794427) > ++ Incoming Requests ++ > 108267159 QUERY > 313 NOTIFY > ++ Incoming Queries ++ > 91731351 A > 314215 NS > 10840 SOA > 2704323 PTR > 4367570 MX > 81 TXT > 325 X25 > 9135705 AAAA > 1072 SRV > 6 IXFR > 1453 AXFR > 218 ANY > ++ Outgoing Queries ++ > [View: default] > 3077427 A > 5991 NS > 2113 SOA > 44931 PTR > 7552045 MX > 53 TXT > 41 X25 > 3218008 AAAA > 426 SRV > 18 ANY > [View: _bind] > [View: _meta] > ++ Name Server Statistics ++ > 108267472 IPv4 requests received > 3342 requests with EDNS(0) received > 5600 TCP requests received > 108051102 responses sent > 4972 truncated responses sent > 3342 responses with EDNS(0) sent > 98180939 queries resulted in successful answer > 101089523 queries resulted in authoritative answer > 5075782 queries resulted in non authoritative answer > 7 queries resulted in referral answer > 3987640 queries resulted in nxrrset > 1885481 queries resulted in SERVFAIL > 3996719 queries resulted in NXDOMAIN > 5660199 queries caused recursion > 207266 duplicate queries received > 7610 queries dropped > 1456 requested transfers completed > ++ Zone Maintenance Statistics ++ > 9833 IPv4 notifies sent > 301 IPv4 notifies received > 268 notifies rejected > 315214 IPv4 SOA queries sent > 6 IPv4 AXFR requested > 23 IPv4 IXFR requested > 29 transfer requests succeeded > ++ Resolver Statistics ++ > [Common] > 570 mismatch responses received > 151245 failures in opening query sockets > [View: default] > 13714283 IPv4 queries sent > 186770 IPv6 queries sent > 10815900 IPv4 responses received > 31 IPv6 responses received > 123548 NXDOMAIN received > 955379 SERVFAIL received > 33013 FORMERR received > 806336 other errors received > 382773 EDNS(0) query failures > 442 truncated responses received > 751147 lame delegations received > 4759160 query retries > 3103740 query timeouts > 546721 IPv4 NS address fetches > 1168510 IPv6 NS address fetches > 80562 IPv4 NS address fetch failed > 1158909 IPv6 NS address fetch failed > 1527841 queries with RTT < 10ms > 4509306 queries with RTT 10-100ms > 3619163 queries with RTT 100-500ms > 518078 queries with RTT 500-800ms > 493598 queries with RTT 800-1600ms > 147945 queries with RTT > 1600ms > [View: _bind] > [View: _meta] > ++ Cache DB RRsets ++ > [View: default] > 222004 A > 211063 NS > 3086 CNAME > 3 SOA > 1034 PTR > 85462 MX > 2 TXT > 1356 AAAA > 3 SRV > 1 DNAME > 98 DS > 4891 RRSIG > 3937 NSEC > 83 !A > 39 !NS > 2 !SOA > 2158 !MX > 1 !X25 > 8783 !AAAA > 1059 NXDOMAIN > [View: _bind (Cache: _bind)] > [View: _meta (Cache: _meta)] > ++ Socket I/O Statistics ++ > 14046102 UDP/IPv4 sockets opened > 187393 UDP/IPv6 sockets opened > 476 TCP/IPv4 sockets opened > 116026 UDP/IPv4 socket open failures > 105 UDP/IPv6 socket open failures > 14046054 UDP/IPv4 sockets closed > 187393 UDP/IPv6 sockets closed > 6083 TCP/IPv4 sockets closed > 40871 UDP/IPv4 socket bind failures > 611 UDP/IPv6 socket bind failures > 186751 UDP/IPv6 socket connect failures > 13713840 UDP/IPv4 connections established > 31 UDP/IPv6 connections established > 423 TCP/IPv4 connections established > 5612 TCP/IPv4 connections accepted > 186739 UDP/IPv6 send errors > 83192 UDP/IPv4 recv errors > 31 UDP/IPv6 recv errors > ++ Per Zone Query Statistics ++ > --- Statistics Dump --- (1271794427) > _______________________________________________ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > -- Ezra Taylor
_______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users