Hello,

We're running the Oct2012-SP1 release on Ubuntu 12.04.1.  It's working great, but we need to constrain its RAM usage because it's not the only process running on its machine.

From the mailing list archives, it looks like ulimit is the recommended way of doing this, but we haven't been able to get it to do what we want.

Specifically, we've tried:

ulimit -Sm (max resident set size)
ulimit -Sv (max virtual memory)

Limiting the resident set size doesn't seem to have an effect - the mserver5 process's resident size seems to grow freely.

Limiting the virtual memory does in fact manage to keep mserver5 from consuming more than the allocated amount, however when mserver5 hits the limit, it just crashes (which is what I would have expected based on this document).

Our next step is to look at Linux Containers, but before going that route I figured I'd check and see how other folks have handled this.

Thanks in advance,
Percy




--

Percy Wegmann
+1 512 637 8500 ext 148