Public bug reported:

I observed a memory leak after a resume from hibernate with RT kernel: 
/proc/slabinfo shows a growing count of mm_struct which causes the system to 
run out of memory after a day or more (Free LowMem decreases).
Sequence to reproduce the issue (on a new installation of Ubuntu Lucid with the 
RT kernel and the uswsusp package installed):
- monitor the mm_struct count using the command "watch -d -n 1 "cat 
/proc/slabinfo | grep mm_struct" -> stable
- hibernate the system using the command "sudo s2disk" (the issue also occurs 
when using s2ram)
- resume from hibernate
- monitor the mm_struct count using the command "watch -d -n 1 "cat 
/proc/slabinfo | grep mm_struct" -> growing 

I did not reproduce this issue with the Lucid 2.6.32.33.39 generic
kernel. I have also built (with the same config) the 2.6.31 kernel taken
from kernel.org patched with the corresponding RT patch of Ingo Molnar:
and following the same sequence I did not observe the issue. So it seems
that this issue only occurs on the ubuntu kernel stream.

Description:    Ubuntu 10.04 LTS
Release:        10.04
linux-image-2.6.31-11-rt:
  Installed: 2.6.31-11.154
  Candidate: 2.6.31-11.154
  Version table:
 *** 2.6.31-11.154 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Packages
        100 /var/lib/dpkg/status
uswsusp:
  Installed: 0.8-1.1ubuntu3
  Candidate: 0.8-1.1ubuntu3
  Version table:
 *** 0.8-1.1ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

** Affects: linux-rt (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/856230

Title:
  Memory leak after resume from hibernate with RT kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-rt/+bug/856230/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to