gexijin / RTutor

Chat with your data via AI. https://RTutor.ai
https://RTutor.ai
Other
306 stars 51 forks source link

Server will become non-responsive, freeze up #82

Closed gexijin closed 6 months ago

gexijin commented 1 year ago

Perhaps it is becomes load balancer and worker(docker container with Shiny server) are in the same server with only 4 cores. There are 30 shiny containers as workers. It is likely 4 of them are at 100% running. Nginx won't be able to get CPU to handline traffic.

Temp. solution:

  1. Increase cores to 8.
  2. Decrease # of containers to 10.
gexijin commented 6 months ago

The scaling issues has been solved.