We have installed open source shiny server on a machine with 31 gigs of total available RAM and about 26 gigs usable after accounting for some overhead. A shiny app with a very small footprint sits on that server that can only be accessed from within a secure intranet. The app allows users to upload data and then perform various analyses on the data once uploaded. The app itself is only code and does not load any data.
We are now doing a load test to make sure the app can handle simultaneous users interacting with the app on the server. When users head over to the URL and use the app with small data files, we experience no usage problems.
However, when one user heads to the URL and uploads a large file, it prevents all other users from accessing the URL (it times out). This occurs even though memory usage on the unix machine is only hitting about 10%.
After a week of tuning memory issues (e.g., oom-killer) on the server, this issue continues and we are now at a point of not understanding why this occurs and what additional diagnostics or resolutions to apply.
Can anyone advise?