I deployed a RShiny app in EKS via Amazon Web Services. It has its own load balancer so anybody with the link can access it. About every 2 days or so, the link to the app times out. I checked the CPU utilization through AWS’s Cloud Watch service and this is what I found:
Shiny App CPU Usage
The rshiny app is the red line. The usage steadily climbs until it goes over its limit, which explains why I can’t access the app every couple days. The only solution I have for now is to delete the pod running the shiny app and have EKS recreate it (indicated by the sudden drop in CPU usage). The app is used maybe a couple times throughout the day. Any suggestions for why this might be happening?