TroyGrosfield.com TroyGrosfield.com

Headline

Ubuntu Bus Error

Author
by Troy Grosfield
Date
February 23rd, 2012
Category
Developer
Story

The Problem

Ran into an issue where we couldn’t restart celeryd on our production servers.  When we’d try to restart celery using our init.d script we would see the following:

$ /etc/init.d/celeryd restart
Bus error

We then tried to go to our Django project and go into the shell and came across the same error:

$ python manage.py shell
Bus error

The Solution

Turns out we had run a script that was causing celery to fail which caused the logs to fill up. The log files were so large that nothing else could be created in the celery logs folder. Found this out by trying to archive the old logs. When I went to issue the mkdir archive command, I received a message saying the folder couldn’t be created because there wasn’t any more space left. So I delete all the old archived logs and all processes started to work normal again.

Tags
Comments
No Comments »

No Comments Yet

Leave a reply