?
Solved

How to release Memory when w3wp process taking lots of memory

Posted on 2009-07-14
14
Medium Priority
?
1,530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

649 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