All Systems Are Go

Looks like I got all (or most) of the kinks worked out. The site's been pretty stable for the last couple of days. Yeah, I know, it's ONLY a couple days. Compared to crashing every couple hours (or completely out), I'll take that as very good news.

When I first transferred the site from Hurricane Electric to Linode a couple weeks ago, the site was pretty much dead. The problem was there were too many slow database queries that just piled up until it used up all of the server's resources and caused it to freeze. I use Drupal. Most of the those slow queries were generated by a Drupal module called Views. I ended up re-indexing some of the tables in the database and hacking into the Views module to speed up those queries. After I did that, the site was at least workable. The site loaded up pretty quickly (in seconds instead of minutes). The only problem was it crashed every 2-5 hours and lots of error messages showed up on the site. I wrote a script that automatically rebooted the system and fixed the error messages. Each reboot took 5-10 minutes so it wasn't too bad. As a user, you might not even notice it. Still, the scary thing was one of the crashes could destroy or corrupt my data (very unlikely, but possible). I ordered more RAM for the server, and that fixed the outages.

After a couple weeks of on-and-off outages, traffic to the site went in the gutter obviously. I was apprehensive about looking at the logs. Fortunately, since the site stabilized, traffic is returning to its normal levels.

Like I said in the previous entry, I was pretty happy about the service from Hurricane Electric while I was with them. That is, until recently. Those guys are not responding to my request for a full backup of my database. Sure, I'm leaving them for another hosting company, but do they have to be an ass about it. It just leaves a bad taste in my mouth. A couple weeks ago, I had even recommended them to a relative. Now, I'm kinda regretting doing that.

So far, I'm really happy with Linode. Best customer service ever. They do it thru IRC (internet relay chat). Even though I didn't know much about setting up a web server, I was able to set this whole thing up by instant messaging them on IRC. I'm thinking other companies should offer a similiar service.

SENH'S LATEST BLOG ENTRIES
  • "Storm The Gates" Mobile Game
    My friends just launched a mobile game called "Storm the Gates"! It's available on both Android and iOS. I'm not much of a gamer, so I didn't know what to do when I started it. But my 9-year-old son turned it on and knew exactly what to do. More
  • "Ip Man 3" Has New Release Date in China and Posters to Prove It
    Over at MoviesWithButter.com, I’ve written two articles regarding “Ip Man 3,” the film that’s holding its own in Asian territories against “Star Wars: The Force Awakens.” If you’re not familiar with Asian cinema,”Ip Man” one of the most popular franchises in that area of the world. More
  • Live-Blogged The Golden Globes at MWB
    Yesterday, I live-blogged The Golden Globes -- for various reasons. First, it gets traffic. Second, I might as well do something useful while watching TV. Lastly, I was looking forward to seeing Ricky Gervais host the event again. Nothing against Tina Fey and Amy Poehler, but he’s my favorite. A google search revealed that the last time I did this for this award show was More
  • Kings vs. Mavs: Ominous Stats, News for Sacramento Before Game
    The preview on NBA.com and the injury report from SactownRoyalty.com don’t look good for the Sacramento Kings going into tonight’s game against the playoff-bound Dallas Mavericks. More
  • What?! Kings Beat Thunder, 116-104
    (Image from the Sacramento Bee. Click here to view more images from the game.) What a win. It was a wild one, especially in the first half. We [Sacramento Kings] were down by 17 in the first quarter. In frustration, I was about to turn off the TV, but the teaml called a timeout. More
SENH'S RELATED BLOG ENTRIES
  • A Couple Week's of Down Time
    You may have noticed that the site has been pretty unstable lately. That's because I moved my site to another internet service provider. More
  • Finally Upgraded Sites to Use New Hardware from Linode Cloud: SSDs, Double RAM, Faster CPUs
    Around April, my VPS provider Linode announced that they’ve just finished a major $45M upgrade to their hardware and network, which means free upgrades for their existing users. The new hardware uses SSD RAID drives and faster CPUs. I hadn’t bothered because Wopular and Movies With Butter have been relatively stable. More
  • Another Network Outage ... Argh ...
    I spent the whole day dealing with servers. The facility where Wopular and MoviesWithButter are hosted were having some network issues. I was able to get MWB up and running within an hour or so. Wopular was a whole different story. More
  • Improving MySQL Performance with Query Cache
    In my continued efforts to make the site run faster, I’ve set my sights on query caching on MySQL. I think query caching is turned on by default when you install MySQL. At least for me, I didn’t have to do anything. More
  • Pressflow, Locked Tables & Hang Time
    I just installed Pressflow and simultaneously updated Drupal late last week. Pressflow is a modified version of Drupal that allows it to scale more easily. For sites with huge traffic and databases, it's essential. It supports database replication, Squid and Varnish reverse-proxy caching, and is optimized for MySQL and PHP 5. More

 

Comment On This Story