batch error with knime 5.5

Hello,

since update to knime 5.5 I have problems with using batch to execute workflows. provious version the problem did not appear, no changes since then.

When knime is open an the batch starts, knime fully crashes. if knime is closed and the batch starts ther a huge java error.

Does somebody has same problem or knows an answer how to avoid this error.
Executing the workflow manually is working fine.

regards and thanks!

1 Like

Hi @twahl,

sorry to hear you are facing unexpected problems with the batch mode. Can you share the actual error or knime logs please?

I can also encourage you to read the awesome article from @mlauber71 about the batch mode. Maybe something undocumented changed with 5.5 (I sincerely hope not!)

PS: Moving to Feedback & Ideas

Best
Mike

2 Likes

Hi @twahl and welcome back to the forum.

If it helps, you are not the only one experiencing this problem - see below.

2 Likes

Hello all and thanks for response to this topic.
Also thanks for the link to the article, very interesting!

Since a couple of days the workflow works but only with closed KNIME. No idea what could case this, no update since then. But when Knime is started it still crashes and workflow is not executed.
I checked the log. There is no error when the batch executes. The last 2 messages are:
KNIMECorePlugin : : : Setting KNIME max thread count to 32
KNIMECorePlugin : : : Setting KNIME temp dir to …

Hope with some future updates It will be fixed.

regards,
tobias

You can only run one instance of KNIME at a time. So if you are using KNIME and Batch at the same time it will fail.

Thank you for this information.
Was this always the case or comming with update 5.5?
Is it not also possible to start KNIME twice with different workspaces?

This is from the article:

Another note: KNIME Batch in general is not suitable for large parallel processes. Each batch will need its own KNIME instance and you should not try to use the same installation in parallel. You could try and setup several installations with their own knime-workspaces but be advised that you are in hackey territory.

ok thanks for the help.