Comment 10 for bug 499520

Revision history for this message
Scott Moser (smoser) wrote :

To be clear, the issue here is more than just accounting. When we boot an instance in UEC with 256M or less of memory, the OOM kicks in and the system is generally not in good shape.

looking into this further, the big difference between karmic and lucid /proc/meminfo was 'LowFree'. On an ec2 instance with 2G memory, I saw:
 Karmic: 681616
 Lucid: 552616

That lead me to suspect ureadahead. It turns out, that if I remove ureadahead from the instance, I can boot in 96M of memory under kvm. With ureadahead in the instance, I get OOM messages at 256M.

One thing to note, is that this is a fresh first-boot of ec2 instance. ureadahead has never profiled before, and can't be expected to have.