[omniORB] Bug in omniOrb thread handling?
OKeeffe, Michael K
MOKEEFFE at amfam.com
Fri Jul 22 14:35:38 BST 2005
It does seem there is an issue with the Linux kernel and zombies. As
far as I can see the recommendation is to use the newer NPTL libs by
Ingo Molnar and Ulrich Drepper.
Previously because of limitations of Linux threading, apps such as MySQL
and Apache used workarounds, and IBM had also started work on their own
thread library.
sigqueue overflow:
http://www.ussg.iu.edu/hypermail/linux/kernel/0404.0/0208.html
Also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=243954
-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Duncan
Grisby
Sent: Thursday, July 21, 2005 11:20 AM
To: Thomas Richter
Cc: omniORB-list at omniorb-support.com
Subject: Re: [omniORB] Bug in omniOrb thread handling?
On Friday 15 July, Thomas Richter wrote:
> I've scanned thru the source, but found nowhere any "pthread_join"
> that could have been called. Thus to my analysis, the zombies remain
> around here because they are never joined back when they die away, and
> at some point the process table just overruns. At that point, the
> communication from clients to the server breaks down because no
> working thread can be allocated for a new task at hand.
The vast majority of the threads in omniORB, including all the ones
created by the invoker, are detached, so they cannot be joined with
pthread_join. That's why there's no code to join them. That is most
definitely not the problem.
I have seen problems on old Linux kernel and glibc versions that cause
threads to turn into zombies. One circumstance is if threads fork child
processes, sometimes either the children or the threads end up
zombified. You might like to see if there are updates for glibc and the
kernel for your Linux version.
I don't think this can be a problem in omniORB, because if it was, it
would happen for everyone, and clearly it doesn't.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list