WARNING: Techno-bitching ahead. No content of general interest to be found in this post.
I noticed yesterday as I was trying to update the work website that FTP’d files would copy over but would not appear on the website itself when I’d try to access them. This morning, upon trying to RDC into our hosted Windows VPS to see what was going on, I was greeted by a slew of semi-English warnings telling me that the desktop could not be rebuilt, capped off by a stern rebuke that my disk space was running out.
Knowing full-well that there was no way in hell that I had filled up 5 gigs of server space, I took this to be a sign of general system-level badness, so I called our hosting company’s support line. A chipper young woman answered my call, proceeded to try to FTP a file and to try to RDC as well, and having confirmed that I wasn’t a liar, she escalated my issue to Tier 2 Support. They’ll get back to you within two hours, she chirped.
Dutifully enough, two hours later I heard back from Tier 2:
Your server crashed and could not be restarted. We believe the data should be recoverable. A new server is provisioned. Please allow 1-2 hours for the server to be provisioned.
The first two hours were fine—the site was up and running. These next two: not so much. Fortunately, my backups were in OK shape, so even if everything was hosed on the server I knew I could probably get back up within a reasonable timeframe. Still, downtime sucks big nuts, especially mid-day, mid-week, with no easy way to get a “we’ll be right back” message up on the site without messing with DNS settings.
Luckily, the server was up in less than two hours with all my data happily restored. So what was the problem, I asked? What was eating up the space?
Most space is eaten up slowly by Windows updates with all the files they have to download to install the updates. The data is in c:\windows\softwaredistribution\downloads folder. This folder usually has most of the unused.
I know, it’s a Virtual Private Server and I have to administer it, so it’s my responsibility at the end of the day. But what the fuck, Microsoft? Can’t you write a script to keep this folder clean? More than 3 gigs of detritus from updates?
Anywho, I’m seriously considering redoing the work site in PHP and getting myself a nice UNIX box. There’ll be some learning to be done, but I feel like it’ll be a far better experience. I’m thinking of getting myself a Joyent Accelerator1 and migrating the site to Textpattern. There’ll be some hacking necessary to make it work for us, but I think it might be the way to go.
Look for New Contrarian to migrate first as a test case in the coming weeks.