ASP.NET High memory usage
- From: "SevDer" <sevder@xxxxxxxxxxxxxxxx>
- Date: Wed, 7 Sep 2005 11:41:25 -0400
Hi,
We have a web application based on DotNetNuke 2.x.
1. We host several portals (sites)
2. Some relatively big clients have their own application pool and they have
a lot of hits (in average between 7K - 21K per day). (1600 per hour)
3. We also grouped low level sites into 2 application pool. (some hundred
hits per day)
4. Due to the nature of the requirements we use several threads that process
tiny to huge XML parsing and updating a main object that has list of sub
objects in an arraylist.
5. The main object is kept in session, and we also have some more tiny
objects values kept in session, but our session usage besides the main
object is very limited.
Now our problem is our worker processes are consuming a lot of
memory.(Especially for those high traffic sites)
Current consumption is like:
1. 330Mb
2. 255Mb
3. 234Mb
4. 214Mb
......
In average there is not worker process that uses less than 100Mb RAM.
(We recycle app. pools every early morning and it makes like 1Gb difference
just after recycling)
And the processor usage rarely comes upto 20% on that single CPU machine. So
processing is fast but memory consumption is high.
Questions:
---------------------------------
1. How can we optimize this high memory usage?
2. How can we measure the total session memory consumption for a worker
process and per a single transaction?
3. Will it help us to have a session state server & web gardening? Will we
loose a lot in performance by using state server (like delays etc)? We do
not have crazy super machines, the machines we have are Dell PowerEdge
Servers.
4. Will the caching application block help us if we cache commonly used data
on a cache server (We cache like list of airports in the world)? If we do
that, will we loose on performance significantly?
5. Basically what can we do?
Please help & advise.
Best regards,
--
SevDer
http://www.sevder.com
A new .NET Source For .NET Developers
.
- Follow-Ups:
- RE: ASP.NET High memory usage
- From: Steven Cheng[MSFT]
- RE: ASP.NET High memory usage
- Prev by Date: Re: Massive Concurrency / Multiple ThreadPools
- Next by Date: Re: Massive Concurrency / Multiple ThreadPools
- Previous by thread: Massive Concurrency / Multiple ThreadPools
- Next by thread: RE: ASP.NET High memory usage
- Index(es):
Relevant Pages
|
Loading