'Disconnected from the server.' in shinyapps, How can I set server memory?

1,399 views
Skip to first unread message

unmin baek

unread,
Aug 28, 2016, 12:35:36 PM8/28/16
to shinyapps.io Users
Hello, I deployed my Shiny code to shinyapps.io successful.
My data has little much rows (over 190,000), these data's can display in my local PC but shinyapps cannot with 'Disconnected from the server.'

So I get Basic-plan and set memory size is xxxlarge and config some other settings.

But my apps shut-down with 'Disconnected from the server.' continue..

How can I set my server setting?

Please help me, and sorry my bad English.


Here is server log,

2016-08-24T05:34:08.539162+00:00 shinyapps[121340]: Server version: 0.4.5.2170
2016-08-24T05:34:08.539194+00:00 shinyapps[121340]: R version: 3.3.0
2016-08-24T05:34:08.539201+00:00 shinyapps[121340]: shiny version: 0.13.2
2016-08-24T05:34:08.539203+00:00 shinyapps[121340]: rmarkdown version: NA
2016-08-24T05:34:08.539204+00:00 shinyapps[121340]: knitr version: NA
2016-08-24T05:34:08.539212+00:00 shinyapps[121340]: RJSONIO version: NA
2016-08-24T05:34:08.539204+00:00 shinyapps[121340]: jsonlite version: 0.9.19
2016-08-24T05:34:08.539212+00:00 shinyapps[121340]: htmltools version: 0.3.5
2016-08-24T05:34:08.754267+00:00 shinyapps[121340]: Using jsonlite for JSON processing
2016-08-24T05:34:08.758255+00:00 shinyapps[121340]: 
2016-08-24T05:34:08.758256+00:00 shinyapps[121340]: Starting R with process ID: '17'
2016-08-24T05:34:08.964272+00:00 shinyapps[121340]: Loading required package: gsubfn
2016-08-24T05:34:08.970689+00:00 shinyapps[121340]: Loading required package: proto
2016-08-24T05:34:09.000933+00:00 shinyapps[121340]: Warning: no DISPLAY variable so Tk is not available
2016-08-24T05:34:09.011202+00:00 shinyapps[121340]: Loading required package: RSQLite
2016-08-24T05:34:09.016999+00:00 shinyapps[121340]: Loading required package: DBI
2016-08-24T05:34:10.597571+00:00 shinyapps[121340]: Loading required package: tcltk
2016-08-24T05:34:12.215392+00:00 shinyapps[121340]: 
2016-08-24T05:34:12.215396+00:00 shinyapps[121340]: Listening on http://0.0.0.0:60468

Joshua Spiewak

unread,
Aug 29, 2016, 5:18:19 PM8/29/16
to shinyapps.io Users
Configuring application settings is covered in the user guide. There is also a troubleshooting section which might be helpful.

Is that your full log? If you look at your application in the dashboard, you should be able to see how much memory it is consuming.

You will not be able to use tcltk as there is no display available on shinyapps.io.

unmin baek

unread,
Sep 1, 2016, 4:07:15 AM9/1/16
to shinyapps.io Users
Thank you for your reply.

I think that is my full log. That log comes from my app in the dashbord.

I cannot find memory consuming..

and I tried set my app setting with user guide, and troubleshooting, but I failed.. ioi


dashboard.PNG

unmin baek

unread,
Sep 1, 2016, 4:09:19 AM9/1/16
to shinyapps.io Users

Joshua Spiewak

unread,
Sep 1, 2016, 10:00:44 AM9/1/16
to shinyapps.io Users
If you select the metrics tab in the dashboard, instead of logs, you will be able to see memory consumption.
From what I see, your application peak usage is about 130 MB, which should not result in an out of memory situation.
I was only disconnected from the server after a period of idleness.

That said, when viewing the app, I briefly saw some control widgets, and then a map rendered on the bottom half of the screen, while the top half was blank.

unmin baek

unread,
Sep 5, 2016, 4:24:38 AM9/5/16
to shinyapps.io Users
Now I know It's not out of memory problem. Thanks you!
But disconnected still continue,,, orz,,
Here is my app's setting, would you recommend how can I set up ?
setting_0905.PNG

Tareef Kawaf

unread,
Sep 6, 2016, 8:30:53 AM9/6/16
to unmin baek, shinyapps.io Users
Unmin,
Have you checked to see if you have any javascript errors being thrown.

This section in the user guide may be of help.  If you are loading a lot of data at the application start, you may want to extend the timeout if you aren't seeing any errors in any logs.

Hope this helps

--
You received this message because you are subscribed to the Google Groups "shinyapps.io Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/4690c790-e68a-4a1a-85e6-1f583bf6431f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

unmin baek

unread,
Sep 7, 2016, 12:21:28 AM9/7/16
to shinyapps.io Users, unm...@naver.com
I really thank for your reply !

I found some warning and error messages in javascript console.

I don't know what is problem exactly yet, anyway thanks.


error_0907.PNG
Reply all
Reply to author
Forward
0 new messages