dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #41297
[Bug 974378] Re: memory leak in unity-2d-shell
** Changed in: unity-2d (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-2d in Ubuntu.
https://bugs.launchpad.net/bugs/974378
Title:
memory leak in unity-2d-shell
Status in unity-2d package in Ubuntu:
Invalid
Bug description:
top, ordered by mem shows for me right now:
top - 11:16:08 up 26 days, 15:46, 16 users, load average: 1.35, 0.88, 0.94
Tasks: 280 total, 2 running, 275 sleeping, 0 stopped, 3 zombie
Cpu(s): 1.5%us, 1.3%sy, 0.0%ni, 96.6%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3941584k total, 3624652k used, 316932k free, 131772k buffers
Swap: 4096536k total, 783984k used, 3312552k free, 855332k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29131 smoser 20 0 1959m 903m 21m S 2 23.5 290:24.57 firefox
15273 smoser 20 0 1831m 448m 14m S 0 11.7 86:43.18 unity-2d-shell
15329 smoser 20 0 701m 134m 6388 S 0 3.5 10:25.59 unity-panel-ser
16495 smoser 20 0 446m 48m 1496 S 0 1.3 1:04.40 deja-dup-monito
32551 smoser 20 0 496m 46m 7892 S 0 1.2 121:48.42 xchat
unity-2d-shell is using 448M resident, indicating a memory leak.
$ ls -l /proc/15273/{cmdline,exe}
-r--r--r-- 1 smoser smoser 0 Mar 15 22:08 /proc/15273/cmdline
lrwxrwxrwx 1 smoser smoser 0 Mar 15 22:08 /proc/15273/exe -> /usr/bin/unity-2d-shell (deleted)
$ cat /proc/15273/stat
15273 (unity-2d-shell) S 15164 15164 15164 0 -1 4202496 776865 697 10234 28 504246 16754 0 17 20 0 11 0 52790514 1919959040 114896 18446744073709551615 4194304 4268463 140735895502176 140735895500960 140107893480851 0 0 4096 65536 18446744073709551615 0 0 17 0 0 0 16886 0 0
$ cat /proc/15273/statm
468740 114896 3765 19 0 353593 0
$ cat /proc/15273/status
Name: unity-2d-shell
State: S (sleeping)
Tgid: 15273
Pid: 15273
PPid: 15164
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 4 20 24 46 116 118 124 126 127 133 1000
VmPeak: 1908856 kB
VmSize: 1874960 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 506112 kB
VmRSS: 459584 kB
VmData: 1414236 kB
VmStk: 136 kB
VmExe: 76 kB
VmLib: 75820 kB
VmPTE: 1884 kB
VmSwap: 77392 kB
Threads: 11
SigQ: 0/30601
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 0000000180010000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: f
Cpus_allowed_list: 0-3
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 3133899
nonvoluntary_ctxt_switches: 1801308
So, that process has been up for almost 3 weeks, and definitely has been updated. Looking at my /var/log/apt/history.log.*, it seems it was most likely invoked as version 5.6.0-0ubuntu2.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity-2d-shell 5.8.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Thu Apr 5 11:12:52 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unity-2d
UpgradeStatus: Upgraded to precise on 2011-11-07 (150 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/974378/+subscriptions