Summary: | job can't be cancelled | ||
---|---|---|---|
Product: | Orthanc | Reporter: | Sébastien Jodogne <s.jodogne> |
Component: | Orthanc Core | Assignee: | Sébastien Jodogne <s.jodogne> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | --- | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All |
Description
Sébastien Jodogne
2020-06-29 15:16:32 CEST
[BitBucket user: Sébastien Jodogne] [BitBucket date: 2020-02-19.14:19:54] The job can’t be canceled by Orthanc as long as the DICOM association between Orthanc and your PACS is not released. It is up to the PACS to avoid keeping the C-MOVE association up while not answering. You could give a try setting “DicomScuTimeout” to a smaller value \(but different from 0 as this corresponds to infinite timeout\). [BitBucket user: Sylvain Rouquette] [BitBucket date: 2020-02-27.05:53:46] DicomScuTimeout and DicomScpTimeout were the default values \(10 and 30\) according to this page: https://osimis.atlassian.net/wiki/spaces/OKB/pages/26738689/How+to+use+osimis+orthanc+Docker+images The association was kept for 24h. Is it a message the PACS should send? Or is it an active TCP connection? The problem is that Orthanc is stuck in this state, even after restarting, since the JobsLimit is 2 by default, Orthanc can’t continue working and we can’t unstuck it by cancelling jobs. The problem was fixed for me because it was a problem on the PACS side and they fixed it, but this seems to be a rare case, kinda hard to reproduce, and Orthanc doesn’t work properly if this happens. [BitBucket user: Sébastien Jodogne] [BitBucket date: 2020-02-27.09:24:25] Small note about this sentence: _“The problem is that Orthanc is stuck in this state, even after restarting, since the JobsLimit is 2 by default, Orthanc can’t continue working and we can’t unstuck it by cancelling jobs.”_ => You can start Orthanc with the `--no-jobs` command-line flags in order to prevent it from reloading jobs from its previous execution. [BitBucket user: Sébastien Jodogne] [BitBucket date: 2020-02-27.10:26:05] Fix issue #167 (Job can't be cancelled - Handling of timeouts after established association) → https://hg.orthanc-server.com/orthanc/changeset/58f92b1c8061 |