kded4 memory use grows with every accepted ssh connection. Memory leak?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-1 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
The kded4 RSS grows seemingly without bound with every ssh login.
djh900@dh:~$ pkill kded4
djh900@dh:~$ nohup kded4
nohup: ignoring input and appending output to `nohup.out'
djh900@dh:~$ pgrep kded4
11430
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:00 0 2 857053 64476 1.6 kded4
djh900@dh:~$ for i in 0 1 2 3 4 5 6 7 8 9; do ssh localhost true; done
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:01 0 2 857213 87108 2.2 kded4
djh900@dh:~$ for i in 0 1 2 3 4 5 6 7 8 9; do ssh localhost true; done
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:01 0 2 857373 109656 2.7 kded4
djh900@dh:~$ for i in 0 1 2 3 4 5 6 7 8 9; do ssh localhost true; done
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:02 0 2 923101 131948 3.3 kded4
djh900@dh:~$ for i in 0 1 2 3 4 5 6 7 8 9; do ssh localhost true; done
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:03 0 2 923261 154500 3.9 kded4
djh900@dh:~$ for i in 0 1 2 3 4 5 6 7 8 9; do ssh localhost true; done
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:03 0 2 923453 176792 4.5 kded4
djh900@dh:~$ for i in 0 1 2 3 4 5 6 7 8 9; do ssh localhost true; done
djh900@dh:~$ ps vp 11430
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
11430 pts/0 Sl 0:04 0 2 989149 199084 5.0 kded4
djh900@dh:~$
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: kdelibs-bin 4:4.8.5-0ubuntu0.1
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: amd64
Date: Thu Dec 20 13:38:30 2012
ExecutablePath: /usr/bin/kded4
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
MarkForUpload: True
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, user)
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
SourcePackage: kde4libs
UpgradeStatus: No upgrade log present (probably fresh install)
We'll need some more infromation.
Please go to: systemsettings -> start and shutdown -> service manager -> stop one startup service at a time and see whether kded still leaks.
Please also post the output of kde4/services/ kded
ls -lah /usr/share/
Finally a note that to produce useful output logs you'd first need to run kdebugdialog and turn on debugging for all KDE software, otherwise stdout does not contain anything useful.