httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subredu Manuel <dia...@iasi.roedu.net>
Subject [users@httpd] Resource temporarily unavailable
Date Mon, 05 Jan 2004 12:56:57 GMT

 Hi,

 I'm having some troubles with apache 2.0.48 . I have this:

 IBM dual Xeon 3.06Ghz, 1.5Gb RAM, SCSI disc
 Debian Woody + updates
 Apache 2.0.48 compiled by hand  
 Linux Kernel 2.6.0

 When I try 
  ab -k -c 768 -n 20000 http://x.x.x.x/test.img 

 after some time apache crashes with SEGFAULT and this messages

[Mon Jan 05 13:29:45 2004] [notice] Apache/2.0.48 (Unix) configured -- resuming normal operations
[Mon Jan 05 13:30:13 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to
change to uid: 72
[Mon Jan 05 13:30:13 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to
change to uid: 72
[Mon Jan 05 13:30:13 2004] [alert] Child 2106 returned a Fatal error...
Apache is exiting!
[Mon Jan 05 13:30:13 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to
change to uid: 72
[Mon Jan 05 13:30:13 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to
change to uid: 72

id apache
uid=72(apache) gid=100(users) groups=100(users)

grep apache /etc/security/limits.conf 
apache         soft    core    0
apache         soft    data    1024
apache         soft    fsize   -1
apache         soft    memlock 256
apache         soft    nofile  8192
apache         soft    nproc   6024
apache         hard    core    0
apache         hard    data    2048
apache         hard    fsize   -1
apache         hard    memlock 512
apache         hard    nofile  8192
apache         hard    nproc   6024


/usr/local/apache2/bin/apachectl -V
Server version: Apache/2.0.48
Server built:   Dec 18 2003 20:39:20
Server's Module Magic Number: 20020903:4
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


<IfModule prefork.c>
ServerLimit       1024
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients         1024
MaxRequestsPerChild  0
</IfModule>


Any ideeas ?


-- 
=========================================
 inf. Manuel SUBREDU
 Network Engineer at RoEduNet Iasi

 Phone:     +40 (232) 201003
            +40 (742) 088067
 Email:     diablo@iasi.roedu.net
 website:   http://manuel.iasi.roedu.net
=========================================
Mime
View raw message