[Bug 284229] Re: console-kit-daemon using a lot of cpu

2014-02-24 Thread Stack Underflow
consile-kit-dae is not eating CPU on my system right now but it is taking 4GB of memory. $ top 2609 root 20 0 4090m 1772 1484 S0 0.0 0:10.39 console-kit-dae -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2013-03-11 Thread Brenton P
No runaway CPU, but I just had ~60 console-kit-daemons leaking after a day's worth of frequent Capistrano deploys (which launch multiple SSH sessions) on a brand-new EC2 instance running Ubuntu 12.10. Probably not your issue, Whit, but the leakiness is still concerning. -- You received this bug

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2013-01-24 Thread Whit Blauvelt
Just had a serious runaway console-kit-daemon on Lucid! Ran my load up into the 40-50 range with 100% CPU. Killall console-kit-daemon reduced load to under 0.30. Is this a regression, or a newer bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2011-02-03 Thread Bug Watch Updater
** Changed in: consolekit Importance: Unknown = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/284229 Title: console-kit-daemon using a lot of cpu -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2011-01-25 Thread Bug Watch Updater
** Changed in: consolekit Importance: High = Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/284229 Title: console-kit-daemon using a lot of cpu -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-09-25 Thread Samuel Kleiner
This bug also affects Jaunty. With 0.3.0-2ubuntu3 i see PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 3323 root 20 0 2234m 1.7g 1576 R 64 22.6 2429:41 console-kit-dae -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-06-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/consolekit -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-06-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/intrepid-updates/consolekit -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-03-24 Thread Nathan Crawford
@vak - I'm not able to reproduce this on 8.04.2 using the steps to reproduce above. Do you have a different method to reproduce it on Hardy? -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-03-08 Thread vak
i've checked output of apt-rdepends -r consolekit. It is huge... uninstall consolekit is a no-go. Without a patch Hardy(Ubuntu 8.04.2) becomes hardly usable... :-/ any news? -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-26 Thread vak
hi all any cure for Hardy(Ubuntu 8.04.2 ) already?.. regards Valery -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-18 Thread LumpyCustard
Martin, the prompt occurred whilst installing the new libpam-ck-connector. admin ALL=(ALL) ALL was still there, and I checked and I was in the admin group. I'm still not sure what happened, but it doesn't matter now. I ended up formatting and reinstalling everything (which I was meaning to do

Re: [Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-17 Thread Martin Pitt
Hello, LumpyCustard [2009-02-16 12:48 -]: I just installed this update and opted to 'Override' the settings (at least I think that was the word). What did that dialog say exactly? What settings do you mean? Now I have no sudo access. My password has been flattened. Any ideas? No, not

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-16 Thread Launchpad Bug Tracker
This bug was fixed in the package consolekit - 0.2.10-1ubuntu10 --- consolekit (0.2.10-1ubuntu10) intrepid-proposed; urgency=low * Unref the dbus proxy when finalizing the session object, so that they are not leaked. (LP: #284229) - When leaked they would stay in the list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-16 Thread vak
Martin Pitt wrote on 2009-01-27: (permalink) Did people experience this on Hardy (8.04) as well, or just in Intrepid (8.10)? yes, Hardy also! (Ubuntu 8.04.2 ) When approximatelly could the patch be also available for it via get-apt update/upgrade ? Valery -- console-kit-daemon using a lot

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-16 Thread LumpyCustard
I just installed this update and opted to 'Override' the settings (at least I think that was the word). Now I have no sudo access. My password has been flattened. Any ideas? -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-12 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-11 Thread Wolfgang Tremmel
Installed it and it solved the problem for me. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-11 Thread Bug Watch Updater
** Changed in: consolekit Status: Confirmed = Fix Released -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-10 Thread James Westby
Here is the debdiff for Intrepid. Thanks, James ** Attachment added: intrepid.diff http://launchpadlibrarian.net/22445666/intrepid.diff -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-10 Thread James Westby
** Description changed: + The use of pam-ck-connector means that consolekit registers a session for every cron or ssh session + started. Registering a session involves creating a dbus proxy. Internally to glib these are stored in a list, + and only removed when unref'd, but the code fails to do

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-10 Thread Martin Pitt
Accepted into intrepid-proposed, please test and give feedback here. Thank you! ** Changed in: consolekit (Ubuntu Intrepid) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-09 Thread Mirar
Frankly, I can't really find out which problem it's supposed to solve, maybe you can elaborate? Google searches only turn up problems, and # man console-kit-daemon No manual entry for console-kit-daemon doesn't help either. (But there doesn't seem to be many manpages around these days.) I'm

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-09 Thread ichudov
I also cannot believe that this bug has not even been patched in the repos. Patch has been posted and verified weeks ago. What is going on? -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-09 Thread David Taylor
I thought I may be able to just use the Debian version of this package instead as this just seems to be an Ubuntu thing but I can't seem to find a Debian alternative. Maybe it's only Ubuntu who use it. Still I'll give Suse a go as there are a number of bugs I have that aren't being fixed but I

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-09 Thread Jeffrey Baker
I think the main problem is that the upstream developer seems to have abandoned the project. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-08 Thread vbonline
Using ubuntu 8.10-i386 server with Cacti / Munin / Horde each of them logging in at least once every 5 minutes, so I'm really bitten by this bug. I have to restart console-kit-daemon once a week to get my system responsible again. To make it clear: This is a MAJOR bug and it is absolutly

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-08 Thread jh
I found that # chmod -x /usr/sbin/console-kit-daemon provided a good enough fix for my headless, X-less box that was otherwise afflicted by this bug. -jh -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-08 Thread vbonline
To be honest: Rendering c-k-d unexecutable or uninstalling c-k-d is the wrong way to remedy this situation. Having c-k-d around is a Good Thing (tm) by definition... But having a patch since 11/28/08 (77 days) and NOT being able to apt- get upgrade this bug into oblivion is the problem here...

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-02-07 Thread goto
Running `pam-auth-update` allows you to remove using ConsoleKit as a session manager. I then killed off console-kit-daemon and it has not restarted since (lots of remote cron tasks). Use of ConsoleKit on a box that gets connected to at a minimum of once a minute over a 2 month period has lead to

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-28 Thread Sean Covel
Ubuntu Intrepid Ibex. Fresh install. No problems for a few months. Added Munin and Monit. Now console-kit-daemon takes over in a couple weeks of uptime. Must be related to the login/logout every 5 min. that Munin does. Makes it happen much faster. Linux gordon.home.com 2.6.27-9-server #1 SMP

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread Martin Pitt
Did people experience this on Hardy (8.04) as well, or just in Intrepid (8.10)? ** Changed in: consolekit (Ubuntu Hardy) Status: New = Incomplete -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread Launchpad Bug Tracker
This bug was fixed in the package consolekit - 0.3-0ubuntu3 --- consolekit (0.3-0ubuntu3) jaunty; urgency=low * Unref the dbus proxy when finalizing the session object, so that they are not leaked. (LP: #284229) - When leaked they would stay in the list of active proxies,

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread David Taylor
Did people experience this on Hardy (8.04) as well, or just in Intrepid (8.10)? Just intrepid for me and looking at the report it was logged around the release of intrepid. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread glenstewart
This only occurred with Intrepid. As the bug can render a server unusable due to CPU load, the fixed package mentioned for Jaunty should be backported to Intrepid. I consider it URGENT to address severe performance problems. -- console-kit-daemon using a lot of cpu

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread Martin Pitt
Approved for SRU, does someone want to drive this? ** Changed in: consolekit (Ubuntu Hardy) Status: Incomplete = Invalid ** Changed in: consolekit (Ubuntu Intrepid) Status: New = Confirmed -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread James Westby
I can do the legwork. I'll probably again need some assistance verifying the fix though, as I have yet to reproduce it. Thanks, James -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-27 Thread Travis Tabbal
I'm willing to test the fixed package. I can make it happen reliably on my systems. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-26 Thread Mirar
Is certainly should be backported. I've solved it by killing it regularly though: # crontab -l -u root # m h dom mon dow command 0 10,20 * * * killall console-kit-daemon ... -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-22 Thread Benjamin Lauret
For me the patch solve the issue. I need 3 days to have it taking 100% of the CPU. It's been running smoothly over the the last 4 days. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-22 Thread vikata
+1 on the backport. It would be really useful for some of the servers I'm running. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-15 Thread David Cournapeau
Is there a reason this is not backported to Intrepid ? I don't have admin privileges on my box, and this makes Ubuntu unbearable. After a few hours, I have to restart X, or worse rebooting my machine. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-12 Thread ichudov
I have written a shell function that downloads source of consolekit, some related libraries (I am not sure if you might need some more than I download), makes a patch, compiles and installs consolekit and restarts it. After this, I can ssh to this box in a loop forever and the CPU use does not

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-12 Thread David Taylor
I was taking a look at the script and all looked well at a glance (usual checks for 'rm /*' jazz) and when I run it I got './consolekit-fn.sh: 45: Syntax error: end of file unexpected (expecting ))' but there isn't a missing parenthesis, at least not picked up by the highlighting in kate! Any

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-12 Thread ichudov
This is a bash function to be run by bash. Save it to a file, say func.sh. Then in your _bash_ session, say source func.sh then run command ROOT_FixConsoleKit -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-12 Thread James Westby
Hi ichudov, Thanks for testing the patch, with two confirmations of it working I'm comfortable requesting that it be uploaded. Thanks, James -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-12 Thread James Westby
Sponsors, please review for inclusion in to Jaunty. Thanks, James ** Attachment added: consolekit-0.3-0ubuntu2.diff http://launchpadlibrarian.net/21131452/consolekit-0.3-0ubuntu2.diff -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-12 Thread ichudov
James, thanks a lot, this was the most obnoxious Intrepid issue for me, I am glad that we are moving with it. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-04 Thread Ulrich Schreiner
hi, on my system (8.10 desktop) i installed a x2go and this server opens every 5 secons a new session (as my posting above shows). and as the pam_ck_connector is installed to (/etc/pam.d/common-session), this session is registered with the consolekit-daemon -- every 5 seconds a new session is

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-04 Thread glenstewart
I wrote this Monit entry to try to bring console-kit-daemon under control, but it hasn't seemed to be effective, as the console-kit-daemon CPU use seems to fluctuate as it ramps up to seize all CPU. As this happens, I lose interactive control of my X session, even though running on a dual-CPU

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-04 Thread David Taylor
Hi Ulrich, I have had a look at my auth file and don't see any mention of x2goserver yet still see the consolekit problem however with less frequency than I used to. I think you might have a seperate issue that inflames the consolekit bug. Sorry, about to go off topic but a little interesting all

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-04 Thread vak
I agree with user jh. For me the urgency is severe or high. I could write a script to kill these processes, but this may kill healthy activity too ... So, until a workaround is not clear for me it is severe too. Also, I am quite worrying about the age of this bug in this unsolved state. This

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-03 Thread Ulrich Schreiner
i had the same problem with consolekit. after a few days consolekit- daemon had about 90% of cpu. then i realized that in my auth.log that every 5 seconds i get this entries: Jan 4 06:24:36 usc-desktop sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2009-01-03 Thread vak
similar happens to me. % sudo strace -f -o /tmp/consolekit-strace.txt -p 5837 Process 5898 attached with 62 threads - interrupt to quit Ctrl-C Process 5837 detached and here goes output after 1 minute of stracing: 5854 ioctl(11, VIDIOC_S_COMP or VT_WAITACTIVE unfinished ... 5855 ioctl(11,

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-12-30 Thread André Cruz
This is also still occurring to me. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-12-28 Thread David Taylor
This is still occurring for me, there appears to be a patch in the chatter but no updated packages. Is their some way I can assist in getting this finally corrected? -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-12-02 Thread seen
root# top -b |grep dae 3575 root 20 0 7904 1972 1432 R 68.2 0.2 562:28.32 console-kit-dae 3575 root 20 0 7904 1972 1432 R 66.2 0.2 562:30.31

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-12-02 Thread seen
top - 10:27:55 up 13 days, 22:02, 2 users, load average: 11.18, 11.90, 12.33 Tasks: 76 total, 5 running, 71 sleeping, 0 stopped, 0 zombie Cpu(s): 77.2%us, 22.8%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1229012k total, 1197872k used,31140k free, 141624k

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-28 Thread Ben
i had the same problem, having console-kit-daemon usgin about 10% of CPU, and growing. I saw (thx to lsof -c console-kit) that console-kit-daemon wrote very often (about every 0.2 sec!) to his logfile (/var/log/ConsoleKit/history) an apparent login/logout from user 1000 (which is myself!) while

Re: [Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-28 Thread James Westby
On Sat, 2008-11-29 at 01:46 +, Ben wrote: i had the same problem, having console-kit-daemon usgin about 10% of CPU, and growing. I saw (thx to lsof -c console-kit) that console-kit-daemon wrote very often (about every 0.2 sec!) to his logfile (/var/log/ConsoleKit/history) an apparent

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-27 Thread HighInBC
A graph of how this problem effects my CPU over the course of 11 days uptime. console-kit-daemon was using 100% of my CPU most of the time when I finally rebooted. I have a cronjob that runs every minute so I am spawning 1440 logins a day. ** Attachment added: Increasing CPU usage over 11 days

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-23 Thread Marcin Woloszyn
As for me it only concerns Ubuntu 8.10 Server, i386, on quad core Xeon, right now, it results: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 30189 root 39 19 38672 22m 1624 R 100 2.3 9358:44

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-23 Thread David Taylor
Is it safe to kill console-kit process? There are no side effects for me. -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-23 Thread James Westby
Jeffrey, thanks for the investigation. I agree with your assesment. It seems like the attached patch may be enough to solve this. It is completely untested though. Would someone who sees this issue be able to test it? Thanks, James ** Changed in: consolekit (Ubuntu) Importance: Undecided =

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-23 Thread Jeffrey Baker
I think you nailed it, James. With your patch, c-k-d uses a steady amount of CPU over time (about 2% with a high login load). It's still leaking memory slowly, but I now assume that's a separate bug. +1 from me on your patch. Note that it applied with an offset to the Intrepid version of

Re: [Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-23 Thread James Westby
On Sun, 2008-11-23 at 19:37 +, Jeffrey Baker wrote: I think you nailed it, James. With your patch, c-k-d uses a steady amount of CPU over time (about 2% with a high login load). It's still leaking memory slowly, but I now assume that's a separate bug. Thanks for testing, glad to know

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-23 Thread Jeffrey Baker
I think you would be able to reproduce it with just slightly more testing time. 1000 logins probably isn't enough to reveal the problem. I just do while `true`; do ssh localhost echo '$$'; done and let it run for an hour, or overnight, and then I believe you'll see it. There's no special reason

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-22 Thread jh
Similarly, I have a headless server that does all its work from cron. After a while (maybe a week), it's unusable because console-kit-daemon is taking 99% of the CPU. Removal seems unwise, as it offers to remove lots of useful packages, so I suppose the answer is another cron job that kills

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-22 Thread David Taylor
I haven't seen this in a wee while, maybe it's because I have started to shutdown instead of serializing to RAM but I'm not too sure. Somewhat surprised that a month old server crippling bug is still of 'unknown' importance; in my case it's severe This is why Debian is still such a good choice

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-22 Thread Jeffrey Baker
I profiled this piece of junk. Console kit daemon spends more than 94% of its time in g_slist_find() at the top of this stack: #0 0xb7f17db9 in IA__g_slist_find (list=0xa164ae0, data=0xa033210) at /build/buildd/glib2.0-2.18.2/glib/gslist.c:574 #1 0xb800c5a9 in dbus_g_proxy_manager_filter

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-19 Thread Ryan Davies
I get the same, except in the server flavour of Ubuntu. I'll be sitting here, and every 10-15 minutes, the CPU jumps to 100%, the fan goes full tilt. I thought it might have been alot of dust, but after having htop running for a bit, i notice console-kit-daemon is the culprit. --

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-11 Thread David Taylor
Ditto for me if I leave the PC/Lap Top on for some time when I return to it the fan is going full tilt and it's all due to the 'console-kit-dae' process making my CPU work alot. What is its purpose because if I kill the process there are seemingly no ill effects, can I just bin it and suffer no

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-03 Thread Mirar
This seems plausible. I have a 5 minute interval cron job (munin). Still need my outputs? -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-11-03 Thread James Westby
Hi, I have tried the ssh loop to try and trigger this, and console-kit-daemon uses a few percent CPU while it is running, but then immediately falls back to zero when it is killed. Do I need to wait longer for this to become evident? I am up to session 1096. Thanks, James --

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread Jeffrey Baker
The way I read it, sessions are being leaked into console-kit-daemon, and every time a session is added or removed console-kit-daemon does something that's either O(N) or O(N^2) or worse. I'm up to Session #31399 and every time a session is added or removed, c-k-d eats another 4 or 5 CPU seconds

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread Jeffrey Baker
Here's a really easy way to reproduce this problem. Assuming you have an ssh keypair which allows you to login on your own machine, do this: while `true`; do ssh localhost exit; done; console-kit-daemon will runaway with the CPU eventually. In my opinion this is a very serious problem for

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread Jeffrey Baker
** Bug watch added: freedesktop.org Bugzilla #18330 https://bugs.freedesktop.org/show_bug.cgi?id=18330 ** Also affects: consolekit via https://bugs.freedesktop.org/show_bug.cgi?id=18330 Importance: Unknown Status: Unknown -- console-kit-daemon using a lot of cpu

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread Bug Watch Updater
** Changed in: consolekit Status: Unknown = Confirmed -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread Jeffrey Baker
** Changed in: consolekit (Ubuntu) Status: New = Confirmed -- console-kit-daemon using a lot of cpu https://bugs.launchpad.net/bugs/284229 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread Mirar
Which reminds me, mine is now up to 6.5% cpu (almost 4 cpu-seconds a minute). Attaching new strace, run at this moment: 17226 root 20 0 177m 13m 1648 S0 0.7 176:55.62 console-kit-dae 17226 root 20 0 177m 13m 1648 S 62 0.7 176:57.50 console-kit-dae 17226 root

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-31 Thread James Westby
Hi, Thanks, you have some dbus activity, and it appears to be opening and closing sessions. Could you also grab some output from dbus-monitor --system so that we can watch the traffic (you might want to screen the output to check for private information) Also your /var/log/ConsoleKit/history

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-30 Thread Jeffrey Baker
I observe the same thing in 8.10 release. console-kit-daemon gets a steady 4% of CPU on a 3.0GHz Core 2 Duo. Minute-long strace attached. ** Attachment added: 60 seconds of strace of console-kit-daemon http://launchpadlibrarian.net/19098326/trace -- console-kit-daemon using a lot of cpu

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-29 Thread Mirar
It's not using a lot of cpu yet, but it's up to an average of 3% now, 1.8 cpu-seconds per minute on average. PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 17226 root 20 0 175m 9684 1748 R

Re: [Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-26 Thread James Westby
On Sat, 2008-10-25 at 17:23 +, Mirar wrote: I restarted the process now, so probably everything's normal... 17226 root 20 0 168m 3376 1632 S0 0.2 0:15.08 console- kit-dae It usually takes at least a few days before it uses a noticable amount of cpu. It uses 0.07% cpu on

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-25 Thread James Westby
Hi, Could you please grab an strace of the process? sudo strace -f -o /tmp/consolekit-strace.txt -p PID where PID is taken from top or similar, 28634 in your last comment. Once you have captured a couple of minutes worth ctrl-c the strace and attach /tmp/consolekit-strace.txt to the bug.

[Bug 284229] Re: console-kit-daemon using a lot of cpu

2008-10-25 Thread Mirar
I restarted the process now, so probably everything's normal... 17226 root 20 0 168m 3376 1632 S0 0.2 0:15.08 console- kit-dae It usually takes at least a few days before it uses a noticable amount of cpu. It uses 0.07% cpu on average right now. ** Attachment added: strace of