> This confirms that it's stuck waiting for a DNS reply. There are many
> possible causes:
>
> - the resolver against which the filter was linked is not thread-safe,
> so for example two threads T1 and T2 send queries Q1 and Q2 and then
> go to sleep waiting for the replies, but T2 receives the answer to
> Q1, notes that it's not the one it wants, discards it, then gets the
> answer it wants and returns; meanwhile T1 will wait for a long time,
> possibly forever, for an answer that will now never come
I had asked for the output of ldd on the binary earlier specifically
because I thought this was worth verifying. That being said, libresolv
in Solaris 10 is thread safe:
http://docs.sun.com/app/docs/doc/816-5137/compat-83941?a=view
(see: Table 7–3 Some MT-Safe Libraries)
John
Received on Thu Oct 14 2010 - 01:59:19 PST