Solved

How to release Memory when w3wp process taking lots of memory

Posted on 2009-07-14
14
1,443 Views
Last Modified: 2012-05-07
I have a server configuration intel xeon 2.4 quad core , 32 GB ram,

and on the server CRM application is running on that server,
my problem is that ,

W3wp process taking lots of memory utilized . it starts 3 GB to 31 GB,

Kindly help me out .
Process-crm-prod.xls
0
Comment
Question by:vicky1982
  • 9
  • 5
14 Comments
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24850011
1 use a garden for worker processes. Here is a link to configure that http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx?mfr=true

Second sounds like your application has a memory leak. This is something that you will have to debug within the application code. As a temporary fix to stop it from crashing the system you can recycle your worker processes every so often or when it consumes a certain amount of memory. In the mean time Use DebugDiag to get more detailed information on what is causing the problem to hand off to your development team or vendor of the application
http://support.microsoft.com/kb/919791/
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24850025
Just saw your attachment. Looks like you are already running debugdiag. Have you caught a crash yet? If so post that log
0
 

Author Comment

by:vicky1982
ID: 24856803
no, nothing found,

i did webgarden process 1 to 16 but can't find any output of memory leakeage
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24859039
there is no reason for a worker process to be consuming 30GB of RAM. Your app has a memory leak for sure. Catch the next time it crashes and post the debugdiag log for us to review
0
 

Author Comment

by:vicky1982
ID: 24862000
I have test and observe that w3wp.exe process are 20 instances running and each instances taking memory 500 mb and its continously increasing not realease the memory.

My application is running CRM and database is SQL ,

SQl taking only 500 MB memory,

any suugestion
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24862479
limit the number of instances of the worker process just at 500mb that is 10GB being consumed. And then send us the logs from debugdiag for review. I need to see whats happening in order to tell you how to fix it. I can't just imagine what the problem is and give you a fix
0
 

Author Comment

by:vicky1982
ID: 24896882
I have tried to first IIS admin server Stop then its realease onle 6 GB Memory out of 32 GB, after that I down the Sql Database after down the database memory came to 2 GB Used and 30 Gb free,

what this its mean is there any issue with database or problem with my CRM Application.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24897053
before turning off SQL how much memory was being consumed? Can you take a screenshot of the processes running when you have 30+GB of memory being used? If its SQL consuming all the RAM then you need to do some performance tuning on SQL. Here is a link that gives basic background from microsoft on that.http://support.microsoft.com/kb/321363
0
 

Author Comment

by:vicky1982
ID: 24902708
before Turning off the Sql it take is taking 26 gb out of 32 GB after turning off the sql server service it come to 2GB.

performance-rep.JPG
0
 

Author Comment

by:vicky1982
ID: 24902713
there is one more screenshot of Process
0
 

Author Comment

by:vicky1982
ID: 24902722
process screenshot
process.JPG
0
 

Accepted Solution

by:
vicky1982 earned 0 total points
ID: 25256817
I have resolved the High Memory Utilization Issue ,

Actually in Server there is Sql Server database is running, in database there is Two Instances Created, both Instances have max memory set Unlimited, after setting the Max memory to 5 GB each instances , its cames to its normal postion, now its taking only 7 to 8 GB memory .
0
 

Author Comment

by:vicky1982
ID: 25256828
No There is no objection
0
 

Author Comment

by:vicky1982
ID: 25256832
for resolving this I have done Windows Latest Security Patch , OS kernel, Crm Application UR 5 (Update rollup)

Lastly i Did max memory set in Sql.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now