473,796 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how mutch memory aspnet_wp.exe must use

Hi gurus,

Can anyone tell me please when I really must setup the value of memory that
aspnet_wp or w3wp must use in IIS server machine?

What I mean is that we have clients that have diferent specificatiosn in
their server machines that have IIS to runnning WebApplications . This can
change for example in RAM memory that is available. One have 1GB, other 2GB
and another 4GB. I.e., how can I know when I must change any configuration
in machine.config or even in IIS (at this case only in version 6.0) to limit
the memory that ASPNET process must use. I know the default value is 60% of
memory RAM, but is this ok in a 1GB memory RAM machine as it is ok in a 2GB
or 4GB memory RAM machine. Personally I don't think, but when can I change
this value?

I'm asking this because I have a client that have 2GB RAM and the aspnet
process grows until 1,3GB and then recycle (after some days of use, there
are 1800-2000 users using application). The problem is that this client have
other applications working there and the server not response efficiently to
requests when the process have this value. I should say that my WebApp use a
COM on some pages object and for that I'm using ReleseComObject . I should
say too that this WebApp is installed in a CLUSTER (may be this have
implications, I don't know).
I already run Profilers, windows performance for aspnet_wp, and mutch
more...

What do you sugest to do? Do I must limit the memory value that aspnet
process use to some value?
Where can I get more information of this (if possible from microsoft) to
present?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)

ruca
Nov 16 '06 #1
2 1661
If you are mixing ASP.NET and classic ASP, you should not have issues, so I
assume you are talking either a) other web application types (websphere,
etc.) or b) other applications that are not web related. If the client is
mixing web functionality with other application services, this is not an
optimal situation. The web services/sites should have a dedicated machine or
cluster.
>WebApp is installed in a CLUSTER (may be this have implications, I don't
know).
Could have HUGE implications. How are they balanced? How are the other
applications balanced? Where is state held? A single machine with multiple
types of apps presents issues. A cluster compounds the issues.

Can you throttle down memory? Certainly. Look at the memory used over a
short period of time (a few hours) and set the value down to that level. If
possible, this should be done in a "lab-type" situation prior to releasing
it on production. When you reset the level, all .NET apps will recycle, so
don't do it during the day on production (or let users know). I am not sure
what level to set it on, but examining the amount of memory used in a
reasonable amount of time and profiling the memory to see what is actually
active (I believe sysinternals.co m has a free tool for this, otherwise you
will have to trialware or purchase).

Unfortunately, without knowing what it is beating up against, I am not 100%
confident this will solve your issue. It will if memory is the main issue,
but I am not fully convinced it is.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** *************** ****
Think outside the box!
*************** *************** *************** ****
"ruca" <ru********@elo informatica.ptw rote in message
news:e1******** ******@TK2MSFTN GP04.phx.gbl...
Hi gurus,

Can anyone tell me please when I really must setup the value of memory
that aspnet_wp or w3wp must use in IIS server machine?

What I mean is that we have clients that have diferent specificatiosn in
their server machines that have IIS to runnning WebApplications . This can
change for example in RAM memory that is available. One have 1GB, other
2GB and another 4GB. I.e., how can I know when I must change any
configuration in machine.config or even in IIS (at this case only in
version 6.0) to limit the memory that ASPNET process must use. I know the
default value is 60% of memory RAM, but is this ok in a 1GB memory RAM
machine as it is ok in a 2GB or 4GB memory RAM machine. Personally I don't
think, but when can I change this value?

I'm asking this because I have a client that have 2GB RAM and the aspnet
process grows until 1,3GB and then recycle (after some days of use, there
are 1800-2000 users using application). The problem is that this client
have other applications working there and the server not response
efficiently to requests when the process have this value. I should say
that my WebApp use a COM on some pages object and for that I'm using
ReleseComObject . I should say too that this WebApp is installed in a
CLUSTER (may be this have implications, I don't know).
I already run Profilers, windows performance for aspnet_wp, and mutch
more...

What do you sugest to do? Do I must limit the memory value that aspnet
process use to some value?
Where can I get more information of this (if possible from microsoft) to
present?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)

ruca

Nov 16 '06 #2
you are probably leaking com references. check to see if you use any double
dot notation.

a = comobj.object1. property;

this will cause a unmanged memory leak, as object1 will not be released
(until gc decides to). should be coded as:

obj1type obj1 = comobj.object1.
propertyType prop = obj1.property;
ReleaseComObjec t(obj1);
ReleaseComObjec t(comobj);

-- bruce (sqlwork.com)
"ruca" <ru********@elo informatica.ptw rote in message
news:e1******** ******@TK2MSFTN GP04.phx.gbl...
Hi gurus,

Can anyone tell me please when I really must setup the value of memory
that aspnet_wp or w3wp must use in IIS server machine?

What I mean is that we have clients that have diferent specificatiosn in
their server machines that have IIS to runnning WebApplications . This can
change for example in RAM memory that is available. One have 1GB, other
2GB and another 4GB. I.e., how can I know when I must change any
configuration in machine.config or even in IIS (at this case only in
version 6.0) to limit the memory that ASPNET process must use. I know the
default value is 60% of memory RAM, but is this ok in a 1GB memory RAM
machine as it is ok in a 2GB or 4GB memory RAM machine. Personally I don't
think, but when can I change this value?

I'm asking this because I have a client that have 2GB RAM and the aspnet
process grows until 1,3GB and then recycle (after some days of use, there
are 1800-2000 users using application). The problem is that this client
have other applications working there and the server not response
efficiently to requests when the process have this value. I should say
that my WebApp use a COM on some pages object and for that I'm using
ReleseComObject . I should say too that this WebApp is installed in a
CLUSTER (may be this have implications, I don't know).
I already run Profilers, windows performance for aspnet_wp, and mutch
more...

What do you sugest to do? Do I must limit the memory value that aspnet
process use to some value?
Where can I get more information of this (if possible from microsoft) to
present?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)

ruca

Nov 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
7176
by: Clement | last post by:
hi, i have an asp.net site and is using SQL Server 2k. i realize the aspnet_wp.exe memory usage keep growing and i will receive an error for the pages that call the sql connection. others page with no sql connection is fined. At the time when i encounter the error, i check the memory usage for aspnet_wp.exe = 60000kb sqlmangr.exe = 40000kb
0
1388
by: Rob | last post by:
hi! i am running a aspnet-application on a machine with 1 gb ram. looking into the taskmanager, the aspnet_wp-process is going to use up to 60 megs heap memory and about 55 megs virtual memory. also there are up to 500 changes in pagefaults per second. the cpu-usage of aspnet_wp is varying between 25 and 95 percent. the taskmanager told me, there are about 700mb heap memory available. the memorylimit-value in my machine.config-file is...
2
1374
by: Ashish | last post by:
hi all, I have been doing some performance testing of a asp_net website, to be hosted on a shared server .. as far as i understand every page when accessed first time is compiled and loaded in the memory of aspnet_wp , so that would mean more distinct pages more the memory consumed by aspnet_wp, this is good since it would mean serving compiled copy of the page , which is good for speed.. another understanding is that once a page is...
15
2798
by: Chetan Raj | last post by:
Hi All, We have a web-application in asp.net that interacts with legacy code written in COM. The memory usage in aspnet_wp.exe increases every sec and never reduces. Using the .NET performance counters, we found that unmanaged memory was 90% of the total private bytes of aspnet_wp.exe. We suspected that the COM code has memory leaks. So we made it as a COM+ Service running as dllhost.exe. Surprisingly, there was no memory increase in...
4
1482
by: RC | last post by:
I'm trying to get an idea of the amount of memory is being used by my ASP.NET application. Here's what I did: I rebooted my machine and fired up VS.NET 2003, opened the project in question (without running it), then opened Task Manager (machine is Win2000 Pro). Task Manager showed aspnet_wp.exe as using about 21,000K. I then ran the project (F5). The amount of memory used by aspnet_wp.exe jumped up to about 39,000K immediately. I then...
1
2263
by: Teemu Keiski | last post by:
Hi, I have following type of scenario (also explained here http://blogs.aspadvice.com/joteke/archive/2005/01/10/2196.aspx ) We have problematic web server (wink2 Standard, 1.5GB of physical memory, SQL 2000 in same box, framework 1.0 and 1.1 installed, apps use mainly 1.0) whose aspnet_wp.exe's memory consumption increases slowly but surely, leading to process restart eventually and then again recollecting memory etc etc
9
425
by: Anton | last post by:
{Willy Skjveland} Hi, how can I trace a Memory leak in aspnet_wp.exe? {Rheena} One moment please while I search it for you. It may take me a few moments {Willy Skjveland} I need to find out which application and which dll and asmx page that cause the problem. {Rheena} May I know what operating system you are using?
2
2183
by: Rishan | last post by:
Hi, I'm trying to debug a memory leak on a production application for one of my clients. The aspnet_wp.exe, if left to grow, will eventually consume enough memory to throw an out of memory exception. The thing that was unexpected is that most of the memory is not in the heap. The current usage stats are: total memory consumption of aspnet_wp.exe: 400MB
1
1097
by: ruca | last post by:
Hi gurus, Can anyone tell me please when I really must setup the value of memory that aspnet_wp or w3wp must use in IIS server machine? What I mean is that we have clients that have diferent specificatiosn in their server machines that have IIS to runnning WebApplications. This can change for example in RAM memory that is available. One have 1GB, other 2GB and another 4GB. I.e., how can I know when I must change any configuration in...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10228
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.