Rstudio服务器的全新会议 [英] Fresh new session for rstudio-server
问题描述
我正在虚拟化的(vmware-player)ubuntu机器上运行rstudio-server,并将大量数据处理到ram中.我发现在一些不活动状态之后,会话会挂起数据.问题是恢复会话需要很长时间,这使主机和虚拟机都非常滞后.
I am running rstudio-server on a virtualised (vmware-player) ubuntu machine, and processing lots of data into the ram. I find that after some inactivity that the session suspends the data. The problem is that it takes a VERY long time to resume this session and it is making both the host machine and virtual machine lag very badly.
我只是想终止该会话并开始一个新的rstudio-server会话,但是到目前为止,我发现这样做的唯一方法是reisub
我的ubuntu机器.有谁知道更好的解决方案?
I just want to kill the session and start a new fresh session of rstudio-server, but so far the only way I have found which does this is to reisub
my ubuntu machine. Does anyone know a better solution?
请注意,我认为应按照此处在/etc/rstudio/rsession.conf
中输入session-timeout-minutes=0
解决会话暂停的问题.
As a side note, I think entering session-timeout-minutes=0
in /etc/rstudio/rsession.conf
as per here should fix the problem of the session suspending.
推荐答案
我发现此页面,该页面用于重置rstudio-desktop版本.在主目录中,我找到了文件夹~/.rstudio
.我重命名/删除了此文件夹,这将加载一个新的rstudio-server实例.
I found this page, which deals with resetting the rstudio-desktop version. In my home directory, I found the folder ~/.rstudio
. I renamed/deleted this folder and this loads a new rstudio-server instance.
实际上,在~/.rstudio
文件夹中有一个名为suspended session
的文件夹,我怀疑这是存储暂停数据的东西,因此删除该文件夹就足够了吗?
In fact, there is a folder called suspended session
in the ~/.rstudio
folder, which I suspect is the thing where suspended data is stored, so maybe deleting this folder is sufficient?
这篇关于Rstudio服务器的全新会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!