Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1656
  • Last Modified:

IISCHAgent.ini settings for IIS Crash/Hang Agent

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
MarsMug
Asked:
MarsMug
  • 4
  • 2
1 Solution
 
MarsMugAuthor Commented:
Increased points
0
 
Dave_DietzCommented:
Uncomment ActionCommand and MaxActions.
Set MaxActions to a non-zero value - 10 is good.

Should help.  :-)

Dave Dietz
0
 
MarsMugAuthor Commented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Dave_DietzCommented:
What permissions are set on the IISCHAgent.ini file?
0
 
MarsMugAuthor Commented:
Full control for SYSTEM and Admins
0
 
MarsMugAuthor Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now