httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Newald" <alexan...@newald.de>
Subject [users@httpd] Problems with RLimitCPU
Date Sun, 23 Jan 2005 08:12:22 GMT

Hello,

I've setup a new server with apache 2.0.52 (linux, kernel 2.4.29) and 
thought about using RLimitCPU. Somehow I run into the problem that my test 
cgi script seems to stop but isn't killed:

ps looks like :

wwwrun     370  0.0  S  08:40   0:00  \_ httpd -f /etc/httpd/httpd.conf
tf00100c  5653 17.9  S  08:55   0:31  |   \_ /usr/bin/perl test

strace is:

~]# strace -p 5653
Process 5653 attached - interrupt to quit
fork()                                  = -1 EAGAIN (Resource temporarily
unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({5, 0}, {5, 0})               = 0
fork()                                  = -1 EAGAIN (Resource temporarily
unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({5, 0},  <unfinished ...>
Process 5653 detached

vhost is:

<VirtualHost *>
        RLimitCPU       10 20
        SuexecUserGroup tf00100c        users
        ServerName      domain.tld
        ServerAlias     domain.tld
        DocumentRoot    /home/kservhome/tf/ac000003/
        ServerAdmin     webmaster@domain.tld
        ScriptAlias     /cgi-bin/ /home/kservhome/tf/ac000003/cgi-bin/
        <Directory /home/kservhome/tf/ac000003/>
                Options Indexes FollowSymLinks ExecCGI +Includes
SymLinksIfOwnerMatch
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

Any hints?

Alexander Newald 


---------------------------------------------------------------------
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