httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <>
Subject Re: [PATCH] night of the dead apache
Date Thu, 06 Nov 1997 01:35:43 GMT
I still don't know how to fix it, but I have narrowed down the problem
a bit.  The pthreads mutex gets confused if the current holder of the
mutex lock is killed, at which point two of the remaining children are
released and think they each have the lock.  It is as if the killed
child is able to unlock the mutex twice before it dies, or one of the
killed children that did not have the mutex was able to unlock just
after it was locked by another child.

I suspect that the pthreads mutex is not atomic outside a single process.


View raw message