Problem with running apache2 [message #1589] |
Tue, 14 February 2006 14:21 |
steffen.zieger
Messages: 43 Registered: February 2006 Location: Germany, Stuttgart
|
Member |
|
|
Hello,
If i'm starting apache2, it's runnig for about ten seconds and then gets killed.
The following message is printed to apache log
Quote: | [Tue Feb 14 14:19:58 2006] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create work
er thread
|
Anybody has run into the same problem?
TIA,
Steffen
|
|
|
Re: Problem with running apache2 [message #1590 is a reply to message #1589] |
Tue, 14 February 2006 16:13 |
|
A real quick check of Everyone's Friend, Google, returned this.
Quote: | apr_thread_create: unable to create worker thread
This is a tuning issue. The operating system failed a request by the web server to create another thread. The operating system can be tuned to allow more threads, or the web server can be tuned to create fewer threads per process so that it doesn't encounter this issue.
Things to check:
1. value of ThreadsPerChild in the worker MPM configuration in serverroot/conf/httpd.conf
It may be too high for current operating system limits on memory or processes or threads.
2. AIX: value of LDR_CNTRL variable in serverroot/bin/envvars file
This controls how much of the address space can be used for heap storage, and heap storage is the main requirement on AIX for being able to create a new thread.
|
This is the original URL: http://publib.boulder.ibm.com/httpserv/ihsdiag/errorlog.html
Good luck
Just Because You Have One, Doesn't Mean You Have To Be One!
|
|
|
|
|
|
|
|
|
|