Inquiries about the difference between "ctrlMaxBlockedPending" and "ctrlMaxPending" and "maxConnectMessageSize"

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
BongBongV
Posts:16
Joined: Thu Sep 24, 2020 10:41 am

Inquiries about the difference between "ctrlMaxBlockedPending" and "ctrlMaxPending" and "maxConnectMessageSize"

Post by BongBongV »

I read the manual, but I don't understand the difference between these three settings.


ctrlMaxPendings is an entry that defines the maximum number of messages that can be in the waiting queue for processing, and when the number is exceeded, it seems to empty the waiting queue and display an error message.

maxConnectMessageSize is an entry that defines the maximum number of dpConnect* functions (for example, dpConnectUserData()) available for the project, and it seems that you should set it to zero if you want to use them without limitation.


Am I right to understand?

So what is ctrlMaxBlockedPendings about? Does it mean that if the message deleted due to the limitation of ctrlMaxPending is within the number of ctrlMaxPending, it will be processed later?


I would appreciate it if you could explain the above three entry with examples.


Thank you for your kind and detailed reply.

dbindernagel
Posts:161
Joined: Mon Feb 23, 2015 1:34 pm

Re: Inquiries about the difference between "ctrlMaxBlockedPending" and "ctrlMaxPending" and "maxConnectMessageSize"

Post by dbindernagel »

ctrlMaxBlockedPendings
Defines how many pending runs (unprocesses hotlinks) may be pending for a blocked query. Every row in all hotlinks is counted, not only the number of hotlinks. For unblocked queries the upper limit is defined with ctrlMaxPendings.
The dpQueryConnect[Single/All] functions have a parameter blockingtime/delay. In the help these are explained.
https://www.winccoa.com/documentation/W ... ingle.html
https://www.winccoa.com/documentation/W ... ctAll.html

BongBongV
Posts:16
Joined: Thu Sep 24, 2020 10:41 am

Re: Inquiries about the difference between "ctrlMaxBlockedPending" and "ctrlMaxPending" and "maxConnectMessageSize"

Post by BongBongV »

Thank you for your reply.

I read about the item "ctrlMaxBlockedPendings" you answered in the manual.

However, I don't understand the content at all, so I need a specific example.

Why do I set the value for the entry "ctrlMaxBlockedPendings"?
What happens if the value defined in this entry is exceeded?

And if you exceed the set value of the "ctrlMaxPending" entry, all messages in the waiting queue are deleted and all messages in the waiting queue are no longer processed. Is it correct?

Is it correct that "maxConnectMessageSize" will no longer run the dpConnect* function on the project if it exceeds the defined value that defines the maximum value of the dpConnect* function (for example, dpConnectUserData()) available on the project?


I look forward to your reply.
Thank you.

3 posts • Page 1 of 1