Description Usage Arguments See Also
The rmSessions
function is used to delete task queues that
weren't properly destroyed. A task queue is created by the
startWorkers
function, and is deleted by the stopWorkers
function. If stopWorkers
isn't called, then the interprocess
communication (IPC) resources used to implement the task queue will
still exist after the R session is finished. This is known as a
resource leak, and can become a problem. The leaked resources should be
cleaned up after the machine is rebooted, but this function allows the
resources from a previous R session to be deleted without needing to
reboot the machine.
Usually, you know you need to call rmSessions
when you get a
warning message from startWorkers
saying that there are other
worker groups. This could be due to multiple concurrent doSMP sessions
(which could lead to lower performance), or it could be because
stopWorkers
wasn't called at the end of a session.
1 | rmSessions(qnames=NULL, all.names=FALSE)
|
qnames |
vector of queue names to delete. Legal values are: doSMP1, doSMP2, doSMP3, doSMP4, doSMP5, doSMP6, doSMP7, doSMP8. |
all.names |
a logical value. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.