2017-10-06 80 views
0

有誰知道如何在shinyserver.log錯誤:廢棄位置ID太大

[33m[2017-10-05 21:38:28.591] [WARN] shiny-server - ESC[39mError handling message: Error: Robust protocol error: Expected CONTINUE message 
ESC[33m[2017-10-05 21:39:35.380] [WARN] shiny-server - ESC[39mError handling message: Error: Robust protocol error: Expected CONTINUE message 
ESC[33m[2017-10-05 21:42:00.858] [WARN] shiny-server - ESC[39mError handling message: Error: Discard position id too big 
ESC[33m[2017-10-05 21:42:12.854] [WARN] shiny-server - ESC[39mError handling message: Error: Discard position id too big 
ESC[33m[2017-10-05 22:07:44.000] [WARN] shiny-server - ESC[39mError handling message: Error: Discard position id too big 
ESC[33m[2017-10-05 22:07:44.846] [WARN] shiny-server - ESC[39mError handling message: Error: Discard position id too big 
ESC[33m[2017-10-05 22:08:14.373] [WARN] shiny-server - ESC[39mError handling message: Error: Discard position id too big 
ESC[33m[2017-10-05 22:08:16.561] [WARN] shiny-server - ESC[39mError handling message: Error: Discard position id too big 

解決以下錯誤,我相信這是關係到應用不斷地從服務器

+0

已經有類似的報道 https://groups.google.com/forum/#!topic/shiny-discuss/ q6eyj_6hPJw –

+0

我不認爲這兩個項目是相關的 – theGreatKatzul

+1

那麼這似乎是某種套接字錯誤。嘗試重新啓動實例(服務器)或添加更多內存,以便它可以正常通信,因爲它看起來像停止響應請求 –

回答

0

斷開這還沒有完全緩解了這個問題,但它的幫助非常大。我將這些數值分別從60和5分別移至360和1800。

3.3 Application Timeouts

Each Shiny Application has two timeouts associated with it:


app_init_timeout -- Describes the amount of time (in seconds) to wait for an application to start. After the specified number of seconds has elapsed, if the R process still has not become responsive, it will be deemed an unsuccessful startup and the connection will be closed. The default value for app_init_timeout is 60 seconds.


app_idle_timeout -- Defines the amount of time (in seconds) an R process with no active connections should remain open. After the last connection disconnects from an R process, this timer will start and, after the specified number of seconds, if no new connections have been created, the R process will be killed. The default value for app_idle_timeout is 5 seconds. Typically, these two parameters will be correlated. Shiny Applications that involve little processing to start (therefore have a small app_init_timeout) can often be closed with minimal concern (and thus would have a small app_idle_timeout). Conversely, applications that require a substantial amount of data to be loaded on startup may merit a longer app_init_timeout to give the data time to load, and a longer app_idle_timeout as the task of spawning a new process is more expensive and should be minimized.