IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 11th, 2010, 03:37 AM
Testrup Testrup is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 1 Testrup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 4 sec
Reputation Power: 0
W3wp-processes is consuming an extreme amount of memory

Hello IIS experts,

I have a Windows Server 2003 Web Edition with SP2 running mutiple sites (shared hosting). The memory usage for all the w3wp.exe processes is overloading the server and the pagefile indeed. I have configured automatic recycling ("Recycle worker processes (in minutes)" is set to 3600), but it does not seem to work.

As new members cant post links/URLS in new posts, please insert a . instead of DOT in all my screenshot-links.

This is a screenshot of the current processes sorted by memory usage:
testrupDOTcom/taskman1.PNG

Screenshot of the performance tab:
testrupDOTcom/taskman2.PNG

So i need to match PID with the corresponding Application Pool to monitor which AppPools that are killing my server.

I've tried the following:
1) Use cscript iisapp.vbs to get a list of all the Worker processes.
Result: "Could not create an instance of the CmdLib object.
Please register the Microsoft.CmdLib component."
Screenshot:
testrupDOTcom/cmd.PNG

So the CmdLib needs to be registered:

2) I ran the "C:\WINDOWS\system32>regsvr32 cmdlib.wsc" command.
Result: Succeeded! (yeah right..)
Screenshot: testrupDOTcom/cmdlib.PNG

3) Ran the cscript iisapp.vbs again, but i get the same CmdLib error again.

Now i'm stuck! Is there any other way to register the cmdlib? Or maybe use a third party program to match PID with Application Pool?

I have even tried to use procmon.exe and excluded all other processes than w3wp.exe, but with no usable result.

Any ideas, guys? Of course the iisreset-command will kill all the w3wp-processes but that is not supposed to be the final solution. Most of all, because the w3wp-processes is consuming a lot of memory very quickly again.

Thank you very much in advance.

Best regards and thanks on advance,
Simon Testrup

Reply With Quote
  #2  
Old November 16th, 2010, 10:23 AM
mikesowerbutts mikesowerbutts is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 4 mikesowerbutts User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m 59 sec
Reputation Power: 0
Hi,

It sounds like you have a memory leak - or atleast i think thats what I have too as the symptoms are v similar. Instead of using cscript, if you can, stop all the app pools apart from the one running the problematic code, then there will be only 1 w3wp.exe running, so no need to ID which one by the Task Manager PID! I know its not really a solution, but i couldnt get cscript to run locally (but it would on the win 2k3 server w/ IIS 5 and I have Vista and IIS 6) but it did work...

Mike

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > W3wp-processes is consuming an extreme amount of memory

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap