Thursday, January 10, 2008 at 10:18 AM

Simplifying Web Framework Deployment on Shared Hosting

On Dreamhost freaking out because they can’t get Rails deployed reliably.

ph7spot.com / Wednesday, September 10, 2008 at 11:10 AM

Effortless Thread Dump for Ruby:

Dump the stack trace of all threads in a running ruby process by signaling with -QUIT. Requires patching the ruby interpreter, which sucks because I need it for a process running right now.

alexandersandler.net / Wednesday, August 27, 2008 at 01:07 AM

tcpdump for Dummies

Alexander Sandler’s get-up-and-running guide to the tcpdump packet sniffer.

friedcpu.wordpress.com / Wednesday, April 02, 2008 at 08:33 AM

Why aren’t you using ionice yet???

I'm more than a little embarased that I've never heard of this utility. I think most modern kernels prioritize IO with normal nice, though…

spiteful.com / Tuesday, March 18, 2008 at 04:47 AM

Consistent Hashing

Superbly explained and with extremely useful circly diagrams. Bravo.

freebsd.org / Thursday, February 28, 2008 at 02:02 AM

FreeBSD 7.0-RELEASE Announcement

I thought I had a few more months. Dammit. This is going to be a huge time-sink.

faqs.org / Monday, February 25, 2008 at 01:06 PM

Csh Programming Considered Harmful

Uggghhh. I just spent 30 minutes hunting some arcane tcsh bug caused by coreutils dircolors. This is my revenge. I don’t even know I had any csh code running on this machine. It turns out that MacOS X’s /usr/bin/which is implemented in csh. Dumb.

purefiction.net / Friday, February 22, 2008 at 10:16 PM

Process title support for Mongrel

Constantly updates the the process title ($0) with something like: “mongrel_rails [10010/2/358]: handling 127.0.0.1: HEAD /feed/calendar/global/91/6de4”. Let’s you monitor backends with ps and top.

undeadly.org / Thursday, February 21, 2008 at 02:11 AM

Chroot in OpenSSH

“… adds a chroot(2) facility to sshd, controlled by a new sshd_config(5) option ‘ChrootDirectory’. This can be used to ‘jail’ users into a limited view of the filesystem, such as their home directory …”

linux.com / Monday, February 11, 2008 at 12:49 PM

Ubuntu's Upstart event-based init daemon

I have a strange fetish for init systems (sysv, rc, launchd, etc). This is the first quick introduction to Ubuntu’s new init system (Upstart) I've seen. Nice examples of using the initctl command and writing job files.

htop.sourceforge.net / Tuesday, February 05, 2008 at 10:53 PM

htop - top(1) replacement with hierarchical process listing, nicer keyboard interface, and more...

Runs on Linux and FreeBSD (with linproc mounted on /compat/linux/proc). I've always wondered why top(1) just kind of stopped being developed 10 years ago.

switchpipe.org / Sunday, February 03, 2008 at 08:48 PM

SwitchPipe - Process Manager and Proxy for Rapid Web App Deployment

Peter Cooper scratches the deployment problem itch.

ivarch.com / Tuesday, January 29, 2008 at 02:44 PM

pv(1) - Pipe Viewer

pv can be inserted into any normal pipeline between two processes to give a visual indication of how quickly data is passing through, how long it has taken, and an estimate of how long it will be until completion.

joshua.schachter.org / Thursday, January 24, 2008 at 06:09 AM

put a proxy in front

“… even if you have a single server, a proxy in front can help performance significantly. Through the simple expedient of buffering, your heavyweight processes don’t waste time serving every request for the entire length of time the client is connected”

kb.iu.edu / Thursday, January 17, 2008 at 07:21 AM

In Unix, what do some obscurely named commands stand for?

Dennis Ritchie: “There was a facility that would execute a bunch of commands stored in a file; it was called runcom for ‘run commands’, and the file began to be called ‘a runcom’. rc in Unix is a fossil from that usage.”

bob.pythonmac.org / Saturday, January 12, 2008 at 03:25 PM

Reverse proxy roundup

Bob Ippolito wrote up some pros and cons to reverse proxy implementations in different servers a few months back. I don’t think much of it is out of date at this point but nginx isn’t represented.

blog.ianbicking.org / Saturday, January 12, 2008 at 03:17 PM

What PHP Deployment Gets Right

Ian takes a look at some of the attributes of PHP’s deployment model, why they work so well (for PHP), and why other environments have such a hard time duplicating them.

al3x.net / Thursday, January 10, 2008 at 12:35 PM

Shared Hosting is a Ghetto

“The constraints, the instability, and the unpredictability of a shared hosting environment are a big part of the reason why the web hosting business is moving towards virtualization everywhere you look. Big kids need their own sandboxes to play in.”

wired.com / Thursday, January 10, 2008 at 12:03 PM

Steal This Wi-Fi

Schneier advocates running an open wireless network at home. I've been doing this for about a year because I couldn’t get the Wii to work with security enabled. When I thought about it, I came to many of the same conclussions Bruce does in the article.

blog.fourthirty.org / Monday, January 07, 2008 at 08:42 AM

Nmap for Beginners

I can never remember nmap args for some reason…

bruji.com / Thursday, November 08, 2007 at 12:02 AM

Bwana

Manual page URL handler for Safari (e.g., “man:bash”, “man:sort” in URL box). References to other man pages are hyperlinked very nicely and the pages themselves are formatted quite nicely.

links.org / Friday, October 12, 2007 at 11:54 AM

Configuring Apache httpd

Starting with absolutely no configuration file. This is why I've prefered lighttpd, because I can put together a separate config in about five minutes. httpd’s sprawling default config has always scared the crap out of me.

en.wikipedia.org / Wednesday, October 03, 2007 at 02:33 PM

The rsync(1) Algorithm

Some detail on rsync’s “rolling checksum” algorithm invented by Andrew Tridgell.

shelldorado.com / Tuesday, October 02, 2007 at 07:59 AM

Good Shell Coding Practices - Handling Command Line Arguments

Very nice look at different methods (good and bad) for handling the command line in sh scripts.

habilis.net / Saturday, September 22, 2007 at 11:39 AM

Cronic - A cure for Cron's chronic email problem

“… cron’s pathological behavior has be petrified into the Unix standards. So if it isn’t broken, it isn’t cron.”

howtoforge.com / Wednesday, May 16, 2007 at 08:10 AM

Server Monitoring With munin And monit On Debian Etch

Nifty combo.

macdevcenter.com / Sunday, May 06, 2007 at 12:36 AM

Exploring the Mac OS X Firewall [macdevcenter.com]

Awesome look at using advanced features of ipfw(8) on OS X.

linux.slashdot.org / Saturday, May 05, 2007 at 07:26 PM

Does Linux "Fail To Think Across Layers?" [slashdot.org]

Slashdot has become a horrible discussion forum for most topics. Disk theory and UNIX sysadmin type stuff is an exception, though. This story on ZFS might have the most informational comments I've seen in years.