lkml.org 
[lkml]   [2009]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpidns memory leak
Hi,

I am facing a problem with the pid namespace when I launch the following
lxc commands:

lxc-execute -n foo sleep 3600 &
ls -al /proc/$(pidof lxc-init)/exe && lxc-stop -n foo

All the processes related to the container are killed, but there is
still a refcount on the pid_namespace which is never released.
That can be verified in /proc/slabinfo. Running a test suite with
thousand of tests quickly exhaust the memory and the oom killer is
triggered.

Reproduced with a 2.6.31 vanilla kernel on i686 and x86_64 architecture.

Thanks
-- Daniel




\
 
 \ /
  Last update: 2009-10-02 14:29    [W:0.066 / U:11.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site