httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Apache 1.3.x running modules with -lpthread
Date Mon, 22 Jan 2001 19:09:47 GMT
On Mon, 22 Jan 2001, Sascha Schumann wrote:

> > There is a bigger problem with threaded modules and apache 1.3 on
> > Linux.  Linux Glibc uses SIGUSR1 for thread management, which is the same
> > signal that Apache uses for graceful restart.  This causes HUGE problems.
>     Are you sure?  From the linuxthreads-2.2 FAQ:
>    On  recent  kernels (2.2 and up), more than 32 signals are provided in
>    the  form  of  realtime  signals.  When  run  on one of those kernels,
>    LinuxThreads  uses  two  reserved  realtime  signals  for its internal
>    operation,  thus leaving SIGUSR1 and SIGUSR2 free for user code. (This
>    works only with glibc, not with libc 5.)

Depends on the version of glibc.  When Manoj and I first ported Apache 2.0
to use pthreads on Linux, we hit this problem head-on, so yes, I am very
sure that this is a problem.


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message