Dossy,
> -----Original Message-----
> From: Dossy [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 21, 2004 18:34
>
> On 2004.05.21, Fen Tamanaha <[EMAIL PROTECTED]> wrote:
> > We're seeing the dead thread problem under SuSE 7.3 (Linux
> > 2.4.10-64GB-SMP) and 8.1 (2.4.19-64GB-SMP), but not under 9.0
> > (2.4.21-99-smp4G) or Solaris.
>
> You're seeing the dead threads even after applying the patch to
> nsd/unix.c that I sent you?
Yes. :(
> Interesting that on 9.0 you don't see it. What version of pthreads is
> installed on each (7.3, 8.1 and 9.0) -- what's the output of the
> following command on all three versions:
>
> $ ls -l /lib/libpthread.so*
Here's the info:
SuSE 7.3
% ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 106843 Sep 19 2001
/lib/libpthread.so.0
SuSE 8.1
% \ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 106013 2002-09-10 09:51
/lib/libpthread.so.0
SuSE 9.0
% ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 86940 2003-09-23 16:05
/lib/libpthread.so.0
> > I merged the pertinent changes from the Arsdigita patch into
> > "nsd/unix.c". It doesn't look as clean as your patch, but it does
> > result in the server exiting/crashing completely without a lingering
> > thread. I've attached a diff of these changes.
>
> Really? It makes the server exit/crash even on 7.3 and 8.1? The only
> difference is that my version of the signal handler does an abort()
> (which, should cause a raise(SIBABRT) afterwards) while the ArsDigita
> version simply does a raise(SIGKILL).
>
> We could test to see if that's the important factor: take my patch,
> change the following lines:
>
> abort();
> exit(1);
>
> to the following:
>
> raise(SIGKILL);
>
> and see if that does what we're trying to accomplish.
I'll try this.
Thanks.
- Fen
--
Chris "Fen" Tamanaha 2855 Telegraph Ave, Suite 600
Senior Systems Engineer Berkeley, CA 94705-1151
<[EMAIL PROTECTED]> 510-540-4772 x133
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.