nixlists wrote:
The idea is to limit memory such that running out of RAM+swap is not
possible, or unlikely. You can set the limit on the allowed number of
processes as well.
I do use ulimit / login.conf for some processes, but does anybody really
use it for *all possible* processes on each production machine?
Including the necessary research into what could be the max. memory they
*might* need in a spike situation?
I honestly doubt that...
So I think the "safe option" is so far to have enough physical RAM for
the usual workload (based on an estimate), and then add a generous swap
space for the worst cases.
Does this sound practical? Or am I running into other issues with a 20GB
swap?
regards,
Robert