
|
* External Email - Caution * |
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
I think Charlie’s solution is the best approach in the short term. I believe the root cause is that the core pool size for the async executor service is 10, meaning there are 10 threads available for async operations on start-up. XNAT starts up a new DICOM SCP instance for every different port that has one or more receivers configured (a single DICOM SCP instance can handle multiple receivers but only on one port) and each instance uses a thread to run in the background. The compressed upload page also uses async operations for the actual image import operation, so if the thread pool is starved it will just sit there.
That means that, since running multiple DICOM receivers on a single port only takes a single thread, you shouldn’t run into this problem.
The big question is why the thread pool isn’t expanding to accommodate the need for more threads. The max pool size is set to 2,048 by default, so it should just add more threads when it runs out of threads in the core pool. But someone will figure that out when they fix the issue!
--
Rick Herrick
XNAT Architect/Developer
Computational Imaging Laboratory
Washington University School of Medicine
From:
xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Moore, Charlie <moo...@wustl.edu>
Date: Tuesday, February 15, 2022 at 9:41 AM
To: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com>
Subject: Re: [XNAT Discussion] More than 9 DICOM SCP Receivers
|
* External Email - Caution * |
Hi Roy,
This is quite strange, but yes I see this behavior too. I've reported it as an issue here: https://issues.xnat.org/browse/XNAT-7024 . As a workaround, this issue doesn't seem to happen if you reuse the same port for the different receivers.
Thanks,
Charlie
From: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Roy Spoolder <spool...@gmail.com>
Sent: Tuesday, February 15, 2022 4:51 AM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] More than 9 DICOM SCP Receivers
|
* External Email - Caution * |
Goodmorning,
Does anybody knows if it is possible to have more than 9 DICOM SCP Receivers?
I've configured 10 receivers, but when I enable the 10th (or more then that), the Compressed Uploader stops working.
If I enable the 10th receiver, this message will appear after trying to upload some data trough the compressed uploader: 
If I disable the 10th receiver everything works fine. I can't find any warning or error logs on the machine reffering to the warning message above.
Is it possible at all to enable more then 9 DICOM Receivers? Or is it a bug that the Compressed Uploader stops wroking when you enable more then 9 receivers?
Thank you in advance.
Roy Spoolder
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/209ff32e-d4fa-4a3c-8148-4445eb7678b9n%40googlegroups.com.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/CH2PR02MB67104B50F50DB7EFD3FACE14FE349%40CH2PR02MB6710.namprd02.prod.outlook.com.
I think Charlie’s solution is the best approach in the short term. I believe the root cause is that the core pool size for the async executor service is 10, meaning there are 10 threads available for async operations on start-up. XNAT starts up a new DICOM SCP instance for every different port that has one or more receivers configured (a single DICOM SCP instance can handle multiple receivers but only on one port) and each instance uses a thread to run in the background. The compressed upload page also uses async operations for the actual image import operation, so if the thread pool is starved it will just sit there.
That means that, since running multiple DICOM receivers on a single port only takes a single thread, you shouldn’t run into this problem.
The big question is why the thread pool isn’t expanding to accommodate the need for more threads. The max pool size is set to 2,048 by default, so it should just add more threads when it runs out of threads in the core pool. But someone will figure that out when they fix the issue!
--
Rick Herrick
XNAT Architect/Developer
Computational Imaging Laboratory
Washington University School of Medicine
From: xnat_discussion@googlegroups.com <xnat_discussion@googlegroups.com> on behalf of Moore, Charlie <moo...@wustl.edu>
Date: Tuesday, February 15, 2022 at 9:41 AM
To: xnat_discussion@googlegroups.com <xnat_discussion@googlegroups.com>
Subject: Re: [XNAT Discussion] More than 9 DICOM SCP Receivers
* External Email - Caution *
Hi Roy,
This is quite strange, but yes I see this behavior too. I've reported it as an issue here: https://issues.xnat.org/browse/XNAT-7024 . As a workaround, this issue doesn't seem to happen if you reuse the same port for the different receivers.
Thanks,
Charlie
From: xnat_discussion@googlegroups.com <xnat_discussion@googlegroups.com> on behalf of Roy Spoolder <spool...@gmail.com>
Sent: Tuesday, February 15, 2022 4:51 AM
To: xnat_discussion <xnat_discussion@googlegroups.com>
Subject: [XNAT Discussion] More than 9 DICOM SCP Receivers
* External Email - Caution *
Goodmorning,
Does anybody knows if it is possible to have more than 9 DICOM SCP Receivers?
I've configured 10 receivers, but when I enable the 10th (or more then that), the Compressed Uploader stops working.
If I enable the 10th receiver, this message will appear after trying to upload some data trough the compressed uploader:
If I disable the 10th receiver everything works fine. I can't find any warning or error logs on the machine reffering to the warning message above.
Is it possible at all to enable more then 9 DICOM Receivers? Or is it a bug that the Compressed Uploader stops wroking when you enable more then 9 receivers?
Thank you in advance.
Roy Spoolder
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/209ff32e-d4fa-4a3c-8148-4445eb7678b9n%40googlegroups.com.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.