Specific user session hanging on RStudio server

dbm.phd's Avatar

dbm.phd

02 Aug, 2011 07:27 PM

Hi,
I'm using the latest dev .95.52 release of RStudio server on a 64-bit Ubuntu 10.04 LTR machine.

I had my R session go wacky on me yesterday (locked up) and now when I try to log in (via chrome on a W7 machine) RStudio does not produce my session. I get the error message: 'The RStudio server is taking a long time to respond. It is possible that your R session has become unresponsive. Do you want to terminate the currently running R session?'

I cannot terminate the session from the web interface - at least nothing happens.

Logging into a new test user session works fine. Looking at the processes from system monitor I see that when I try to log in to RStudio Server a new rsession starts and gets really big >4 Gig. I can see the PID of the session under my username with the RStudio server facilities, but cannot access it. I think my session has gotten corrupted.

If I kill the rsession process when I try to log in again my session still locks up. I have rebooted the server, stopped and restarted RStudio Server, reinstalled..

How can I reset my user session to a fresh one, or diagnose what the problem is?

Best,
Brent

  1. 2 Posted by dbm.phd on 02 Aug, 2011 08:54 PM

    dbm.phd's Avatar

    Okay,

    I fixed this by renaming my /home/.rstudio folder then restarting rstudio server and logged in to get a new clean user session.

    Brent

  2. dbm.phd closed this discussion on 02 Aug, 2011 09:08 PM.

  3. dbm.phd re-opened this discussion on 02 Aug, 2011 09:16 PM

  4. 3 Posted by dbm.phd on 02 Aug, 2011 09:22 PM

    dbm.phd's Avatar

    FYI,

    Of course when my session got fried I had not saved some extensive edits to a specific script. Renaming the .rstudio folder gave me a new session, but naturally the edits were not there.

    I found that by copying the old .rstudio/source_database folder to the new rstudio profile I could retrieve these edits...promptly saved...

    Might be useful for someone else,
    Brent

  5. dbm.phd closed this discussion on 02 Aug, 2011 09:22 PM.

  6. JJ Allaire re-opened this discussion on 02 Aug, 2011 10:10 PM

  7. Support Staff 4 Posted by JJ Allaire on 02 Aug, 2011 10:10 PM

    JJ Allaire's Avatar

    Hi Brent,

    Glad you got through this, we have it on our list to create a "safe mode" where you can launch a clean session and then optionally recover the pieces of it which might have caused R to take a long time to load.

    J.J.

  8. Josh Paulson closed this discussion on 04 Aug, 2011 04:49 PM.

Comments are currently closed for this discussion. You can start a new one.