Archive for the 'Beyond Nerddom' Category

radio streams for an alarm clock function

Monday, March 24th, 2008

So a long time ago, I realized that I wake up better with music helping me along. But the last year or so I’ve been using my cell phone as an alarm clock (’cause it’s always on a charged battery and has good clock synch).
Yesterday I tried the music thing again, using an at-job [...]

mpm-worker versus mpm-prefork, and mod_php versus fastcgi

Saturday, March 22nd, 2008

*Caution: nothing but geek-content here*
So Apache 2.2 has a couple of “stable” mpm’s, namely prefork and worker.
Prefork is the old tried-and-true method, where the server spawns $StartServers httpd processes, and on-demand starts additional up to $MaxClients. Each subprocess handles $MaxRequestsPerChild requests, then dies and is replaced as needed.
Worker, on the [...]

Fighting syn floods with iptables

Sunday, March 9th, 2008

The tracker I admin seems to be undergoing a bit of a syn flood, and the tcp_syncookies tools weren’t helping. My ip_conntrack table was filling at 65536 connections, and the tracker just wasn’t talking to anyone as a result. Lots of packets falling out, lots of full tables. Not sure if it’s [...]

Firefox X-forwarding weirdness…

Friday, December 28th, 2007

Ok, so check it out. This is like … the single strangest thing I’ve run into in the wide world of linux.
So, you start a local firefox session, then ssh to a machine with a -X (enabling x11 forwarding). Then on the remote machine, you run firefox. You get … another locally-running [...]

distro blues

Wednesday, November 28th, 2007

Ahh, the geekery. I wonder how many people this has happened to…
So basically, for the last couple years I lived almost exclusively in gentoo for all my linux needs. Sounds good, right? A single distro, albeit a source-based one. I got used to a lot of gentoo-isms. I had my [...]