From: Brian W. <bwe...@xb...> - 2002-03-01 17:20:52
|
On Thu, 28 Feb 2002, Rodolphe Ode wrote: > Hi! > It seems like I discovered a bug that is not easy to > reproduce. I have a java program that consists of a > pool of threads (500 in my example). Each thread uses > dnsjava to mx lookup domain names. > > So I use dnsjava like this : > > Record[] mxRecords = dns.getRecords(domainName, > Type.MX); > > It works perfectly but about one time out of 10000, > getRecords doesn't go back, there is nothing returned > and the thread seems to be bloqued with this > instruction. getRecords seems not to go back. > Is there anyone who also had this bug ? > > I catch every exception and none is fired. Without more information, there's no way to fix this. If it only occurs one of of 10000 or so times, and only with a large pool of threads (which works really badly on linux), then there isn't much I can do. If you want to try debugging it and determine where it's blocking, that would help. Brian |