Bug 25660 - ck-history is slow
Summary: ck-history is slow
Status: NEW
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 12:53 UTC by Brian Cameron
Modified: 2010-06-11 14:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Cameron 2009-12-15 12:53:18 UTC
ck-history is slow, often causing the GDM login GUI to pause or delay in launching.

See GDM bugzilla bug #594344:

  https://bugzilla.gnome.org/show_bug.cgi?id=594344

A patch was provided to make GDM cache the output of ck-history, but it seems better to fix this problem in the ConsoleKit layer.  If caching is necessary can it be added to ConsoleKit?
Comment 1 william.jon.mccann 2010-01-28 15:04:10 UTC
Sounds like a good idea.
Comment 2 william.jon.mccann 2010-06-11 12:57:47 UTC
A pretty simple fix might be to use the --since call from GDM:
http://cgit.freedesktop.org/ConsoleKit/commit/?id=c9f2292339540d4b9d8940bcef16b7485480c8d9

Probably with a month or two window.

Brian, can you test to see if that would help your situation?
Comment 3 Brian Cameron 2010-06-11 13:09:09 UTC
Sure, does GDM in head provide a configuration option so you can set the since value to use with ck-history, or is it necessary to hack GDM to add the option?
Comment 4 william.jon.mccann 2010-06-11 14:09:29 UTC
I've added a ~2 month value to master now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.