tech-kern archive

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

Re: lookup on memory shortage



On Tue, Oct 07, 2008 at 09:29:16AM -0700, Erik Fair wrote:
> You said 512MB of RAM, and 256MB of swap? I thought the "rule of  
> thumb" was twice as much swap as RAM.

It's certainly not true on modern OSes.

> It certainly looks like you're  
> right on the edge of exhaustion of both RAM and swap here, and we've  
> certainly seen in the past that UVM (and the rest of the kernel)  
> doesn't recover gracefully from this situation.

We should be able to do better. Especially in this case, there is
plenty of pages that could be freed, as we have 77MB allocated to
files. It's not as if ressources were totally exausted. The pagedaemon
isn't doing its job in this case.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index