I am experiencing a strange deadlock during cache updates. To me, it
happens only with tomcat, under FreeBSD 1.1.8 green threads, and not
under my other setups.

It is related to DNS lookup. The symptoms are:

After a while updating the cache, the VM hangs.

In fact, this VM stops responding while there is a DNS lookup, but
sometimes it freezes. It looks as if the thread "missed" the query
response. This thread holds locks, including the IO Monitor lock, that
stop the whole virtual machine.

I have not seen a similar behaviour with my other setups, identical
except:

NT, jdk1.2.2, hotspot server
NT jdk 1.3, hotspot server
Linux, jdk1.1.7, with/without JIT, green threads
Linux jdk1.2.2, with JIT, native threads
Linux jdk1.3b9, hotspot client, native threads

All ofthem work perfectly. The problem is the FreeBSD setup is the only
available in my public "virtual" server... :-(((((




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to