Avoiding a deadlock

From: Martin Schulze <joey_at_infodrom.org>
Date: Mon, 21 May 2007 17:58:49 +0200

Hi!

In light of Debian Bug#386122 <http://bugs.debian.org/386122> I wonder
what a good solution would be to prevent syslogd from entering a
deadlock with named.

An asynchronous resolver library would solve this problem, of course,
but would create a new library dependency. I believe that this should
be avoided.

Another solution seems to be to add a timeout to the call to
gethostbyaddr(). This, however, is not exactly provided by POSIX
libc. Maybe somebody here is interested in working on a solution to
this rare scenario?

Regards,

        Joey

-- 
Given enough thrust pigs will fly, but it's not necessarily a good idea.
Received on Mon May 21 2007 - 17:58:49 CEST

This archive was generated by hypermail 2.2.0 : Mon May 21 2007 - 18:07:51 CEST