[Bug 148454]
Ionut Biru
ibiru at archlinux.org
Thu Nov 24 06:37:45 UTC 2011
(In reply to comment #31)
> BTW, if somebody cares enough: this bug could be fixed properly now as Kay's
> patch got merged into .38.
>
> There's now a file "/sys/class/tty/tty0/active" which you can read to get the
> current VT. And you can poll() for it and will get POLLPRI every time the VT
> changes.
>
> That said, given that CK is being retired anyway sooner or later (merged into
> systemd) I do wonder if it is really worth working on this for now.
yes it does. there are other distros out there that doesn't use systemd at all and doesn't have the intention to use it.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/148454
Title:
console-kit-daemon spawns too many threads
Status in ConsoleKit:
Confirmed
Status in “consolekit” package in Ubuntu:
Opinion
Status in “consolekit” package in Fedora:
Invalid
Bug description:
since upgrading to gutsy beta htop shows about fifty processes like
the following
pid user pri ni virt res shr s cpu% mem% time+ command
7582 root 23 0 7456 2016 1336 s 0.0 0.2 0:00.00 /usr/sbin/console-kit-deamon
It maybe the case that console-kit-daemon starts a thread for each
console that can theoretically exist. On Linux
(/usr/include/linux/vt.h) MAX_NR_CONSOLE is defined to be 63.
Note that those processes do not show up in DEFAULT top or ps output
--BUT-- if you run either of those tools with the -H parameter, so as
to display all the threads of a process, then they do show up.
To manage notifications about this bug go to:
https://bugs.launchpad.net/consolekit/+bug/148454/+subscriptions
More information about the foundations-bugs
mailing list