Server

God process monitor 0.8.0 major improvement

God is a ruby based process monitor that has a reputation for leaking memory and hogging system resources. I have been considering replacing God with monit for some time. A couple of days ago I noticed a retweet by John Mettraux about a ruby debugging presentation by Aman Gupta. The presentation covers various debugging tools and gives a number of examples, including Eric Lindvall's work debugging the God process monitor (slide 41). Obviously I had to try it and the following is my experience.
Published on Sat, 05 Dec 2009 17:09
0 comments

Changing Hard Drives

I spent the weekend switching the RAID1 array of 1TB Seagate® Barracuda® 7200.11 drives on my server with the newer 1TB Seagate® Barracuda® 7200.12 RAID1 array in my workstation. There was an LVM volume group called raid1 running on top of each raid array. I had some problems because I forgot to remove the raid superblock from the first drives before adding them into the new machine, which resulted in a duplicate raid1 volume group. The following is the process I used to transfer the drives and how I resulted the duplicate volume group problem.
Published on Tue, 24 Nov 2009 12:59
1 comment

Typo on rails 2.3.3 makes it into mainline

Frédéric de Villamil committed my rails 2.3.3 patches to HEAD[1] last night. Frédéric had an interesting post[2] on there plans to re-factoring typo. The 2.3.3 patches have reduced the memory usage quite a lot. Once I have rebased this blogs varnish patches to the new HEAD I am going to look at getting typo running on ruby 1.9.1

1. http://rubyforge.org/pipermail/typo-list/2009-August/004922.html

2. http://blog.typosphere.org/news-from-a-summerish-typo.html

Published on Wed, 05 Aug 2009 14:44
0 comments

Porting typo blog to rails 2.3.2

After looking at some of the cool features of rails 2.3.2 (like rack integeration) and its claimed compatibility with ruby 1.9.1 I decided to port typo blog 5.3.x from rails 2.2.2. This blog is running on the result of that effort.

Published on Sat, 01 Aug 2009 04:54
0 comments

Monitoring traffic with munin and shorewall

I have been using munin to monitor servers for some time. Recently I noticed a message in pages generated by network traffic plugin if_ which stated the plugin doesn't work reliably on 32 bit systems were bursts may exceed 50Mbps. As I was monitoring a 100Mbit and 1Gbit interface this problem could effect my system. The message from the if_ plugin suggested I use the ip_ plugin which uses iptables to find the packet count and should work on a 32 bit system. The problem with this plugin is that it requires you to add INPUT and OUTPUT tables
Published on Sun, 05 Apr 2009 14:38
3 comments

Replacing page cache with varnish

I am finally getting somewhere with configuring varnish to run in front of typo. I just need to add code to purge the varnish cache when pages are expired and add ESI support so page can be semi cached in varnish and composed on demand. The following is the code so fare. First adding PURGE to net/http
Published on Wed, 10 Sep 2008 14:21
0 comments

RSS