Hi, Rik, I do appreciate your explanation! On Thu, Jul 11, 2002 at 11:01:55PM -0300, Rik van Riel wrote: > I've tried this once (in the 2.1 days) and system performance was > _very_ bad with half of RAM free and one RSS-limited program using > all disk bandwidth for swapping. In fact, I am just doing a little experiment, which requires to strictly limit the RSS of certain process. Here, I don't care about the whole system performance at all. Could you send me the patch which does force the RSS limit even when there is enough memory available, because I am not sure how low memory I should set in order to let system enforce the RSS limit? I know maybe I should just use "setrlimit()" system call by modifying the particular program I want to test, but I am not sure if it would be the same effect as using "ulimit" in bash. Thanks a lot! -- regards, ZM -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/