I have an apache server with quite a few name based virtual host
entries. The virtual hosts are able to execute cgi scripts, and I wish
to use the RLimitNPROC to limit the number they can have running at a
The script runs setuid root (I know about the security implications, but
it is a wrapper, and needs to run as root). It starts and then changes
itself to the appropriate userID and continues to completion.
The server is not running as root, or the userID.
The virtual host configuration I have looks like this :
RLimitNPROC 4 8
The normal web server works as it should, but it just doesn't appear
that the rlimit is preventing too many scripts from that user to run.
Do I need to compile anything special into apache ?
I am running 1.3.6, and any help would be appreciated.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.