System hang problem.
Quoted 9 lines · Manish Neema
Quoted 4 lines
What you can often do, if you have one application using much memory, is limiting *this application's* memory usage with ulimit. If the application correctly handles malloc()==NULL, then at least your system will behave stably.
The problem is its different application, different user each time (a typical large R&D environment).
/etc/security/limits.confallows to set max resident set size. Is there a way to limit based on the total virtual size?
You mean like: ulimit -v [total VMsize/runqueue]
I suppose, that this could easily be dynamically calculated by the kernel, for a tremendously inhibiting OOM-killer effect.
Thanks!
--
Al