473,756 Members | 3,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

High Memory Usage aspnet_wp.exe

Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory profiler
to find out what is causing the problem but couldn't come to a result. I've
noticed that their is a patch for this type of cause on Microsoft's web site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil
Nov 30 '05 #1
7 5514
Hi,

If you go to the processModel in your machine.config file (default
location>C:\WIN DOWS\Microsoft. NET\Framework\v 1.1.4322\CONFIG ) it has a
setting...

<processModel enable="true" timeout="Infini te" idleTimeout="In finite"
shutdownTimeout ="0:00:05" requestLimit="I nfinite" requestQueueLim it="5000"
restartQueueLim it="10" memoryLimit="60 " webGarden="fals e"
cpuMask="0xffff ffff" userName="Syste m" password="AutoG enerate"
logLevel="Error s" clientConnected Check="0:00:05"
comAuthenticati onLevel="Connec t" comImpersonatio nLevel="Imperso nate"
responseDeadloc kInterval="00:0 3:00" maxWorkerThread s="20" maxIoThreads="2 0"/>

Now, the memoryLimit = 60 signifies the percentage of memory which could be
reached before a process recycles. There could be some memory leak that is
happening in your application. Just ensure that you have debug="true" in your
web.config file for all the applications and see if that helps.

Thanks,
Rahul Soni

"Erkan Tatlidil" wrote:
Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory profiler
to find out what is causing the problem but couldn't come to a result. I've
noticed that their is a patch for this type of cause on Microsoft's web site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil

Nov 30 '05 #2
Erkan,

I've noticed this issue also. I'd read article on 4guysfromrolla. com about
..Net Framework not GC issues. Now, I explicitly close all
objects/connections opened and then set them to nothing. Just closing
connection is not enough.Also, try forcing GC after certain interval. In
Win2003 you can configure settings on application pool to automatically
restart aspnet_wp. On W2k only way is either restart W3 services or force
GC.

HTH

"Erkan Tatlidil" <Erkan Ta******@discus sions.microsoft .com> wrote in message
news:49******** *************** ***********@mic rosoft.com...
Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory
profiler
to find out what is causing the problem but couldn't come to a result.
I've
noticed that their is a patch for this type of cause on Microsoft's web
site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil

Nov 30 '05 #3
Hi,

Just wanted to add that, I was wrong about the debug="true"... You should
have it as debug="false" in all your web.config files.

Sorry for that mistake.
Nov 30 '05 #4
Hi Nilesh,

I agree partially to you, but forcing GC is never a good idea. There are
multiple issue around that and moreover, without knowing the applications, it
would be rather difficult to say that the issue is being caused by the GC not
getting kicked in.

http://msdn.microsoft.com/msdnmag/is...I/default.aspx
http://msdn.microsoft.com/msdnmag/is...2/default.aspx
http://msdn.microsoft.com/library/de...etgcbasics.asp

--
Thanks,
Rahul Soni

^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^
The secret to creativity is knowing how to hide your sources
^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^
"Nilesh Deshpande" wrote:
Erkan,

I've noticed this issue also. I'd read article on 4guysfromrolla. com about
..Net Framework not GC issues. Now, I explicitly close all
objects/connections opened and then set them to nothing. Just closing
connection is not enough.Also, try forcing GC after certain interval. In
Win2003 you can configure settings on application pool to automatically
restart aspnet_wp. On W2k only way is either restart W3 services or force
GC.

HTH

"Erkan Tatlidil" <Erkan Ta******@discus sions.microsoft .com> wrote in message
news:49******** *************** ***********@mic rosoft.com...
Hi,

Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory
profiler
to find out what is causing the problem but couldn't come to a result.
I've
noticed that their is a patch for this type of cause on Microsoft's web
site
but no download.

The framework is 1.1.4322

Cheers

Erkan Tatlidil


Nov 30 '05 #5
Thanks for the info. Even though I force the GC and set all objects to
nothing the aspnet_wp.net process still continues to grow in the memory.

We are planing to upgrade the box to a w2k3 server this saturday. I'll see
how we go and let you know about the results.

Cheers

Erkan

"Rahul Soni" wrote:
Hi,

Just wanted to add that, I was wrong about the debug="true"... You should
have it as debug="false" in all your web.config files.

Sorry for that mistake.

Nov 30 '05 #6
Hi Stan,

We use datasets but not on all pages. The max dataset is 4 which is used
only on one page.

Cheers

Erkan

"Spam Catcher" wrote:
"=?Utf-8?B?RXJrYW4gVGF 0bGlkaWw=?=" <Erkan
Ta******@discus sions.microsoft .com> wrote in
news:49******** *************** ***********@mic rosoft.com:
Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory
profiler to find out what is causing the problem but couldn't come to
a result. I've noticed that their is a patch for this type of cause on
Microsoft's web site but no download.


Are you using a lot of datasets? Datasets gobble memory if the result set
is large.

--
Stan Kee (sp**********@r ogers.com)

Dec 1 '05 #7
Hi Stan,

Select * will be a crazy thing to do hehehe.

Anyway last night we uninstalled .net framework 1.1.4 SP 1 and reinstalled
it today we noticed that once the memory usage goes up to 800 mb the GC kicks
in and recycles it. So all day it was in a stable condition.

Cheers

Erkan

"Spam Catcher" wrote:
"=?Utf-8?B?RXJrYW4gVGF 0bGlkaWw=?="
<Er***********@ discussions.mic rosoft.com> wrote in
news:0D******** *************** ***********@mic rosoft.com:
Hi Stan,

We use datasets but not on all pages. The max dataset is 4 which is
used only on one page.


Check and see if those datasets are doing a SELECT * FROM TABLE : )

--
Stan Kee (sp**********@r ogers.com)

Dec 1 '05 #8

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

Similar topics

3
5784
by: ianstirkcv | last post by:
Hello, I wonder if you can please help… We are running a web application built using .net framework version 1.0, service pack 2, running on Windows 2000 server, service pack 3. The server has 1 gigabytes of RAM. We are using Perfmon to monitor memory usage of aspnet_wp.exe, CPU usage, and % time in the Garbage Collector.
7
7172
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
1384
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...
4
1932
by: djc | last post by:
the aspnet_wp.exe process in taking up lots of memory. Right now just the one main page loads and imediately goes to the top of the memory usage list with around 32MB of memory usage. The page only contains 1 datagrid that IS using default paging and sorting capabilities. I am using 2 viewstate variables to keep track of field and direction info for sorting so that the columns sort asc then desc on second click etc... As far as the data for...
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...
16
2390
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. Example: After about 5 hours with a concurrent user base of about 150 users the application raises the aspnet_wp memory usage by almost 500MB. If our server guys modify the web.config this data is released and the workerprocess goes back to a...
2
1255
by: DKode | last post by:
Ok, I restart the aspnet_wp.exe, memory usage is at about 3 mb, the first time I run one of my asp.net apps, the memory usage shoots to 30 mb usage and remains there. Even if I close the IE window that I am running my app in, the memory is not freed up. Is this normal? I am imagining that the GC never cleans out the memory that aspnet_wp is using. Thank you
0
9456
marktang
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...
0
9273
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
10032
Oralloy
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...
0
8712
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...
1
7244
isladogs
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...
0
6534
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
5141
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...
1
3805
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
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.