Re: maximum MPM winnt thread supported in apache http server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 25, 2012 at 7:34 AM, Ng Kean Thian <keanthian.ng@xxxxxxxxxx> wrote:
> Dear all,
> I have configured my Apache HTTP Server's MPM maximum thread with the
> following configuration:
>
> <IfModule mpm_winnt_module>
>        ThreadsPerChild      3465
>        MaxRequestsPerChild    0
>        ThreadLimit 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: _beginthreadex
> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux