rugmonster.org sys admin guides, tips and one-liners

5Mar/097

Building mod_fastcgi on RHEL5

Apparently, I'm one of the only people who has ever built mod_fastcgi on Red Hat Enterprise Linux 5. At least after much Googling and gnashing of teeth, here's how it's done.

19Feb/093

Kill long running MySQL processes

It's all too common for me to come across a box that is hopelessly overloaded with Apache requests and MySQL queries. Sometimes, it takes some brute force to keep the whole box from going under. When all else fails, I use the following one-liner to kill off all of those queries that have been running for too long.