Solved

IISCHAgent.ini settings for IIS Crash/Hang Agent

Posted on 2004-09-03
6
1,641 Views
Last Modified: 2010-08-05
I've been having some odd problems with ASP on our IIS5 servers farm, so I decided to install the IIS Debug tools from Microsoft, and use the IIS Crash/Hang agent.
I can install it, set it up as a filter, and I can see the service start in the event log.  But however I change the settings file (IISCHAgent.ini) to, the settings listed in the event log on restart stay the same:

IISCrashHangAgent Settings:
Crash agent only is enabled.
Debug level: 0.

Crash agent settings:
LogLocation: \\?\C:\IISDebugTools\logs\.
MaxLogFiles: 10.



The following is in my IISCHAgent.ini file:

[CrashAgent]
Enable=0
LogLocation=c:\iisdebugtools\logs
MaxLogFiles=15
;PreActionCommand=

[HangAgent]
Enable=1
LogLocation=c:\iisdebugtools\logs
MaxLogFiles=10
WriteLog=1
RequestTimeLimit=20
;ActionCommand=iisdump.exe
;MaxActionsAllowed=0

[Global]
DebugLevel=3


(I've tried it with and without the Global section).  All I want is for the hang logging to work so I can pick up some info on what's going on when ASP hangs.  I've tried it out with an infinitely looping ASP script and I get nothing - the Event Log would suggest that it's not picking up the settings from  the ini file.

Any ideas?
0
Comment
Question by:MarsMug
  • 4
  • 2
6 Comments
 

Author Comment

by:MarsMug
ID: 11972647
Increased points
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 11976246
Uncomment ActionCommand and MaxActions.
Set MaxActions to a non-zero value - 10 is good.

Should help.  :-)

Dave Dietz
0
 

Author Comment

by:MarsMug
ID: 11976288
I have no need for the ActionCommand to fire - I just want to get the log of the last 50 requests that the HangAgent can provide.
0
Technology Partners: 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 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 11976856
What permissions are set on the IISCHAgent.ini file?
0
 

Author Comment

by:MarsMug
ID: 11988041
Full control for SYSTEM and Admins
0
 

Author Comment

by:MarsMug
ID: 11988290
Agh.  I can't believe I can be so stupid.  I just switched the IISDebug folder so that Everyone has full control on it... hey presto, it works now.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange Activesync 441 in logs 2 125
website went down 6 70
IIS URL Rewrite - 301 on pages that no longer exist 6 56
Web site error 3 50
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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