February 08, 2012: 10:05PM
A week back people were (again?) commenting on this posting
about the bin, sbin, usr/bin, etc directory splits on old UNIX systems. People
claim there hasn't been a reason to split any of these directories since the
That made me remember an old habit. When I was playing with linux in the late
90's, and running servers through the early 2000's, there was no journaled
filesystem you could rely on in enough situations.
By that I mean XFS, JFS, etc may have been around, but had niche performance
profiles or stability issues. What we had mostly was ext2.
I swear I first read this in a Slackware install guide, but I had the habit of
making /, /usr, /home, as well as /tmp or /var split into different mounts. The
theory was that the files in / changed least, /usr more often, with /home,
/tmp, and /var touched most often.
So in the case of power loss, kernel panic, or cords-wrapped-around-chairs, the
filesystems were split in highest odds of being able to boot again to rescue
the system. / contained just enough to boot, /usr had more useful utilities,
and /home had all your stuff. I personally benefitted from this split several
times on servers and a home machine.
So, really, the split's only been pointless since ext3 stopped eating people's
data as much.
July 28, 2011: 09:37PM
While tracking down a bug report in MogileFS, I discovered odd transactional behavior in MySQL. 5.0 is deadlock heavy, while 5.1 and onward can block write queries forever so long as read queries keep running. Read on for how weird this got, and a test application to display the issue...Welcome to my interblag
March 26, 2011: 03:21AM
After blogging semi-publicly on the LiiiiiiiiiiiiiveJournal for 11 years, I've moved the public end to its own site with a super minimal layout.
Over the years a few of my journal posts had taken up a life of their own, and started suffering from lack of maintenance. Journal/blog posts fade into the timeline once posted, so I've recreated this blog split in two; a short list of occasionally--updated articles, and the usual ordered list of posts.
Enjoy.Sessions in Memcached
March 26, 2011: 03:09AM
A very common question is "how do I put my sessions in memcached?" In this article I describe my favored pattern for doing so. I've updated the old oft-cited blog post and moved it to the new blog.