Apache2::Resource - What happens when the resource limit is consumed

Apache2::Resource - What happens when the resource limit is consumed

am 31.07.2009 11:31:55 von Shibi NS

--00163646c0044c026a046ffd17ef
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

We can use Apache2::Resource to RSS and Memory,etc usage by the process . -
What happens when the resource limit setting is reached and it requires more
resource?

For example I sets the RSS to 70 M , but due to some bugs one of the
process requires 80 M how does the systems handles it ?


--Shibi Ns--

--00163646c0044c026a046ffd17ef
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


We can use Apache2::Resource to RSS and Memory,etc usage by the process=
.=A0 - What happens when the resource limit setting is reached and it requ=
ires more resource?

For example I sets the RSS=A0 to 70 M , but due =
to some bugs one of the process requires 80 M how does the systems handles =
it ?



--Shibi Ns--


--00163646c0044c026a046ffd17ef--

Re: Apache2::Resource - What happens when the resource limit is

am 31.07.2009 16:57:02 von Perrin Harkins

On Fri, Jul 31, 2009 at 5:31 AM, Shibi NS wrote:
> For example I sets the RSS=A0 to 70 M , but due to some bugs one of the
> process requires 80 M how does the systems handles it ?

The process will die. Setting resource limits is meant to be a safety
measure to prevent runaway code from crashing your whole server. If
you just want to manage the size of your processes, use
Apache::SizeLimit instead.

- Perrin