What is SockJSAdapter and why it is running endlessly

纵饮孤独 提交于 2019-12-24 04:23:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!