Ubuntu consolekit taking up enormous amounts of memory/cpu

Posted by on October 31, 2011 in Operating Systems, Ubuntu | 0 comments

I have an older machine that only has a small CPU and a small amount of memory. Ubuntu is designed to run on low resource computers, but It was going into extreme swap situations all the time. I recently go fed up with it, and did two things to help.

The first is I changed the swapiness value, which is the tendency of the server to use swap.

#edit /etc/sysctl.conf
vm.swappiness=0

The second is that I removed consolekit using:

apt-get remove consolekit

I’ve not fully tested whether the machine will get bogged down again, but the results look good so far.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>