Version:
Not specific to any Domino version
Issue:
R model API using the future package fails with limited error logging.
Root Cause:
Check your build and instance logs from the model API. If the build is successful then check instance logging for errors similar to the following:
Apr 03 2023 14:39:07 +0200 <FutureError: MultisessionFuture (<none>) failed to call grmall() on cluster RichSOCKnode #2 (PID 89 on localhost ‘localhost’). The reason reported was ‘error writing to connection’. Post-mortem diagnostic: A process with this PID exists, which suggests that the localhost worker is still alive. The total size of the 2 globals exported is 368 bytes. There are two globals: ‘.Domino.kPostHook’ (232 bytes of class ‘character’) and ‘.Domino.kModelVersion’ (136 bytes of class ‘character’)>
Resolution:
If your model build succeeds, then generally the problem will be related to your code or to resources. Resources is the easiest to fix and when the error above has been seen in the instance logging it has been associated with insufficient resources given to the model. Try to increase the size of the resource quota given to your model:
https://docs.dominodatalab.com/en/latest/admin_guide/67740c/create-model-resource-quotas/
The error noted above has also occurred when using an incompatible version of R, check your versions if additional resource do not help.
Notes/Information:
The future package is not published or maintained by Domino.
Comments
0 comments
Please sign in to leave a comment.