I am running RStudio Server version 0.98.978 with R 3.0.2. on an Ubuntu 14 server. Yesterday I executed a command that caused the session to freeze. Since then, every time I try to load that user profile and that user profile only, the browser hangs. I generally get an error message saying the browser has become unresponsive (regardless of whether I use Chrome or IE ).
Simple commands like R.Version() take several minutes to complete. I have tried rebooting the server and killing all processes related to the RStudio account in question. So far nothing has resolved the problem. My searches have only brought up solutions to fix the problem on Windows. What else can I try to fix this problem?
You might want to do a ps -u user
where user
is the user whose session is hanging in the browser, and kill the rsession related to it.
I had the same issue and was about to give up and delete my user when almost serendipitiously, I couldn't delete it due to an ongoing processes tied to my user. I did a ps -u jp_smasher
where jp_smasher
is my user name and found an offending rsession
.
[root]# ps -u jp_smasher
PID TTY TIME CMD
39774 ? 00:00:00 sshd
39776 pts/0 00:00:00 bash
39888 ? 00:00:00 sshd
39889 pts/1 00:00:00 bash
39999 pts/0 00:02:24 R
54230 ? 00:00:00 sshd
54231 pts/3 00:00:00 bash
54372 ? 00:00:11 rsession
54503 ? 00:00:00 sshd
54504 ? 00:00:00 sftp-server
69992 ? 00:00:00 sshd
69993 pts/4 00:00:00 bash
[root]# kill 54372
Killing the process doesn't solve the main problem (which could be some memory-hogging process etc), but it does resolve the symptom of the hanging browser.