How to limit puma memory usage and CPU usage

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.

+4
source share
1 answer

For the CPU, you can try wrapping your workers inside https://github.com/opsengine/cpulimit .

0
source

All Articles