Hello @pzkor,
If you are on AP 4.5.1/KE 4.5.1, then the KS version is probably 4.14.1.
There is an issue that originally came up in defect SRV-3352 in KS 4.11.5 when Call Workflow Node is used.
Overflowing the max message size used to close the communications channel for the specific user, requiring a server restart to resolve it.
This was fixed in KS 4.11.6/KS 4.12.2, adding in configuration options as we discussed to allow the max message size to be reconfigured if needed to allow larger messages.
However, there is a sub-request designated AP-16381, requesting adjustment to the Call workflow nodes to allow multi-part messages, which would then allow the messages to be split up into smaller chunks and not require increasing the message size limit as much. This request has not yet been completed, and I don’t know where it stands on the roadmap for future completion.
So the configuration of max message size is the current workaround. To do this, Two files need to be changed.
Server - catalina.properties - Located under the apached-tomcat_9.0.XX/conf directory
Append these two lines to the end of the file:
qpid.max_message_size=204800000
com.knime.enterprise.max-message-size=204800000
Executor - knime.ini - Located in the executor directory, with the knime.exe.
Append this line to the bottom of the file:
-Dcom.knime.enterprise.max-message-size=204800000
This will allow message queue size of ~200mb, and the server and executor will allow messages of that size. You can configure the max-message-size to be larger than 200mb, if needed. I believe the absolute limit is 512mb, but I would probably try 128mb for your use-case, and see if anything tries to go larger than that. If there are messages that do manage to exceed whatever the configured max-message-size is, an error will be thrown, similar to what you already saw originally.
Performance may be impacted for the larger messages, but should not negatively impact anything else with smaller message sizes, meaning your average workflow use-cases should not be affected much, if at all. It’s just the ones sending larger messages that you will see some impact.
Please let me know if this fails to resolve your issue.
Regards,
Nickolaus