pingimage

Archive for June, 2009

So your mongrels are humming along happily and you have monit monitoring them with a definition like this:

check process mongrel_8010 with pidfile /path/to/current/log/mongrel.8010.pid
start program = “/usr/bin/mongrel_rails cluster::start -C /path/to/current/config/mongrel_cluster.yml –clean –only 8010″
stop program = “/usr/bin/mongrel_rails cluster::stop -C /path/to/current/config/mongrel_cluster.yml –clean –only 8010″

if failed host 127.0.0.1 port 8010
[...]

I wrote about Monticello, Minnesota and its fight with the local incumbent telco TDS last fall. At the time, TDS had its lawsuit against the city thrown out for lack of merit. No big surprise, since the gist of the suit was basically “they are going to compete with us, and they are going to [...]

df and zettabytes

This is a very confused filesystem. But check it out – df supports zettabytes!

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md0 19G -64Z 22G 101% [...]

on the G1’s bluetooth support

I got a G1 the other day, and have it upgraded to android 1.5 (cupcake). Turns out the bluetooth abilities of this phone are rather … limited, particularly compared to my trusty nokia E70:
G1:

$ sdptool browse 00:22:A5:XX:XX:XX
Browsing 00:22:A5:XX:XX:XX …
Service Name: Audio Source
Service RecHandle: 0×10000
Service Class ID List:
“Audio Source” (0×110a)
Protocol Descriptor List:
“L2CAP” [...]

IIS taking a nosedive

Netcraft’s June 2009 Web Server Survey is very interesting. Check out the IIS line on this graph (red):

That sharp drop is a reduction from 29,049,223 (May) to 21,898,527 (June) active sites. Netcraft explains the drop like this:
A reduction in activity at Microsoft Live Spaces was responsible for the large drop in the number of Microsoft-IIS [...]

I have a monit config that tries to stop/start mongrel instances like this:

start program = “/usr/bin/mongrel_rails cluster::start -C path-to-mongrel_cluster.yml –clean –only PORT”
stop program = “/usr/bin/mongrel_rails cluster::stop -C path-to-mongrel_cluster.yml –clean –only PORT”

I have the latest mongrel_cluster gem installed (1.0.5), and yet mongrel_rails kept throwing errors about –clean and –only:

invalid option: –clean for [...]

checking dns glue records

This is mostly a reminder to myself. Here’s a way to check a domain’s DNS glue records. For example, for google:

dig +trace +nosearch +all +norecurse google.com

A quick update on some of the bugs reported in my previous post bugs, bugs, bugs: upgrading to jaunty jackalope.
The two most serious problems were atrocious Intel video performance, and ongoing sound issues. Thankfully, the Intel issues have been addressed. Specifically, a really nice Troubleshooting Intel Performance document by Bryce Harrington has appeared. It lays [...]