2015-07-15 8 views
9

Contesto: Sto eseguendo server lucido su una scatola RHEL 5 e continua a bloccarsi in modo non riproducibile. Sembra che node.js ha qualcosa a che fare con l'errore ..Arresto anomalo del server

L'errore è la seguente:

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

Il registro da /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) 

Session informazioni

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  

problema simile: https://groups.google.com/forum/#!topic/shiny-discuss/V5cv0f7Gmtk

Qualsiasi aiuto sarebbe molto apprezzato! Nel peggiore dei casi inserirò un cron job che monitora il servizio e lo avvierà in caso di errore ..

risposta

5

Sembra che mi sia un po 'affrettato a piazzare una taglia su questa domanda.

La risposta era nel collegamento che Peter aveva pubblicato.

La versione 1.3.0.403 del server lucido presentava un bug che non funzionava bene con pacchetti come DT. L'aggiornamento ad atleast versione 1.4.0.721 dovrebbe essere sufficiente per risolvere il problema.