[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] maximum MPM winnt thread supported in apache http server
From:       Eric Covener <covener () gmail ! com>
Date:       2012-06-25 11:44:00
Message-ID: CALK=YjPFMAid7kfMkczwhCyO4JKN38qdvhk0ogp3eSuE98Ahmg () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jun 25, 2012 at 7:34 AM, Ng Kean Thian <keanthian.ng@b2b.com.my> wr=
ote:
> Dear all,
> I have configured my Apache HTTP Server's MPM maximum thread with the
> following configuration:
>
> <IfModule mpm_winnt_module>
> =A0 =A0 =A0 =A0ThreadsPerChild =A0 =A0 =A03465
> =A0 =A0 =A0 =A0MaxRequestsPerChild =A0 =A00
> =A0 =A0 =A0 =A0ThreadLimit 4000
> </IfModule>
>
> Whenever I configured the 'ThreadsPerChild' with a value more than 3463, =
I
> will hit '(OS 8)Unrecognized Win32 error code 8: Child 3316: _beginthread=
ex
> failed. Unable to create all worker threads. Created 3463 of the 3500
> threads requested with the ThreadsPerChild configuration directive.'. My
> apache http server is running in Windows Server 2008 R2 64 bit.
>
> Would like to check, is that the maximum thread creatable? If it is not,
> what could be the possible reasons causing the error?

You're process is growing past 2GB.  Use a 64-bit build if you want
lots of threads on 64-bit windows. Each thread takes up some address
space size and you quickly run out in a 32-bit process on a 64-bit
Windows.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic