Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: _beginthreadex failed. Unable to create all worker threads |
|
Author |
|
takerushi
Joined: 10 May 2007 Posts: 4
|
Posted: Thu 04 Apr '13 19:59 Post subject: _beginthreadex failed. Unable to create all worker threads |
|
|
Hi,
we recently switched from Microsoft ISA to Apache as a proxy to redirect customers to computers in DMZ. However, since the switch, our system always down due to the threading issue below, does any of you know how to fix this? Please advise:
##################################################
[Wed Apr 03 08:15:56 2013] [notice] Child 131648: Child process is running
[Wed Apr 03 08:15:56 2013] [notice] Child 131648: Acquired the start mutex.
[Wed Apr 03 08:15:56 2013] [notice] Child 131648: Starting 1000 worker threads.
[Wed Apr 03 08:15:56 2013] [crit] (OS 1455)Unrecognized Win32 error code 1455: Child 131648: _beginthreadex failed. Unable to create all worker threads. Created 890 of the 1000 threads requested with the ThreadsPerChild configuration directive.
[Wed Apr 03 08:15:56 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Apr 03 08:15:57 2013] [notice] Child 131648: Released the start mutex
[Wed Apr 03 08:15:58 2013] [notice] Child 131648: All worker threads have exited.
[Wed Apr 03 08:15:58 2013] [notice] Child 131648: Child process is exiting
[Wed Apr 03 08:16:02 2013] [notice] Parent: Child process exited successfully.
[Wed Apr 03 08:16:15 2013] [notice] Child 131784: Waiting 480 more seconds for 24 worker threads to finish.
[Wed Apr 03 08:16:48 2013] [notice] Child 131784: Waiting 450 more seconds for 19 worker threads to finish.
[Wed Apr 03 08:17:20 2013] [notice] Child 131784: Waiting 420 more seconds for 16 worker threads to finish.
[Wed Apr 03 08:17:53 2013] [notice] Child 131784: Waiting 390 more seconds for 16 worker threads to finish.
[Wed Apr 03 08:18:26 2013] [notice] Child 131784: Waiting 360 more seconds for 15 worker threads to finish.
[Wed Apr 03 08:18:59 2013] [notice] Child 131784: Waiting 330 more seconds for 8 worker threads to finish.
[Wed Apr 03 08:19:32 2013] [notice] Child 131784: Waiting 300 more seconds for 8 worker threads to finish.
[Wed Apr 03 08:20:05 2013] [notice] Child 131784: Waiting 270 more seconds for 6 worker threads to finish.
[Wed Apr 03 08:20:36 2013] [notice] Child 131784: All worker threads have exited.
[Wed Apr 03 08:20:36 2013] [notice] Child 131784: Child process is exiting |
|
Back to top |
|
CamaroSS
Joined: 24 Jan 2013 Posts: 78 Location: RF, Tver
|
Posted: Fri 05 Apr '13 7:30 Post subject: |
|
|
http://pcsupport.about.com/od/findbyerrormessage/tp/system_error_codes_1400_1499.05.htm
Quote: | Error Code 1455
System error code 1455 means "The paging file is too small for this operation to complete." This error code may also display as "ERROR_COMMITMENT_LIMIT" or as the value 0x5AF.
|
So maybe it's memory/threading issue? Is there any other multi-threaded software like DBMS or something?
Personally, I had a similar issue when trying to start 1024 threads with 3M ThreadStackSize. |
|
Back to top |
|
takerushi
Joined: 10 May 2007 Posts: 4
|
Posted: Fri 05 Apr '13 21:44 Post subject: |
|
|
Yes,we are running DBMS on other system, I might be wrong, but this shouldn't have anything to do with the apache problem I am having, right? We need to reboot the apache server everything we experienced this threading problem. Do you know how to fix this problem? Thanks in advance! |
|
Back to top |
|
takerushi
Joined: 10 May 2007 Posts: 4
|
Posted: Tue 09 Apr '13 21:43 Post subject: |
|
|
takerushi wrote: | Yes,we are running DBMS on other system, I might be wrong, but this shouldn't have anything to do with the apache problem I am having, right? We need to reboot the apache server everything we experienced this threading problem. Do you know how to fix this problem? Thanks in advance! |
Actually, I installed 32 bit apache on a 64bit Window Server 2008 R2. Could this be the root cause for the threading problem? The reason why we installed 32bit apache on a 64bit machine, is because we were told some of our applications such as Oracle database only works well with 32bit apache, justifiable reason for this implementation? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 10 Apr '13 10:27 Post subject: |
|
|
Depends how large your apache (httpd.exe) process gets. With 32 bit it can't be larger than 2 GB. I wonder if your process gets that huge. |
|
Back to top |
|
CamaroSS
Joined: 24 Jan 2013 Posts: 78 Location: RF, Tver
|
Posted: Thu 11 Apr '13 7:39 Post subject: |
|
|
Maybe it simply runs out of memory. |
|
Back to top |
|
|
|
|
|
|