Public bug reported: There is a spurious OOM issue with PAE kernel: it will suffer an OOM crash just by running a few processes. Please see also http://bugs.debian.org/695182 and discussion on linux...@kvack.org e.g. http://marc.info/?l=linux-mm&m=135801969519193&w=2 I wonder whether https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1098342 is related.
The issue is a regression with PAE, reproduced and verified on my home PC with 3GB RAM. My PC was running kernel linux-image-3.2.0-35-generic so it showed: psz@DellE520:~$ uname -a Linux DellE520 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:45:18 UTC 2012 i686 i686 i386 GNU/Linux psz@DellE520:~$ free -l total used free shared buffers cached Mem: 3087972 692256 2395716 0 18276 427116 Low: 861464 71372 790092 High: 2226508 620884 1605624 -/+ buffers/cache: 246864 2841108 Swap: 20000920 258364 19742556 Then it handled the "sleep test" bash -c 'n=0; while [ $n -lt 33000 ]; do sleep 600 & ((n=n+1)); ((m=n%500)); if [ $m -lt 1 ]; then echo -n "$n - "; date; free -l; sleep 1; fi; done' just fine, stopped only by "max user processes" (default setting of "ulimit -u 23964"), or raising that limit stopped when the machine ran out of PID space; there was no OOM. Installing and running the PAE kernel so it showed: psz@DellE520:~$ uname -a Linux DellE520 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux psz@DellE520:~$ free -l total used free shared buffers cached Mem: 3087620 681188 2406432 0 167332 352296 Low: 865208 214080 651128 High: 2222412 467108 1755304 -/+ buffers/cache: 161560 2926060 Swap: 20000920 0 20000920 and re-trying the "sleep test", it ran into OOM after 18000 or so sleeps and crashed/froze so I had to press the POWER button to recover. Cheers, Paul Paul Szabo p...@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1098961 Title: PAE regression: OOM with just a few sleeps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1098961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs