Link to home
Start Free TrialLog in
Avatar of creditpointe
creditpointe

asked on

W3wp.exe high cpu utilization

Hello,

We are having a asp.net application. We have deployed the application in IIS 7.0 on Windows server2008. The problem is that after 5-6 request if we check the memory utilization of the w3wp.exe, it shows almost 100% memory utilization. Because of which the server becomes slow.And nothing can be done. We have to kill the w3wp.exe process and then only the memory gets free.
Even after logging off the memory is not getting freed. And w3wp.exe retains the amount of memory allocated to it.
We have created separate application pool for our application but still the problem exists. Would you please help me out.

Thanks & Reagrds,

Tushar
Avatar of Vikas Shah
Vikas Shah
Flag of India image

Hey creditpointe,

Use Log Parser to find the cause of it.. you can run the below mentioned command.

"C:\> logparser "select top 10 cs-uri-stem, time-taken from  ex071105.log group by cs-uri-stem order by time-taken desc" -q:on"

Or

Installed the application called IISpeek. This will help you to narrow down the issue.

Regards,

Vikas Shah

I downloaded IISPeek and the next time we saw the CPU max out, we were able to find the problem page instantly.
Avatar of creditpointe
creditpointe

ASKER

Hello shahvikas/monstermark,

Thanks for reply. We have tried both the thing which we explained. But unable to find anything fruitful. Still we are having the same problem. We had done changes in our code in order to free as much as memory we can but still facing the same problem. Would you please let us know how would we check the memory utilisation by w3wp.exe from going to 100%.

Thanks in advance.
Please refer to the below mentioned article. This may help:
http://support.microsoft.com/kb/916984
Please let me know the status.
Regards,
 
Thanks shahvikas for your reply.
We are using IIS 7 and windows server 2008. The microsoft article which you are mentioning is about the hotfix for IIS 6.0 and windows server 2003.
Is there any such hotfix for windows server 2008.

Regards,
As such there are no Hotfixes for the same when it comes to the IIS7.0.

The issue still exists or it is sorted out now.

Please let us know the current status for the same.

Regards,

Vikas
Thanks shahvikas,

for your response. The issue is still exists and we trying everything that we can do. We have done memory profiling of our application for any memory leaks and implemented the suggestions. But still unable to resolve the issue.

If you have anything more on it please let us know...

Thanks once again..

Regards,
ASKER CERTIFIED SOLUTION
Avatar of ToddHack
ToddHack

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial