AdminServer restart using NodeManager after multiple crashes
Issue: NodeManager does not restrict the number of restarts of AdminServer after crashes
I have the following configuration:
- NodeManager starts up as a service
- AdminServer and Managed Server are registered with the NodeManager
- They are both started using NM (via nmStart)
If I kill my Managed Server, NM automatically restarts it and I can see the following for a "Max Restarts Within Interval=2". This is what is expected.
- <Server failed so attempting to restart (restart count = 1)>
- <Server failed so attempting to restart (restart count = 2)>
- <Server failed but will not be restarted because the maximum number of restart attempts has been exceeded>