Rob Golding

Technology Consultant

Fixing Google Chrome’s 100% CPU Usage on Ubuntu

June 7th, 2010 by Rob Golding

I've been battling with this issue for a couple of months now, ever since I upgraded to Ubuntu 10.04 on my main desktop machine. Google Chrome would constantly max out one core, with no indication of what it was doing, or why.

Today, I finally solved the issue. It turns out that something to do with the m4 package was causing the error, with the following output:

MozPlugger: Error: Failed to execute m4.
Mozplugger: M4 parsing of config generated error

So, I checked out the package in question, and found that it wasn't installed. To my great relief (and some frustration), a simple

sudo apt-get install m4

fixed the problem instantly.

I only hope that this post solves this extremely annoying issue for someone else.

View Comments

Backtrac Implementation – The Major Decisions

June 3rd, 2010 by Rob Golding

Thinking a lot about my 3rd year project, I've been considering how to implement a backup system based around a Django server. So far, I have reached the conclusion that the system will consist of three main parts:

  • The Django server (yet to be named)
  • The client daemon (backtracd)
  • The backup library itself (backuplib)

Read the rest of this entry →

View Comments

3rd Year Project: Back to Backtrac

May 25th, 2010 by Rob Golding

After contacting the university regarding my 3rd year project/dissertation, my ideal choice has been confirmed. I'll be making a distributed backup system, based around a Django web interface and AMQP.

Read the rest of this entry →

View Comments

Django Staging Server: Apache Configuration

May 7th, 2010 by Rob Golding

In this post, I'd like to talk a little about how my staging server (called Kaylee, after the character from Firefly), is configured to run the multiple Django projects that I have on the go. A lot of the other articles I have read on this subject use mod_python but my server is configured to use WSGI, so that's what I will be going over in this post.

Read the rest of this entry →

View Comments

Extending Settings Variables with local_settings.py in Django

May 3rd, 2010 by Rob Golding

I discovered this hacky way to use the local_settings trick to extend and/or override values in the main Django settings file today. Some projects use a "reverse" version of the local_settings trick (which is explained below), whereby the main settings file becomes settings_local.py or something similar, which first imports settings.py, and then extends or overrides the values as required. Read the rest of this entry →

View Comments