Re: [opensuse] Limiting memory usage via cgroups
You forgot to email to the list. On 2015-01-19 11:59, Andrea Turrini wrote:
2015-01-18 21:35 GMT+08:00 Carlos E. R. <>:
On 2015-01-16 09:11, Andrea Turrini wrote:
The problem of ulimit is that it limits the virtual memory, not the resident one,
Not true. ulimit is a bash internal command, so man ulimit explains it:
-m The maximum resident set size (many systems do not honor this limit)
The practical result is that it has no effect on the resident memory. And anyway I don't think that ulimit permits to limit the actual used memory.
I don't know (or remember) if "-m" works or not, but the option exists. I use "-v" to catch some applications prone to runaway (kbabel). -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (1)
-
Carlos E. R.