闪亮的服务器崩溃

时间:2015-07-15 20:07:33

标签: r node.js shiny shiny-server rstudio-server

背景: 我在RHEL 5机箱上运行闪亮服务器,它以不可重现的方式不断崩溃。看起来像node.js与错误有关..

错误如下:

 Error: write EIO
    at errnoException (net.js:901:11)
    at Object.afterWrite (net.js:718:19)

来自/var/log/shiny-server.log的日志

[2015-07-15 17:28:20.982] [INFO] shiny-server - ^[[39mShiny Server v1.4.0.718 (Node.js v0.10.21)
            ^[[32m[2015-07-15 17:28:20.984] [INFO] shiny-server - ^[[39mUsing pidfile /foplocal/app/shiny-server/shiny-server.pid
            ^[[32m[2015-07-15 17:28:20.985] [INFO] shiny-server - ^[[39mUsing config file "/etc/shiny-server/shiny-server.conf"
            ^[[32m[2015-07-15 17:28:21.039] [INFO] shiny-server - ^[[39mStarting listener on 0.0.0.0:3838
            ^[[31m[2015-07-15 20:17:50.196] [ERROR] shiny-server - ^[[39mUncaught exception: Error: write EIO
            ^[[31m[2015-07-15 20:17:50.197] [ERROR] shiny-server - ^[[39mError: write EIO
                at errnoException (net.js:901:11)
                at Object.afterWrite (net.js:718:19)
            ^[[32m[2015-07-15 20:17:50.198] [INFO] shiny-server - ^[[39mStopping listener on 0.0.0.0:3838
            ^[[32m[2015-07-15 20:17:50.198] [INFO] shiny-server - ^[[39mShutting down worker processes (with notification)

会话信息

R version 3.2.1 (2015-06-18)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
[1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8       LC_MESSAGES=en_US.UTF-8   
[7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

类似问题:https://groups.google.com/forum/#!topic/shiny-discuss/V5cv0f7Gmtk

非常感谢任何帮助!最糟糕的情况是,我会安排一个监控服务的cron工作,并在失败时启动它。

1 个答案:

答案 0 :(得分:5)

看起来我有点急于在这个问题上获得赏金。

答案在彼得发布的链接中。

闪亮的服务器版本1.3.0.403有一个错误,与DT等软件包不兼容。升级到至少版本1.4.0.721应该足以解决问题。