Re: ulimit -m

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 11 Jul 2002, Zou Min wrote:

> I tried type "ulimit -Hm 4250" in my bash, in order to limit the RSS of all
> the proccesses forked by the bash to 4250 KB.
>
> However, when I did a "make" the my bash, the "pstree" showed
> "bash---make---sh---sh---make---g++---cc1plus",  the RSS of "cc1plus" can still
> be over 20MB. (And later I tried "ulimit -Hm 2", still no effect at all)
>
> I am using linux-2.4.18. Shall I try other kernel versions? and which ones?

I've implemented RSS limits in the -rmap VM.

Note, however, that excess RSS of processes is _not_ swapped
out if there is enough memory available...

Rik
-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/		http://distro.conectiva.com/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux