Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

zombie thread

807559Apr 13 2007 — edited Apr 16 2007
Hi,

I've a client server system.
My client sends a message to server & starts a timer.
If the server does not respond with in the limit set by timer, timer goes off and the client shall throw an exception.

The problem is client seem to wirte the message to server socket, but it is not receiving response. Worst even, timer did n't go off. Client is indefinitely waiting.

When debugging with dbx, found that timer did go off but immediately timer thread became zombie.
Can any one tell me when can these become zombies?
One scenario is: when there is no recipient for the result from a non-detached thread. But my timer is awaited by main thread.

Especially, it operated normally for more than 24 hours..

My Client is developed in C++ & uses pthreads on Solaris.
Thanks for ur time.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2007
Added on Apr 13 2007
2 comments
235 views