LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 06:14 PM   #1
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Rep: Reputation: 114Reputation: 114
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, 07:48 PM   #2
genss
Member
 
Registered: Nov 2013
Posts: 312

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

Rep: Reputation: 28
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, 10:24 PM   #4
speck
Member
 
Registered: Nov 2001
Location: California
Distribution: Slackware 14.1
Posts: 281

Rep: Reputation: 55
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, 02:52 AM   #5
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 184

Rep: Reputation: 35
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, 03:27 AM   #6
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
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, 10:54 AM   #7
enorbet
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 14 is Main OpSys on Main PC, 2ndary are OpenSuSe 13 and SolydK
Posts: 725

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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, 03:22 AM   #8
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,676
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
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, 08:54 AM   #9
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Original Poster
Rep: Reputation: 114Reputation: 114
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, 10:18 PM   #10
enorbet
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 14 is Main OpSys on Main PC, 2ndary are OpenSuSe 13 and SolydK
Posts: 725

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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, 11:21 PM   #11
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,676
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
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, 02:01 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
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, 09:23 PM   #13
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,067

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

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, 07:17 PM   #15
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,568

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:44 AM
Why so many /usr/sbin/console-kit-daemon --no-daemon in htop? alarazr Linux - Newbie 2 07-09-2012 02:58 PM
[SOLVED] Not sure what "console-kit-daemon --no-daemon" means mark_alfred Linux - General 2 12-18-2011 05:59 PM
Who start this daemon: console-kit ? FeyFre Slackware 10 09-23-2011 12:23 PM
[SOLVED] Console-kit daemon spawns more than 60 child-processes pigkouinos Slackware 2 09-18-2011 04:07 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration