Messages in this thread | | | From | Dan Kegel <> | Subject | Enforcing RLIMIT_RSS? | Date | Sun, 22 Sep 2002 09:36:09 -0700 |
| |
setrlimit(RLIMIT_AS, ...) can be used to limit the amount of virtual memory an application uses, but the corresponding call to limit physical memory, setrlimit(RLIMIT_RSS, ...), is not implemented in the main tree.
Rik has implemented this feature several times in the past... here's his 2.4.0 patch, http://marc.theaimsgroup.com/?l=linux-kernel&m=97811999316400&w=2 and his 2.5.27 patch http://marc.theaimsgroup.com/?l=linux-kernel&m=102719516200414&w=2
I need this feature on my embedded system, which uses 2.4.17 or so. Is the 2.4.0 patch the best place to start, or has anyone updated that patch for a more recent 2.4?
Thanks, 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/
| |