sabnzbd and consolekit using lots of virtual memory

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
naviathan
Newbie
Newbie
Posts: 12
Joined: December 23rd, 2010, 2:34 pm

sabnzbd and consolekit using lots of virtual memory

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: sabnzbd and consolekit using lots of virtual memory

Post 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
naviathan
Newbie
Newbie
Posts: 12
Joined: December 23rd, 2010, 2:34 pm

Re: sabnzbd and consolekit using lots of virtual memory

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: sabnzbd and consolekit using lots of virtual memory

Post 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.
Post Reply