consolekit thread explosion ...

Michael Meeks michael.meeks at novell.com
Wed May 14 07:55:06 PDT 2008


Hi there,

	Kay mentioned you might be interested in this :-)

	Having logged into & out of my (opensuse factory) desktop for a while -
I run 'pstree -p' and I'm always amazed at how much thread-space
consolekit takes up in that view.

$ pstree -p | grep console-kit | wc -l
62

	Do we really need 62 threads they all appear quiescent; and
interestingly lsof shows:

console-k 2201 root   17r   DIR        8,2     4096 367539 /usr/lib/ConsoleKit/run-session.d
console-k 2201 root   18r   DIR        8,2     4096 809348 /etc/ConsoleKit/run-session.d
console-k 2201 root   19r   DIR        8,2     4096 367539 /usr/lib/ConsoleKit/run-session.d
console-k 2201 root   20r   DIR        8,2     4096 809348 /etc/ConsoleKit/run-session.d
console-k 2201 root   21r   DIR        8,2     4096 367539 /usr/lib/ConsoleKit/run-session.d
console-k 2201 root   22r   DIR        8,2     4096 809348 /etc/ConsoleKit/run-session.d
console-k 2201 root   23r   DIR        8,2     4096 367539 /usr/lib/ConsoleKit/run-session.d
console-k 2201 root   24r   DIR        8,2     4096 809348 /etc/ConsoleKit/run-session.d
..

	over and over again: is that deliberate ? one file handle per thread ?
I guess I don't know what that is doing; presumably it's a known issue
(?) - if not, should I file it as a bug ? I have:

$ rpm -q hal
hal-0.5.10_git20080319-21
$ rpm -q ConsoleKit
ConsoleKit-0.2.10-7

	Thanks,

		Michael.

-- 
 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot




More information about the hal mailing list