You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Victor J. Orlikowski" <v....@gte.net> on 2001/07/02 18:17:00 UTC

threaded mpm not there yet ...

Running RedHat 6.2, trying threaded on an up-to-the-minute 2.0.20-dev:

[Mon Jul 02 12:12:08 2001] [notice] Apache/2.0.20-dev (Unix)
configured -- resuming normal operations
[Mon Jul 02 12:12:08 2001] [info] Server built: Jul  2 2001 12:04:08
[Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
unavailable: apr_thread_create: unable to create worker thread
[Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
unavailable: apr_thread_create: unable to create worker thread
[Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
unavailable: apr_thread_create: unable to create worker thread
[Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
unavailable: apr_thread_create: unable to create worker thread
[Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
unavailable: apr_thread_create: unable to create worker thread
[Mon Jul 02 12:12:19 2001] [alert] Child 25094 returned a Fatal
error...
Apache is exiting!

Something is still not quite right about threaded.

Victor 
-- 
Victor J. Orlikowski
======================
v.j.orlikowski@gte.net
orlikowski@apache.org
vjo@us.ibm.com


CORRECTION: threaded is ok: [WAS] Re: threaded mpm not there yet ...

Posted by "Victor J. Orlikowski" <v....@gte.net>.
Taking it back.
Threaded is O.K.
It was my ulimit settings.

However, we need to doc up that on Linux, since threads are treated as
clone()d processes without their own virtual address space, ulimit
applies to threads. Hence, setting a large number of threads in
threaded's configuration on Linux requires an equivalent raising of
the process ulimit, if one is set.

Victor
-- 
Victor J. Orlikowski
======================
v.j.orlikowski@gte.net
orlikowski@apache.org
vjo@us.ibm.com


Re: threaded mpm not there yet ...

Posted by "Victor J. Orlikowski" <v....@gte.net>.
rbb@covalent.net writes:
 > 
 > This error has one of two meanings from the pthread_create man page:
 > 
 >        EAGAIN not enough system resources to create a process for
 >               the new thread.
 > 
 >        EAGAIN more than PTHREAD_THREADS_MAX threads  are  already
 >               active.
 > 
 > Are you sure your system is setup to handle the threaded MPM?  I am
 > testing this on a Mandrak 7.2 box with a 2.2.17 kernel.  What kernel are
 > you running?

kernel: 2.2.19
ulimit -u 150

I'll set my threaded settings back to the default, raise my ulimit to
250, and try again.
It well may be that I am running into the process limits I have set for
myself. Let me check.

Victor
-- 
Victor J. Orlikowski
======================
v.j.orlikowski@gte.net
orlikowski@apache.org
vjo@us.ibm.com


Re: threaded mpm not there yet ...

Posted by rb...@covalent.net.
This error has one of two meanings from the pthread_create man page:

       EAGAIN not enough system resources to create a process for
              the new thread.

       EAGAIN more than PTHREAD_THREADS_MAX threads  are  already
              active.

Are you sure your system is setup to handle the threaded MPM?  I am
testing this on a Mandrak 7.2 box with a 2.2.17 kernel.  What kernel are
you running?

Ryan

On Mon, 2 Jul 2001, Victor J. Orlikowski wrote:

> Running RedHat 6.2, trying threaded on an up-to-the-minute 2.0.20-dev:
>
> [Mon Jul 02 12:12:08 2001] [notice] Apache/2.0.20-dev (Unix)
> configured -- resuming normal operations
> [Mon Jul 02 12:12:08 2001] [info] Server built: Jul  2 2001 12:04:08
> [Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
> unavailable: apr_thread_create: unable to create worker thread
> [Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
> unavailable: apr_thread_create: unable to create worker thread
> [Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
> unavailable: apr_thread_create: unable to create worker thread
> [Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
> unavailable: apr_thread_create: unable to create worker thread
> [Mon Jul 02 12:12:08 2001] [alert] (11)Resource temporarily
> unavailable: apr_thread_create: unable to create worker thread
> [Mon Jul 02 12:12:19 2001] [alert] Child 25094 returned a Fatal
> error...
> Apache is exiting!
>
> Something is still not quite right about threaded.
>
> Victor
> --
> Victor J. Orlikowski
> ======================
> v.j.orlikowski@gte.net
> orlikowski@apache.org
> vjo@us.ibm.com
>
>
>


_____________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------