More than 9 DICOM SCP Receivers

97 views
Skip to first unread message

Roy Spoolder

unread,
Feb 15, 2022, 5:51:27 AM2/15/22
to xnat_discussion
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: Screenshot 2022-02-15 110031.png

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

Moore, Charlie

unread,
Feb 15, 2022, 10:41:38 AM2/15/22
to xnat_di...@googlegroups.com
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 *

--
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.

Herrick, Rick

unread,
Feb 15, 2022, 11:36:42 AM2/15/22
to xnat_di...@googlegroups.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_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.

Roy Spoolder

unread,
Feb 16, 2022, 5:23:22 AM2/16/22
to xnat_discussion
Hi Rick and Charlie, 

Thank you for your answers. I am happy to see that you also could indentify the problem and is not just us. 
It is possible for us to reduce our receivers, so it is not a very big issue for us at the moment. The only thing was to find out that this issue was causing the problem that our user experienced with the compressed uploader. It costed me a lot of time to identify this issue because of the lack of logs or other messages. Maybe it is an idea to add a note to the documantation or something like that.

It is good to see that the problem is now registered as a bug and will be fixed in future versions.

Thank you for the validation and workaround that you both provided.

Roy

Op dinsdag 15 februari 2022 om 17:36:42 UTC+1 schreef Rick Herrick:

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.

 


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.

Reply all
Reply to author
Forward
0 new messages