Yeah. RLIMIT_RSS seemed like something I could hijack for the
purpose, though. And the code change was really small
( http://marc.theaimsgroup.com/?l=linux-kernel&m=103299570928378 ).
If only the darn program didn't have so many threads, RLIMIT_AS
or the no-overcommit patch would be perfect. I unfortunately can't
get rid of the threads, so I'm stuck trying to figure out some way
to kill the right program when the system gets low on memory.
Maybe I should look at giving the OOM killer hints?
- Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/