Page 1 of 1
sabnzbd and consolekit using lots of virtual memory
Posted: November 22nd, 2015, 9:25 am
by naviathan
I'm running xenserver with an ubuntu 14.04 guest that's doing my downloading and media management. I noticed that on this VM the memory usage was reading really high. Upon closer inspection I see that sabnzbdplus and console-kit-dae are the top hogs. Two questions:
1. Why does sabnzbdplus depend on consolekit?
2. Why would they both be using gigs of virtual memory?
Re: sabnzbd and consolekit using lots of virtual memory
Posted: November 22nd, 2015, 3:18 pm
by sander
1. Why does sabnzbdplus depend on consolekit?
What makes you think that?
2. Why would they both be using gigs of virtual memory?
Because ... they can. Read
http://www.linuxatemyram.com/
On my 0.5 GB RAM VM:
Code: Select all
$ top -bn1 | grep -e VIRT -e sabnzbd -e console
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2527 sander 20 0 299028 9320 2260 S 0.0 1.8 3:12.81 sabnzbdplus
2966 root 20 0 29856 1332 1332 S 0.0 0.3 0:00.22 console-kit-dae
On my 4GB RAM laptop:
Code: Select all
$ top -bn1 | grep -e VIRT -e sabnzbd -e console
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1888 root 20 0 2100448 3248 3248 S 0,0 0,1 0:00.38 console-kit-dae
4296 sander 20 0 2508220 44276 6072 S 0,0 1,2 9:21.51 sabnzbdplus
So the VIRTUAL memory goes up if there is more RAM. Easy. And: no worries. Focus on RES and %MEM
Re: sabnzbd and consolekit using lots of virtual memory
Posted: November 22nd, 2015, 4:50 pm
by naviathan
So the amount of virtual memory doesn't matter? My host system and monitoring tools are all reporting this VM as using 83%+ of it's memory sitting at idle doing nothing. Just annoying I guess.
As for the consolekit requirement, if I do an apt-cache rdepends consolekit it shows sabnzbdplus as requiring it. I'm trying to keep my VM's as slim as possible and consolekit seems to bring some gui garbage with it.
Re: sabnzbd and consolekit using lots of virtual memory
Posted: November 22nd, 2015, 5:03 pm
by sander
naviathan wrote:
As for the consolekit requirement, if I do an apt-cache rdepends consolekit it shows sabnzbdplus as requiring it. I'm trying to keep my VM's as slim as possible and consolekit seems to bring some gui garbage with it.
http://packages.ubuntu.com/wily/sabnzbdplus says sabnzbdplus "recommends" consolekit.
Does your "apt-cache rdepends consolekit" only mentions sabnzbdplus? On my VM I get:
Code: Select all
$ apt-cache rdepends consolekit
consolekit
Reverse Depends:
sabnzbdplus
lxsession-logout
sabnzbdplus
user-manager
ulatencyd
tcosmonitor-common
sugar-session-0.98
sugar-session-0.96
sucrose-0.98
sucrose-0.96
slim
lxsession-logout
kshutdown
libpolkit-qt-1-1
I wouldn't dare to remove it, certainly not on remote VM.
with 1.3MB real RAM usage by consolekit, I wouldn't bother.