[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-09-19.07:22:14]
Joe Mesterhazy has reported a deadlock while anonymizing large studies:
https://groups.google.com/forum/#!topic/orthanc-users/QDBpI2Ptit0
The issue is that the "StableSeries" callback is invoked while the previous "StableStudy" that triggered the anonymization is still running, which causes deadlock as the Lua scripting engine of Orthanc is protected by a mutex.
The fix would consist in introducing a shared message queue (FIFO) to store events and delay their actual processing.
As a temporary workaround, increase the "StableAge" configuration of Orthanc to a higher value (e.g. "180" seconds). |