BIND 8.2.1 - HANGS

Daniel Andersson daniel at sto.sema.se
Tue Aug 10 06:00:42 UTC 1999


Hello!

We seems to have a problem with our BIND 8.2.1 and i have seen that im not
alone with the problem! The thing is that Bind 8.2.1 suddenly hangs,
sometimes it recover itself.. Sometimes an strace -p <pid> does the stuff
but not always, one strange thing is that it seems like named is doing
stuff and even writes to syslogd. There is one thing that i have seen when
im have inspected the logs and that is when an unapproved update or AXFR
occurs named stops to answer queries. I did an strace -p <pid> on named
when it died last (i dies werry often here) and the output is here :




-- OUTPUT FROM strace --

recvfrom(22, "\2471\1\0\0\1\0\0\0\0\0\0\00235\002"..., 513, 0,
{sin_family=AF_INET, sin_port=htons(1546),
sin_addr=inet_addr("195.17.98.35")}, [16]) = 43
sendto(22, "\2471\205\200\0\1\0\1\0\3\0\3\002"..., 207, 0,
{sin_family=AF_INET, sin_port=htons(1546),
sin_addr=inet_addr("195.17.98.35")}, 16) = 207
recvfrom(22, 0xbffff9a0, 513, 0, 0xbffffba4, 0xbffff98c) = -1 ECONNREFUSED
(Connection refused)
gettimeofday({934263570, 54725}, NULL)  = 0
readv(7, [{"\0\"", 2}], 1)              = 2
fcntl(7, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({934263570, 55682}, NULL)  = 0
fcntl(7, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({934263570, 56295}, NULL)  = 0
write(8, "\0\277\5[\204\200\0\1\0\1\0\3\0\3"..., 193) = 193
fcntl(8, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(8, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({934263570, 58175}, NULL)  = 0
readv(6, [{"\0\33", 2}], 1)             = 0
fcntl(6, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({934263570, 59138}, NULL)  = 0
close(6

-- OUTPUT from strace --

We are running Redhat 6.0 and have installed named from the following RPM
package "bind-8.2.1-3.i386.rpm" wich says in the startup :

"Aug 10 07:40:44 ritz named[7790]: starting.  named 8.2.1 Fri Jul  9
13:48:52 CST 1999
^Iroot at nickpc.tyee.vtc.edu.hk:/usr/lib/src/redhat/BUILD/bind-8.2.1/src/bin
/named "

I hope that someone has an good solution to this problem.

Sincerly, Daniel Andersson - Sema Group AB





More information about the bind-users mailing list