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
Solved

IISCHAgent.ini settings for IIS Crash/Hang Agent

Posted on 2004-09-03
6
1,636 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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