I get an error during the execution of a workflow with a python script node (for sklearn’s Isolation forest) in the server. This script node is inside a loop, and the first 16 iterations work perfectly, so I suppose it isn’t a library python problem or a workflow problem.
Python Script (1⇒1) 0:440:0:867:798 - ERROR: Execute failed: unable to create new native thread
Python Learner 0:440:0:867:832 - ERROR: Execute failed: unable to create new native thread
This sounds like the executor is running out of resources (memory or number of threads/processes). If you can get ahold of the executor’s log there may be more information about the potential resource issue.
Great, thanks for your help. I will come back with some additional info asap I could get a log server file.
This is what I could find:
10-Jun-2019 11:57:48.153 WARNING [KNIME-RMI-syserr-50101] com.knime.enterprise.server.executor.rmi.ProcessOutputConsumer.logOutput ERROR KNIME-Worker-12 Node Execute failed: unable to create new native thread
No additional info I guess.
There is more information in the executor’s log file. The server log only contains minimum error information from the executor.
We are just in contact with Roland by email. I will come back here when we have any conclusion.