Solved

Monitor IIS Application

Posted on 2014-02-13
2
295 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
2 Comments
 
LVL 13

Accepted Solution

by:
SagiEDoc earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

12 Experts available now in Live!

Get 1:1 Help Now