Bind deadlock?

Peter Dambier peter at peter-dambier.de
Tue May 30 16:56:30 UTC 2006


Gushi wrote:
> Hey all,
> 
> I'm really not sure where to go on this for more information.  I've got
> a couple of named processes on two different boxes that will
> periodically deadlock and all recursive queries will return SERVFAIL.
> Authoritative queries still work.
> 
> The named process will no longer respond to any signals, and will only
> be take-downable by a kill -9.
> 
> I'm running the latest version of named, on the latest version of the
> OS (Freebsd 6 in this case).
> 

I have had a similar problem on my linuxes 2.4 and 2.2
I got rid of it switching back to a 2.0 kernel.

On my system it was the socket stuff running out of resources and blocking.
Bind cannot open any more sockets and will fail querying other nameservers.

At the same time the receiving sockets are open and waiting that is why it
still can answer authoritatively.


> At this point, the kind of answer I'm looking for is more of an "what
> do I do to debug this" type of answer -- what kinds of things can I
> turn on in logs to trace this down.
> 
> My experience with BIND logging seems to have been that the various
> compile-time defaults on every OS are different (i.e. the RPM version
> of BIND under linux seems to want to log different things than does
> what I'm used to), and I'm running with a stock logging configuration,
> so I'm not sure about the best debuglevels and such.
> 
> Anyone can advise here?  At this point the only solution is rebooting
> the machines periodically, which is far from acceptable.  Would anyone
> find a corefile useful?
> 

Cheers
Peter and Karin

-- 
Peter and Karin Dambier
Cesidian Root - Radice Cesidiana
Graeffstrasse 14
D-64646 Heppenheim
+49(6252)671-788 (Telekom)
+49(179)108-3978 (O2 Genion)
+49(6252)750-308 (VoIP: sipgate.de)
mail: peter at peter-dambier.de
mail: peter at echnaton.serveftp.com
http://iason.site.voila.fr/
https://sourceforge.net/projects/iason/



More information about the bind-users mailing list