httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY <aurelien.de...@ext.anpe.fr>
Subject [users@httpd] Apache 2.0.49 / RHEL 3.0 does not start
Date Wed, 16 Jun 2004 13:37:49 GMT
Hello.

I've a problem starting a Apache 2.0.49 «worker» on our RedHat 
Enterprise Linux 3.0 (Linux srv1 2.4.21-15.ELsmp #1 SMP Thu Apr 22 
00:18:24 EDT 2004 i686 i686 i386 GNU/Linux) server.

Here is the error_log:

[Wed Jun 16 15:23:05 2004] [alert] (12)Cannot allocate memory: 
apr_thread_create: unable to create worker thread
[Wed Jun 16 15:23:05 2004] [notice] Apache configured -- resuming normal 
operations
[Wed Jun 16 15:23:05 2004] [alert] (12)Cannot allocate memory: 
apr_thread_create: unable to create worker thread
[Wed Jun 16 15:23:16 2004] [alert] Child 31993 returned a Fatal 
error...\nApache is exiting!

The ulimit command gives:

[user@srv1 logs]$ ulimit -Ha
core file size        (blocks, -c) unlimited
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) 4
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024000
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) unlimited
cpu time             (seconds, -t) unlimited
max user processes            (-u) unlimited
virtual memory        (kbytes, -v) unlimited
[user@srv1 logs]$ ulimit -Sa
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) 4
max memory size       (kbytes, -m) unlimited
open files                    (-n) 102400
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 524288
cpu time             (seconds, -t) unlimited
max user processes            (-u) 10000
virtual memory        (kbytes, -v) unlimited


The ./configure command line:
./configure --enable-layout=anpe --with-mpm=worker 
--enable-nonportable-atomics=yes --enable-so --enable-deflate 
--enable-cache --enable-mem-cache --enable-disk-cache 
--enable-mods-shared=all

And, finaly, the MPM Worker config:
<IfModule worker.c>
ThreadLimit             100
ServerLimit             100

StartServers              2
MaxClients             1000
MinSpareThreads          10
MaxSpareThreads          10
ThreadsPerChild          10
MaxRequestsPerChild 1000000
</IfModule>

I try to start the server with root user and with a «normal» user with 
no more success. If anyone have a clue, or better the answer, I haven't 
found anything on google.

Best regards.

-- 
Aurélien DEHAY



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message