What is the maximum memory usage for each process in a web garden?

What is the maximum memory usage for each process in a web garden?

am 13.07.2007 18:48:16 von Luis

We have an application that uses a lot of memory. We want to know if
creating a web garden will help us overcome the 3GB limit for a
process that the operating system imposes.

So, is there a max memory for an application pool? or is there a max
for each worker process inside of an application pool?

Luis

Re: What is the maximum memory usage for each process in a web garden?

am 13.07.2007 20:00:56 von patfilot

There is no limit for a pool. A single process is limited to 2GB of virtual
address space unless the /3GB switch is used in the Boot.ini.

That said, allocations cannot span multiple processes. So if you are doing
a single large allocation, it will still fail. Also, allocations must be
made to contiguous memory. This means that a large allocation has a much
higher probability of succeeding early in the process lifetime vs later when
fragmentation has occurred (due to dll loading, thread creation, etc.).


Pat

"Luis" wrote in message
news:1184345296.815972.64200@o61g2000hsh.googlegroups.com...
> We have an application that uses a lot of memory. We want to know if
> creating a web garden will help us overcome the 3GB limit for a
> process that the operating system imposes.
>
> So, is there a max memory for an application pool? or is there a max
> for each worker process inside of an application pool?
>
> Luis
>

Re: What is the maximum memory usage for each process in a web garden?

am 13.07.2007 20:43:48 von Luis

Thanks for your reply. we are using the /3gb and /userva=3030
settings, so does this mean that each process in a pool could go as
high as 3GB?

A second question is under what criteria are the other worker
processes created? And how are http requests routed to each wp in the
web garden?

We would like to have then next wp created once the first wp in the
pool is using 2GB, but i'm not sure if this is possible.

As far as allocations, i'm not sure what this is. We are in C#
managed code, so we are not making any memory allocations if that is
what you meant.

Re: What is the maximum memory usage for each process in a web garden?

am 23.07.2007 17:44:32 von patfilot

1) Yes. Win32 always provides either 2GB or 3GB of addressable memory to
every process. You can have 100 (or more) each with the full memory
available - regardless of RAM installed. The OS will 'back' the process
with RAM or Page File only when the memory is actually needed. You can see
the 'real' memory usage by leveraging Perfmon:Process:PrivateBytes

2) This is a configuration decision

3) Not possible.



Pat


"Luis" wrote in message
news:1184352228.803687.44060@22g2000hsm.googlegroups.com...
>
> Thanks for your reply. we are using the /3gb and /userva=3030
> settings, so does this mean that each process in a pool could go as
> high as 3GB?
>
> A second question is under what criteria are the other worker
> processes created? And how are http requests routed to each wp in the
> web garden?
>
> We would like to have then next wp created once the first wp in the
> pool is using 2GB, but i'm not sure if this is possible.
>
> As far as allocations, i'm not sure what this is. We are in C#
> managed code, so we are not making any memory allocations if that is
> what you meant.
>