Ektron Windows Service Automatic Restart Settings

  • Updated

Below are the steps needed to enable Ektron Windows Service restarts.

 Important: You must be on 9.2SP2 Service Update 1 or higher to enable this feature.

 Settings are located in the Ektron Windows Service config file.

"<Drive>:\Program Files (x86)\Ektron\EktronWindowsService40\Ektron.ASM.EktronServices40.exe.config"

<add key="RestartEnabled" value="1" />
<!-- Valid values are TimeBound|FrequencyBound -->
<add key="RestartMechanism" value="TimeBound" />
<!-- Time Boundary cannot be less than 1 hour. If so, it will default to 1 hour -->
<add key="RestartTimeBoundaryStart" value="03:00 PM" />
<add key="RestartTimeBoundaryEnd" value="04:00 PM" />
<!-- Time frequency cannot be less than 1 hour. If so, it will default to 1 hour -->
<add key="RestartFrequencyHours" value="8" />

 

RestartEnabled controls whether the service will be restarted on a schedule

RestartMechanism controls whether the restart happens at a specific time, or once every n hours

RestartTimeBoundaryStart and End control when the service will restart if the mechanism is set to TimeBound. The service will restart some time during the period specified.

RestartFrequencyHours control when the service will restart if the mechanism is set to FrequencyBound. Effectively, this sets a timer that fires that number of hours after the service starts which will restart the service again. The service will restart sometime within an hour of the frequency specified.