Issue38

Title Limit the number of automatic restarts by the Windows service
Priority wish Status resolved
Superseder Nosy List admin
Assigned To
Keywords Orthanc Core

Created on 2017-03-17.17:47:21 by admin, last changed by admin.

Messages
msg170 (view) Author: admin Date: 2017-03-17.17:47:21
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-03-17.16:47:21]

The Windows service for Orthanc automatically restarts the server when it crashes. If the configuration file is broken, Orthanc immediately crashes and is restarted. After each restart, a new logfile is generated, which can spoil the Windows filesystem.

The solution would be to stop the service if Orthanc has to be restarted, say, more than 3 times over one minute.

Original discussion: https://groups.google.com/d/msg/orthanc-users/UaTMUuWHcwE/6-LfY9PkAAAJ
msg171 (view) Author: admin Date: 2017-05-20.11:45:32
[BitBucket user: Alain Mazy]
[BitBucket date: 2017-05-20.09:45:32]

I have implemented a limit of 5 restarts.  Each restart is delayed by an incrementing delay (1 2 3 4 5 seconds).
This will be available in the next release (code name 17.5.0)
msg172 (view) Author: admin Date: 2017-06-29.16:20:12
[BitBucket user: Alain Mazy]
[BitBucket date: 2017-06-29.14:20:12]

this has been released in the version 17.6.1 that is now available for download on orthanc-server.com
History
Date User Action Args
2026-07-29 15:51:19admincreate