As a header, is it possible to limit the maximum memory usage of puma and CPU usage?
Since my EC2 server runs a lot of rail applications
I need to limit every application resource. To avoid some applications spend too much resources.
For the CPU, you can try wrapping your workers inside https://github.com/opsengine/cpulimit .