tech-kern archive

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

Re: lookup on memory shortage




On Oct 3, 2008, at 04:14, Manuel Bouyer wrote:

|load averages: 2.20, 1.24, 0.98; up 3+14:52:30 03:40:25
|40 processes: 3 runnable, 35 sleeping, 1 zombie, 1 on CPU
|CPU states: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle |Memory: 294M Act, 144M Inact, 12M Wired, 11M Exec, 77M File, 16K Free
|Swap: 256M Total, 256M Used, 4K Free


You said 512MB of RAM, and 256MB of swap? I thought the "rule of thumb" was twice as much swap as RAM. 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.

How many panics do we have in the kernel code from "I couldn't get the RAM I wanted"?

        Erik <fair%netbsd.org@localhost>



Home | Main Index | Thread Index | Old Index