I'm still not sure what those 64-bit mappings are, but note the modes:

$ sudo pmap -x $(pidof console-kit-daemon) 2>&1 | grep 654
00007f92b8022000   65400       0       0 -----    [ anon ]
00007f92bc022000   65400       0       0 -----    [ anon ]
00007f92c0022000   65400       0       0 -----    [ anon ]
00007f92c4022000   65400       0       0 -----    [ anon ]
00007f92c8022000   65400       0       0 -----    [ anon ]
00007f92cc022000   65400       0       0 -----    [ anon ]
00007f92d0022000   65400       0       0 -----    [ anon ]
00007f92d4022000   65400       0       0 -----    [ anon ]
00007f92d8022000   65400       0       0 -----    [ anon ]
00007f92dc022000   65400       0       0 -----    [ anon ]
00007f92e0022000   65400       0       0 -----    [ anon ]
00007f92e4022000   65400       0       0 -----    [ anon ]
00007f92e8022000   65400       0       0 -----    [ anon ]
00007f92ec022000   65400       0       0 -----    [ anon ]
00007f92f0022000   65400       0       0 -----    [ anon ]
00007f92f4022000   65400       0       0 -----    [ anon ]
00007f92f8022000   65400       0       0 -----    [ anon ]
00007f92fc022000   65400       0       0 -----    [ anon ]
00007f9300022000   65400       0       0 -----    [ anon ]
00007f9304022000   65400       0       0 -----    [ anon ]
00007f9308022000   65400       0       0 -----    [ anon ]
00007f930c022000   65400       0       0 -----    [ anon ]
00007f9310022000   65400       0       0 -----    [ anon ]
00007f9314022000   65400       0       0 -----    [ anon ]
00007f9318022000   65400       0       0 -----    [ anon ]
00007f931c022000   65400       0       0 -----    [ anon ]
00007f9320022000   65400       0       0 -----    [ anon ]
00007f9324022000   65400       0       0 -----    [ anon ]
00007f9328022000   65400       0       0 -----    [ anon ]
00007f932c022000   65400       0       0 -----    [ anon ]
00007f9330021000   65404       0       0 -----    [ anon ]
$

These 64MB blocks are anonymous mappings that are not readable *or*
writable.  As such, they take up no actual memory in the kernel, and
should be ignored.

And these mappings account for the vast majority of the memory reported.
So I think you should ensure that you're excluding such mappings from
your analysis.

After deducting the null mappings from the memory usage, ck seems to be
using a much more reasonable 25MB.  So I'm closing this report as
invalid.

** Changed in: consolekit (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1101326

Title:
  console-kit-daemon appears to consume 2GB of memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/1101326/+subscriptions

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

Reply via email to