812 days, 11 hours, 52 minutes. A personal best.. uptime that is. That is how long one of my FreeBSD server’s stayed online doing what it does best — serving web pages, receiving and sending mail, checking for spam, responding to DNS queries, monitoring networks, protecting the LAN and hosting databases.
Quite impressive. The server would still be online if it wasn’t for a site-wide power outage (scheduled) that lasted over 12 hours.
The server started life in 2002 as a Red Hat file and print server and was migrated to FreeBSD in 2004. In October of 2005 it was moved to its final location and powered on fully for the last time. During the life of this system, it (as I recall) never crashed or otherwise failed to provide service. Not too shabby for some sale items from Fry’s Electronics thrown together in a cheap case.
Sadly, when the server was scheduled for powering up, the motherboard failed. After running for so long (over 5 years of continuous use) I think some of the components on the motherboard simply failed (most likely due to the ambient temperature and cooling of the components while powered down).
All is not sad. As it WAS a FreeBSD machine, I was able to simply pull the hard drive from the old computer, plug it into a newer Dell desktop computer (spare until I can officially replace) and booted up. A few minutes later after adjusting configuration for the new hardware (network interface card assignments) and everything was back online.
Ultimately, once the power was back on, there was perhaps a total of 20 minutes of outage. This is the limit I give myself before I decided to fail over to a reduced functionality server (backup server) and then troubleshoot the issue further (unrack the server, troubleshoot to determine the issue, fine a secondary computer and transplant the hard drive). The new stand-in server was online and operating in full capacity within an hour and fifteen minutes.
Once the new server is acquired and installed, it will be interesting to see if it will beat the 812.5 days of uptime.