LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-17-2014, 05:14 PM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
do I really need console-kit


looking at htop it looks like console-kit is a huge RAM hog
why do I want it eating up about 25% of my memory?
 
Old 01-17-2014, 06:48 PM   #2
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
my record is ~150 processes of it
then i removed it
 
Old 01-17-2014, 08:41 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
I didn't know this

ConsoleKit is currently not actively maintained. The focus has shifted to the built-in seat/user/session management of Software/systemd called systemd-logind!
 
Old 01-17-2014, 09:24 PM   #4
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
I always disable it and have never run into any issues, but I use a basic window manager instead of a DE (KDE, XFCE, etc.) and I also don't use any of the GUI DE applications.
 
Old 01-18-2014, 01:52 AM   #5
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Rep: Reputation: 37
consolekit is one of those things that even after you read what it is, you're not really sure what it is.
 
Old 01-18-2014, 02:27 AM   #6
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by rob.rice View Post
looking at htop it looks like console-kit is a huge RAM hog
why do I want it eating up about 25% of my memory?
VSZ?

That includes memory from shared libs which other applications will also be using.

If you add up the VSZ column you will most likely end up with a value that exceeds your systems memory.
 
Old 01-18-2014, 09:54 AM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Quote:
Originally Posted by rob.rice View Post
looking at htop it looks like console-kit is a huge RAM hog
why do I want it eating up about 25% of my memory?
I wish I had an answer for you to describe how to look deeper to find the problem, but I do use heavier DE's, both Xfce and KDE with basic compositing, and using KDE's System Monitor (ksysguard) while in Xfce, typing "console" in the search window reveals that console-kit-daemon is currently using all of 608K of ram. I've had x486 systems that could handle that, assuming it would "loadhigh"
 
Old 01-19-2014, 02:22 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
ConsoleKit is required by Window Managers and Desktop Environments to allow a user session to have access to system power services for the init system. Without it you'd have to relog as root each time you'd want to reboot or shutdown the system. Trust me, keep it around.

It's also not entirely abandonware even though systemd incorporated logind. ConsoleKit is a standalone version so chances are it'll be useful and keep receiving patches as not all distributions are drinking the poison koolaid. Certain distributions, like LFS/BLFS which I use, keep a version up in the repositories for usage. Just because the original developers put it on inactive doesn't mean we're going to use systemd just to have logind services.
 
Old 01-19-2014, 07:54 AM   #9
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
I would rather have a root VT running at all times than waste that much memory
this is not windoze there is NO excuse for a memory hog eating up 25% of the ram that is doing nothing
even as a user I can tap the power switch and shutdown the system

I also removed aconandi (or how ever it is spelled ) because it keeps crashing and locking KDE for what seems like forever
 
Old 01-20-2014, 09:18 PM   #10
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Quote:
Originally Posted by rob.rice View Post
I would rather have a root VT running at all times than waste that much memory
this is not windoze there is NO excuse for a memory hog eating up 25% of the ram that is doing nothing
even as a user I can tap the power switch and shutdown the system

I also removed aconandi (or how ever it is spelled ) because it keeps crashing and locking KDE for what seems like forever
???????? You're right there is no excuse but the problem is on your end if you are getting 25% ram usage for Console-Kit when I'm using 608K (I seriously doubt you only have 2 megs of ram :P) Additionally, although when KDE released v4 (and I should add "too soon") Akonadi and Nepomuk were runaway disasters. By the next version that was solved but unfortunately not before it alienated a lot of users and started a myth that it is ongoing.

If you'd like to see a screenshot of my KDE desktop with Conky reading out CPU and Ram usage, or of KSysguard highlighting Console-Kit and Akonadi just say the word.

FWIW, I'm not trying to imply you are a clueless admin, just that you've possibly overlooked something or customized something with a negative impact. Slackware is solid. KDE is solid. If we have problems, 9 times out of 10, we created them. That's actually one of the main values of Slackware. We don't have to hunt for days to discover the source of a problem because Slackware doesn't assume we are morons and has none of that condescending "Here... let me just do that for you. Trust me...you'll like it" attitude or behaviour.
 
Old 01-20-2014, 10:21 PM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
GNU/Linux based systems are ever evolving and so is a lot of the software surrounding them. Yes, this isn't Windows, but software is evolving to mimic certain functionality to ease workloads and help end users. The Linux distribution of today isn't the same Linux distribution of ten years ago.

You don't technically have to have ConsoleKit, but honestly it does save a lot of time and trouble with permissions over basic init level functionality like rebooting and shutdowns.

The init wars right now have done a lot of collateral damage to many projects where most have either been absorbed by other projects expanding their outlooks while some are abandoned totally or dumped into maintenance only.
 
Old 01-21-2014, 01:01 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Seriously, when Consolekit bothers you just don't use and look if there is any functionality that you are missing. But enorbet is right, it shouldn't take that much RAM. On my Slackware system running the i3 WM console-kit-daemon takes 1.9MB and ck-launch-session uses only 372KB, so I get about 2.3 MB as whole for Consolekit.
How are you measuring the RAM consumption?
 
Old 01-21-2014, 08:23 PM   #13
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Just launched htop here and consolekit daemon is consuming a total of 0.0% of my ram
 
Old 01-22-2014, 02:51 PM   #14
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
You don't technically have to have ConsoleKit, but honestly it does save a lot of time and trouble with permissions over basic init level functionality like rebooting and shutdowns.
shouldn't it be that you just set SUID permisions ?

just to clarify
i removed console-kit a long time ago as it would spawn a process every time i opened a shell
so after a couple days id have a screen full of them, and that is really bad software if you ask me (i had viruses that did less.. damage)

i also run as root so didn't notice anything missing
(note: i know and don't care about security implications of running as root, its behind a firewall and no shady software allowed)
 
Old 01-22-2014, 06:17 PM   #15
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
console-kit-daemon is creating a new thread for each process, which htop is reporting as a new process.

I'll bet that the command
Code:
ps -ef | grep console | grep -v grep | wc -l
returns 1 on your system. console-kit-daemon isn't oinking up as much of your resources as you think.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub2/console-setup commands for console mode 132 x 43 without framebuffer LQ123 Debian 0 10-22-2013 09:44 AM
Why so many /usr/sbin/console-kit-daemon --no-daemon in htop? alarazr Linux - Newbie 2 07-09-2012 01:58 PM
[SOLVED] Not sure what "console-kit-daemon --no-daemon" means mark_alfred Linux - General 2 12-18-2011 04:59 PM
Who start this daemon: console-kit ? FeyFre Slackware 10 09-23-2011 11:23 AM
[SOLVED] Console-kit daemon spawns more than 60 child-processes pigkouinos Slackware 2 09-18-2011 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration