tech-kern archive

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

Re: Autotuning of kern.ipc.shmmaxpgs

On Mon, Mar 02, 2009 at 11:15:10AM -0500, Matthew Mondor wrote:
> Speaking of this, I've noticed on netbsd-5 that I had to write a
> watchdog script to monitor the RSS of a process because rlimits would
> not appear to help at all.  Perhaps that if rlimits were better
> observed it'd indeed be possible to drop any API-specific memory
> allocation limits...

This is related to mmap'ed anon memory not being accounted. This is a
different issue to SysV shared memory as the latter exists independent
of any process. E.g. if you will a program that uses shared memory, the
allocation will continue to exist.


Home | Main Index | Thread Index | Old Index