I have an ASP.NET app that is running at around 60MB for the w3wp.exe. This
often jumps very quickly to 100/120 MB before shrinking again. It is also
using around 250MB of virtual memory.
Is it normal for the memory usage to jump around so much? Also the server
is a PIII 730 with 256MB RAM, running Windows 2003 Server.
I would appreciate information form other developers memory usage.
TIA
MattC 3 3356
the size of your asp.net worker process will depend on the memory usage of
all the asp.net apps its hosting. if you use inproc sessions, it can get
very big. check the event log to see if your are getting asp.net recycles
due to memory usage. you will have to do analysis to see if you are leaking
resources if you think the usage is high for your app.
there is no magic number that says what it should be. the default max for
asp.net is 60% of real memory. on my production servers we keep a lot of
data in memory (and no inproc sessions), and run around 700mb. we do memory
dumps of the asp.net worker process (see the win32 debugger and sos.dll) and
look for unexpected memeory usage in manged and unmanged memory.
-- bruce (sqlwork.com)
"MattC" <m@m.com> wrote in message
news:uD******** ******@TK2MSFTN GP15.phx.gbl...
| I have an ASP.NET app that is running at around 60MB for the w3wp.exe.
This
| often jumps very quickly to 100/120 MB before shrinking again. It is also
| using around 250MB of virtual memory.
|
| Is it normal for the memory usage to jump around so much? Also the server
| is a PIII 730 with 256MB RAM, running Windows 2003 Server.
|
| I would appreciate information form other developers memory usage.
|
| TIA
|
| MattC
|
|
Bruce,
Thanks for your response. The server spec is PIII 730 with 256MB RAM,
running Windows 2003 Server, SQL Server 2000. There is only one ASP.NET
application that accesses the DB on the same server.
Would you say that this server is a bit under powered for what it is being
asked to do? The problem is by the end of the day the process is using a
lot of VM and so has to constantly page data in and out of memory/disk.
Could you eloborate more on how to produce these 'dumps' (sounds awful this
time of the morning!). We have no unmanaged code. The entire app is C#
with SQLClient to connect to SQL Server.
TIA
MattC
"bruce barker" <no***********@ safeco.com> wrote in message
news:O6******** ******@tk2msftn gp13.phx.gbl... the size of your asp.net worker process will depend on the memory usage of all the asp.net apps its hosting. if you use inproc sessions, it can get very big. check the event log to see if your are getting asp.net recycles due to memory usage. you will have to do analysis to see if you are leaking resources if you think the usage is high for your app.
there is no magic number that says what it should be. the default max for asp.net is 60% of real memory. on my production servers we keep a lot of data in memory (and no inproc sessions), and run around 700mb. we do memory dumps of the asp.net worker process (see the win32 debugger and sos.dll) and look for unexpected memeory usage in manged and unmanged memory.
-- bruce (sqlwork.com)
"MattC" <m@m.com> wrote in message news:uD******** ******@TK2MSFTN GP15.phx.gbl... | I have an ASP.NET app that is running at around 60MB for the w3wp.exe. This | often jumps very quickly to 100/120 MB before shrinking again. It is also | using around 250MB of virtual memory. | | Is it normal for the memory usage to jump around so much? Also the server | is a PIII 730 with 256MB RAM, running Windows 2003 Server. | | I would appreciate information form other developers memory usage. | | TIA | | MattC | |
its only underpowered if it can not handle your load with the performance
you want. you have to decide that. if you are paging, then more memory will
stop paging, but the question is, does it matter? is the site fast enough?
if you download the win32 sdk kit it has a win32 debugger. the sos.dll is
the support for mamaged code. it will allow walking the heap, and looking at
both managed and unmanged code. docs are sparse and playing with it is the
best.
-- bruce (sqlwork.com)
"MattC" <m@m.com> wrote in message
news:Oe******** ******@TK2MSFTN GP12.phx.gbl...
| Bruce,
|
| Thanks for your response. The server spec is PIII 730 with 256MB RAM,
| running Windows 2003 Server, SQL Server 2000. There is only one ASP.NET
| application that accesses the DB on the same server.
|
| Would you say that this server is a bit under powered for what it is being
| asked to do? The problem is by the end of the day the process is using a
| lot of VM and so has to constantly page data in and out of memory/disk.
|
| Could you eloborate more on how to produce these 'dumps' (sounds awful
this
| time of the morning!). We have no unmanaged code. The entire app is C#
| with SQLClient to connect to SQL Server.
|
| TIA
|
| MattC
|
| "bruce barker" <no***********@ safeco.com> wrote in message
| news:O6******** ******@tk2msftn gp13.phx.gbl...
| > the size of your asp.net worker process will depend on the memory usage
of
| > all the asp.net apps its hosting. if you use inproc sessions, it can get
| > very big. check the event log to see if your are getting asp.net
recycles
| > due to memory usage. you will have to do analysis to see if you are
| > leaking
| > resources if you think the usage is high for your app.
| >
| > there is no magic number that says what it should be. the default max
for
| > asp.net is 60% of real memory. on my production servers we keep a lot of
| > data in memory (and no inproc sessions), and run around 700mb. we do
| > memory
| > dumps of the asp.net worker process (see the win32 debugger and sos.dll)
| > and
| > look for unexpected memeory usage in manged and unmanged memory.
| >
| > -- bruce (sqlwork.com)
| >
| > "MattC" <m@m.com> wrote in message
| > news:uD******** ******@TK2MSFTN GP15.phx.gbl...
| > | I have an ASP.NET app that is running at around 60MB for the w3wp.exe.
| > This
| > | often jumps very quickly to 100/120 MB before shrinking again. It is
| > also
| > | using around 250MB of virtual memory.
| > |
| > | Is it normal for the memory usage to jump around so much? Also the
| > server
| > | is a PIII 730 with 256MB RAM, running Windows 2003 Server.
| > |
| > | I would appreciate information form other developers memory usage.
| > |
| > | TIA
| > |
| > | MattC
| > |
| > |
| >
| >
|
| This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Louis |
last post by:
Hi All,
I'm using w2k3 and IIS6, is it true that when I start
the .net web application, there will be a process
w3wp.exe? As my application is using asp.net, but when I
start the web site, there is no w3wp.exe in task
manager. And a process that related to this web
application always stop suddenly. Could anyone help?
Thank you.
|
by: Helge |
last post by:
On our server the w3wp process is "pagefaulting" all the time, but none of
the other processes (and there are some) behave that way.
Page fault delta in TaskMgr shows up to 15000 with normal refresh speed for
w3wp.exe.
Mem usage is 110MB, VM size is 90MB.
Commit charge is about 2GB, physical memory is 4GB, so it's not logical (to
me) why is has to do all this paging.
It seems to make the server perform quite poorly at times.
|
by: Gaël |
last post by:
Hi everybody!
I have a really big problem with ASP.NET application. I noticed that the
w3wp.exe memory size, increase with the time and the use of my website. When
it raise a certain value, w3wp crashes and restart just after. My
application is on a WebServer2003.
So I have to resolve 2 problem :
-Why the memory size of the w3wp increase non stop.
- Why the w3wp crashes (in the case where there is no link between those
|
by: ALI-R |
last post by:
I'd like to debug my asp.net application ,,but I can't find
W3wp.exe in the list of system process to attach it to the debugger???
Is there someboddy who can help me.
Thanks
Ali
|
by: Ricky Chan |
last post by:
I am using windows 2003.
I have unchecked all options in IIS6 application pool,
so I assume no worker process recycling will be performed whether any event
occured.
what will be happened when w3wp.exe used memory exceed physical memory.
outofmemory throw and then recycle?
| |
by: AN |
last post by:
Greetings,
We make an ASP.NET web application and we host it for our customers. We
have provisioned hardware and hope to be able to service around 200
customers on this hardware. The web servers are in a stateless farm and
have 2 GB of RAM. We are using ASP.NET 1.1 when using a dedicated
application pool for each virtual directory. Each customer gets their own
virtual directory and copy of the ASP.NET dll in their bin folder, which...
|
by: ToadLurker |
last post by:
Usually, to debug my .NET dll, I typically just run my web application
until the DLL in question is invoked - at which point I can just
attach to it via Visual Studio .Net, and debug it. Two weeks ago I ran
into a problem where Visual Studio would fail to recognize that the
NET code is even associated to the IIS process - w3wp.exe. I have
checked with Process Explorer, and the .NET DLL is correctly
associated to the w3wp process - yet...
|
by: Anand Saha |
last post by:
Machine: 32 bit Intel Xeon 2.93 GHz, 16 CPUs, 32 GB RAM
OS: Windows Server 2003 R2 Ent Edition, SP2
Web Server: IIS 6
ASP.NET ver: 2.0
I made a simple ASP.NET application, with only this code in the
Page_Load, to
simulate a condition where huge memory is utilized by the app:
int i = 0;
|
by: =?Utf-8?B?U2Vhbg==?= |
last post by:
I have two win2003 sp1 servers running iis 6.0 running the same application.
When I connected to the first server a W3WP process (application pool is
created) whoose size is approax 14MB When I connect to the other machine the
size is approx 114MB. Does anyone have any idea what the extra 100 MB is
being used for
One Thing to note .NEt 1.1 was installed on the server consuming the 100MB.
I have removed the extension and uninstalkled the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |