Archive for the ‘General’ Category.

Before the upgrade..

I just want to say that Adam Corolla is a better death than Norm Mcdonald on Family Guy. Debate it if you want but Norm Mcdonald is a turd.

Why uptime is bad

Growing up in the world of linux uptime was always considered a good thing. On IRC every once in a while someone would post an uptime. Everyone else in that channel would then check their uptime and if it was greater or close they would post it in the channel. Most of these systems were home linux boxes used for compiling random programs or maybe hosting a webserver for experimenting. It was fun to see how long we could keep them running for. Since those days I have come to realize that high uptimes are a bad thing.
Keeping a server up for months or even years means that you aren’t maintaining it. It hasn’t been kept up to date with new kernels that have fixes for security holes. It doesn’t have new packages or new tools that can help it run more efficiently and have features that can make using it easier. It’s also not up to date with new servers that are being deployed which means that people logging into your server with a high uptime have to adjust themselves to the older software and possible missing tools.

Hardware fails, colos lose power, network connections, and sometimes catch on fire. If you’re entire system depends on a single server, say a mysql master. It’s going to fail. I know there are mysql servers out there that have been up for years. Those are going to fail. It’s inevitable. If you’re system is not designed to withstand the failure of a master it should be fixed. Jeremy Cole and I gave a tutorial at the 2006 MySQL User Conference about MySQL replication and failover. See Jeremy’s blog for links to the presentation and photos.

“But I can’t take down my master to fix it?” It’s much better to do a planned downtime than it is to get paged at 3am because the master died and the whole site is down. Take some time. Plan to take down the master and fix the system. It will be worth it in the end. If your manager says no to a planned downtime to make your website fault tolerant. Find a new job. Preferably at Yahoo! :)

By building a system that can handle the failure of a master it’s much easier to upgrade MySQL so you can take advantage of all the new nifty features.

26

The number of cars I saw off the road between ripon, ca and mountain view, ca due to over heating. I went up to ripon today to check out the Stanislaus river as a possible new fishing spot. According to my truck’s thermometer the high temp I saw today was 106F. There are a few steep grades on 580 going through pleasanton. People were working their cars too hard and simply overheated. One of the cars I saw pulled over was a convertible with a couch upside down in the back seat. I’m not sure what they were thinking but they paid for it. Here are some tips to prepare you for the summer heat.

If you see your car over heating turn on the heater and roll your windows down until it cools off. The heater works by running hot coolant from the engine through a little radiator. By turning on your heater with the fan on high you can help cool down the engine faster. Driving down the road with the heater on and windows down is much better than stopped on the side waiting for your car to cool off.
Change your radiator cap and thermostat. These two parts combined may cost you $10. They are well worth it. Radiator caps can wear out and blow prematurely. Thermostats can get stuck closed. Both of these parts are cheap to buy and easy to change yourself.

Check your coolant. Coolant testers are only a few dollars and can save you from a cracked block in the winter or overheating in the summer. Car coolant is a mixture of anti-freeze and water. The ratio of the mix determines the freezing point of the coolant. Coolant testers will tell you the approximate freezing point of coolant. During the hot summer months you can mix your coolant with a little more water to be a little more protected against overheating. Cheap testers will have several colored balls in them. Coolant testers are nothing more than a turkey baster with a few colored balls in them. The balls are a different weight and thus will float with higher density coolant. The number of floating or the color of the floating balls determines the freezing point.

If your going to be driving over hot mountains pack a few gallons of water (no need for anti-freeze) and some rags. If you do over heat pull over, shutdown the engine and wait for the car to cool down. This is important. If you radiator depressurized the water/steam coming out was well over 200F. WARNING!! IF YOU TRY TO OPEN THE RADIATOR CAP WHEN IT’S HOT THE RESULTING STEAM BLAST WILL BURN YOUR SKIN OFF. After the car is cooled down remove the cap with the rags and fill the radiator with water. Close the cap and you should be good to go. If you do fill your radiator with mostly water be sure to have your coolant flushed before winter. Waking up on a cold morning with a cracked block or all your freeze plugs on the ground is no fun.
It also helps to have a truck with a tow package (oversized radiator and transmission cooler) :)

Bait and switch

This post should be a (hopefully good) review of the chili served today. It’s not because there was no chili. Instead of $25,000 chili I was offered seafood chowder. My review of the chowder?

The quality was good but it just didn’t appeal to me.

The wrong way to upgrade MySQL

Expect a longer post in the near future on upgrade procedures. For now enjoy this quote from a gentoo user illustrating the worst way to upgrade.

linolium: is there a way to wipe every single table and start over from scratch?
linolium: ( the upgrade from mysql 4 to 5 didn’t go as smoothly as planned
me: did you read the upgrade notes?
linolium: no, I just hoped that portage would be kind enough to do those things for me

Cock-A-Leekie Soup

Am I going to try it? Hell no. The full menu entry is “Cock-A-Leekie Soup – Chicken and Leek Soup” Somtimes we get strange items on the lunch menu here at Yahoo! but that one has to be the worst.

$2.98 Beer




Photo_060305_001

Originally uploaded by Eric Bergen.

The Tied House in Mountain View has a very strange price structure. Apparently they want their bar tenders to get a lot of two cent tips because he charged me $2.98 for this beer. Very strange but still good beer.

Moving Rock

Being new to california I still don’t know about all of the local natural wonders that this area has to offer (except the wonder of high real estate :) ) Jeremy is planning a camping trip to death valley. He assures me that the tempuratures will be mild enough so we won’t die. One of the wonders of death valley is the moving rocks. No one knows excatly how these rocks move but it’s fun to think about. Here is an interesting article and some pictures to entertain you.

Flashing

Today’s out of context quote. I baited this one but it’s still funny:

Eric Bergen: are you flashing people?
Jeremy Cole: i flashed justin

Naked Celebrity Photoshoot.

All week there have been posters around the Yahoo campus about a naked celebrity photoshoot. Jeremy captured the action.

[update: 10/7/2005 - photoshoot is one word. Jeremy sent me a link to the poster ]