背景: RHEL 5 ボックスでshiny-server を実行していますが、再現性のない方法でクラッシュし続けます。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 ジョブを配置します..