Skip to content

This script documents the number of established connections to an ArcGIS Server machine's internal Tomcat. This script has to be run on the machine of interest (it does not work remotely).

License

Notifications You must be signed in to change notification settings

EsriPS/documentTomcatEstablishedConnectionCount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

documentTomcatEstablishedConnectionCount

This script documents the number of established connections to an ArcGIS Server machine's internal Tomcat.
This script has to be run on the machine of interest (it does not work remotely).

Edit the "sleepSeconds" to establish how often the established connections will be counted (60 second default) The script will run in an infinite loop, writing the counts to the file you configure with the "establishedConnectionLogFile" variable If the count exceeds the "establishedConnectionThresholdForDetail" value, it will write a second file following the pattern established in the "localPort6443DetailPatternLogFile" variable to give you more detail.

Run this PowerShell script via Windows Task Scheduler. Set the Trigger to begin the task at startup. Allow the task to be run on demand.
Then, manually start the task. It will run until the machine restarts; at which point it will re-start when the machine comes up again. Stop the task when it is no longer needed. While the output does not use much space, you should not let this script run forever because it has no "clean-up" logic ... it will keep accumulating output until there is no more space on your system. So, use this for troubleshooting. And, when the trouble has been resolved, or this information is no longer useful, stop and disable or delete the task.

This is an Esri PS offering and not supported software, please use at your own risk.

About

This script documents the number of established connections to an ArcGIS Server machine's internal Tomcat. This script has to be run on the machine of interest (it does not work remotely).

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published