httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: AW: Limiting CGIs in 2.2.0
Date Wed, 01 Mar 2006 15:08:19 GMT
On 3/1/06, Graham Leggett <minfrin@sharp.fm> wrote:
> Plüm wrote:
>
> > What about
> >
> > RLimitCPU
> > RLimitMEM
> > RLimitNPROC
>
> Hmmm... the docs explain both a "soft limit" and a "maximum limit", but
> doesn't describe the difference between the two.

The soft/hard limits are a notion held in the underlying
ulimit/setrlimit facility.

Unrpivileged users can manipulate their soft limit  to control the
limits on how much CPU time, memory, or # of processes their programs
can use.  The "hard" limit acts as a ceiling for what the OS will let
you adjust your soft limit to.

The support in apache relies on the availability of the specific
setrlimit value being available in the OS -- e.g. RLimitNPROC works on
Linux but not many other places (apache will log a message to that
effect on an unsupported platform)


--
Eric Covener
covener@gmail.com

Mime
View raw message