问题
I have a Shiny-app
hosted in Ubuntu, attached is the current snapshot of processes running
As you see a significant chunk of memory is being consumed by something called SockJSAdapter
which is related to Shiny-server. I have noticed that this process starts when I run my App in Browser and it keeps running even after I close that App in Browser.
Can someone shed more light what this process is, and why it keeps running even after I close the App? Do I need to do something in my Shiny-app (ui.R or server.R)
so that this process will be killed just the moment user closes the App?
Shiny-server version I am using:
apt-cache showpkg shiny-server
Package: shiny-server
Versions:
1.5.6.875 (/var/lib/dpkg/status)
Description Language:
File: /var/lib/dpkg/status
MD5: 5692122708280493808d4d49f42a0475
Reverse Depends:
Dependencies:
1.5.6.875 - libc6 (2 2.7) r-base (2 2.15.1)
Provides:
1.5.6.875 -
Reverse Provides:
Thanks for any pointer.
来源:https://stackoverflow.com/questions/52701661/what-is-sockjsadapter-and-why-it-is-running-endlessly