jupyterhub / jupyter-rsession-proxy

Jupyter extensions for running an RStudio rsession proxy
BSD 3-Clause "New" or "Revised" License
118 stars 87 forks source link

Daemonized rserver started #44

Closed yuvipanda closed 5 years ago

yuvipanda commented 5 years ago

When running rstudio through this, I actually see two processes:

yuvipan+ 16079  0.1  0.0 164716 11012 pts/0    Sl+  13:47   0:00          |                       \_ rserver --www-port=58107
rstudio+  7595  0.0  0.0  99584  7484 ?        Ssl  13:10   0:00 /usr/lib/rstudio-server/bin/rserver

One is rserver --www-port=58107, which is a child of my notebook, running as me. Other is a daemonized process running as rstudio user.

The process that's actually serving the requests is the second, daemonized process:

sudo lsof -i | grep 58107
rserver   16079       yuvipanda    6u  IPv4 2569599      0t0  TCP *:58107 (LISTEN)

We should force rserver to not deamonize.

yuvipanda commented 5 years ago

Fixed with switch to rsession in #45