On Thu, Oct 27, 2005 at 10:36:22AM +0200, Noam Meltzer wrote:
> Hi Muli,
> 
> First, 10x for the input.
> Anyhow, what I'm trying to figure out is why RLIMIT_RSS (or ulimit -m)
> has no effect at all.

The man page tells you: it only affects calls to madvise() specifying
MADVISE_WILLNEED. In other words, if the application is kind enough to
tell the system how many pages it will need, the system, if ulimit -m
is set, will tell it yes or no. Not very useful, I agree.

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to