httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R, Rajesh (STSD)" <rajesh...@hp.com>
Subject RE: RLimitCPU is not working
Date Tue, 03 Jan 2006 10:57:01 GMT

I was using mod_cgid.
Later I disabled it and couldn't execute cgi program without it.

In the directory /cgi-bin I gave "options ExecCGI" but I get the code being displayed 
every time I try to run the program from browser.

Is there a way to run cgi without mod_cgid ??? Or does RLimitCPU work with mod_cgi ?? 


Rajesh R
--
This space intentionally left non-blank. 

-----Original Message-----
From: Colm MacCarthaigh [mailto:colm@stdlib.net] 
Sent: Tuesday, January 03, 2006 4:21 PM
To: dev@httpd.apache.org
Subject: Re: RLimitCPU is not working

On Tue, Jan 03, 2006 at 03:16:18PM +0530, R, Rajesh (STSD) wrote:
> Does RLimitCPU limit CPU usage by putting a Setrlimit on the 
> subsequent child processes ??

When it works, yes.

> I cannot find the limits  in utask.uu_rlmit[0] in proc. structure of the repective httpd
processes.
> How is the time limited then ?
> I am keen to know how exactly it is implemented and how it limits CPU usage of httpd
child process.

The best way to do this is to read the source :) In the meantime, can you tell me are you
using mod_cgid or mod_cgi?

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net

Mime
View raw message