Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I sometimes have an rtkit-daemon process eating 100% of my CPU and making the system unresponsive. I reboot and things are fine after that. What is rtkit-daemon supposed to do and why would it be sometimes eating up 100% of my CPU?

share|improve this question

2 Answers 2

up vote 9 down vote accepted

RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request. It is intended to be used as a secure mechanism to allow real-time scheduling to be used by normal user processes. Overall, I would not expect it to peg out CPU usage. What happens if you let it run its course and do not reboot? I would be curious to know how long rtkit-daemon is active at any given instance.

share|improve this answer
who comes up with these names rtkit-daemon could be easily interpreted as root kit daemon – pt123 Jun 30 '13 at 23:13
This is not an answer to the question "why would it be sometimes eating up 100% of my CPU?" and not a solution to the problem "making the system unresponsive". – twigmac Mar 18 '14 at 16:25
@twigmac Not even that. It merely explains what it should do, but not why it's randomly triggered and eats up 100% for several minutes once every few weeks. I've yet to find a pattern in it's behaviour. – Hugo Jun 8 '14 at 2:29

This noxious little program is one of many reasons I avoid anything with a pulseaudio dependency. It should be safe. Safety does not mean it will be respectful of user resources, e.g. cpu usage, so it can cause inconvenience, as you noticed. It would, however, be an ideal program to corrupt for nefarious purposes because its name always alarms, and then a quick google search allays all fear. Since the program is obnoxious by design, a corrupt version monopolizing resources would not raise many eyebrows.

You can partially check its safety by running:

ps aux | grep [r]tkit-daemon

which should show the program running is /usr/lib/rtkit/rtkit-daemon which being a system file is harder to overwrite.

The main issue is that genuine real-time privilege at the user level is rarely necessary. That this runs by default, mostly sitting idle, but occupying virtual memory is just one of the many bad design 'features' of pulse audio. That it periodically kicks in hogging resources just makes it worse.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.