2015-01-16 14:36 GMT+08:00 Bernhard Voelker <mail@bernhard-voelker.de>:
On 01/16/2015 03:41 AM, Andrea Turrini wrote: I've never worked with cgoups, so I'd use good old ulimit to restrict memory usage. For time restrictions, I recommend the timeout(1) program from the coreutils package:
The problem of ulimit is that it limits the virtual memory, not the resident one, and the variability of the ratio virtual/resident memory makes it difficult to find the right value to use with "ulimit -v" so to have the resident memory limited to 8Gb. For the time, I also use timeout. Best, Andrea
$ info '(coreutils) timeout invocation'
Have a nice day, Berny
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org