On Mon, Jun 25, 2012 at 7:34 AM, Ng Kean Thian <keanthian...@b2b.com.my> 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-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org