You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Subredu Manuel <di...@iasi.roedu.net> on 2004/01/05 13:56:57 UTC
[users@httpd] Resource temporarily unavailable
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
=========================================
Re: [users@httpd] Resource temporarily unavailable
Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
On Mon, 5 Jan 2004, Subredu Manuel wrote:
>
> 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
>
Perhaps you are running out of file descriptors. Check O/S docs on how to
increase FD's.
----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services
---------------------------------------------------------------------
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