?
Solved

Monitor IIS Application

Posted on 2014-02-13
2
Medium Priority
?
303 Views
Last Modified: 2014-02-25
We use a ticketing system called HEAT. All of a sudden we are having issues with the self-service. To get it going again we have to restart the w3svc service. There is an application in the virtual direction called Heat Self Service. At random moments we are unable to access the heat self service console. This system has been running fine the last four years, now all of a sudden it is acting funny. We have to restart the w3svc service. I noticed in the log that was an error relating to unable to impersonate anonymous........Doing some digging I found some website mentioning w3wp.exe. Running c:\windows\system32\cscript iisapp.vbs yielded no results. Does that mean that w3wp is not running? If so, and I get change management to turn it on, will I possibly find why the application might have stopped working? I sense the self service goes down because it is losing connection to the database server. There is no dedicated service for the self service. The vendor is not offering much help with the application. By the way, the server is 2003 running IIS 6. I have not found a clear explanation what the w3wp does. From what I gather it tracks request. But does it log error that may tell why it possibly stopped working?
0
Comment
Question by:xzay1967
[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
2 Comments
 
LVL 13

Accepted Solution

by:
SagiEDoc earned 2000 total points
ID: 39858259
w3wp is the web service worker pool. In IIS you can configure settings that will recycle (basically flush and restart) the worker process. You can do this flush when the process hits a memory threshold or when when a certain amount of time has elapsed. I found on one of my sites I go the best results flushing the process when it reached 900mb. You will find the settings in the properties for the website on the web server.

Another thing you may want to look into is the database, have you been gathering stats and rebuilding the indexes regularly? This can have a massive performance impact on the database if it has not been done, in turn this will impact the application performance and could well result in the application having a database connection timeout.
0
 

Author Comment

by:xzay1967
ID: 39858786
Thanks for the response, while I will definitely take your advise, I still would like to have some method of finding out why the error. Now in terms of the database, I am not sql savvy, but will discuss with our DBA, As mentioned in my initial post, when I checked to see what applications belonged to the pool (c:\windows\system32\cscript iisapp.vbs ), it returned no results. I am concerned that the w3wp may not be running. I looked in task manager and did not see any PID for it. Am I wrong to then assume it is in fact not running? What tool can I use to monitor the application to try and nail down the cause for the error? Other than the basic task of w3wp, can it also log possible reasons for the error (unable to impersonate anonymous........or whatever other reason there maybe for the self-service going down? Like I said this system has been running for over four years. IIS is currently running in isolation mode, so I am unable to look at the pools. I would need change management to approve turning it off isolation mode. However, if doing that just so I can configure w3wp won't get  me any closer to a solution, then there is no need for me to go that route. I welcome any other advice.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

764 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