我打电话时,我遇到并行工作人员挂起的问题
myCluster <- makeForkCluster(slots, outfile="outfile.log")
这个问题间歇性地发生并且很难重现,但是当它确实发生时我会在outfile.log中得到这个:
starting worker pid=39158 on localhost:11767 at 08:19:48.716
Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,
cannot open the connection
Calls: makeForkCluster -> newForkNode -> socketConnection
如果我在htop中查看pid,我看到它一无所获,只是坐在那里。我该如何诊断?