418 points · by joshbaptiste · 10y ago · 161 comments
One of the developers remarked that while he was proud the system he worked on could deliver such uptimes, having an uptime of, say, three years, on a server, also meant that a) its hardware was kind of dated and b) it had not received kernel updates (and probably no other updates, either) for as long. (Which might be okay, if your system is well tucked away behind a good firewall, but is kind of insane if it is directly reachable from the Internet.)
Still, that is really impressive.
[1] http://metadata.ftp-master.debian.org/changelogs/main/l/linu... [2] http://metadata.ftp-master.debian.org/changelogs/main/l/linu...
Also, boot time bugs are a huge issue. They can creep during the entire time your system is up, and only show up during a reboot. Thus, if your server only has unplanned restarts, you'll only discover those bugs when you have yet another pressing issue to deal with, and also, likely at 3 in the morning on a Sunday.
So, make things better for you, and restart those servers once in a while, when things are quiet.
It's rare to see a kernel-bug that can't be worked around in some way other than patching.
While it's true that most critical bugs I've run into with the kernel can be workaround in some way, it's at the detriment to some use-case that some users, somewhere rely upon.
A vulnerability I discovered a bit of a year ago allowed local privilege escalation for any user with access to write to an XFS filesystem. The only workarounds were to modify their SELinux policies or switch to another filesystem. I'm not aware of any users that rewrote their SELinux policies for this. It had been fixed in the kernel and fairly quietly fixed in a RedHat security advisory, but I don't think any other distribution did anything at all.
I'd estimate that critical kernel bugs happen at least other month. Worse, discussion of these bugs happens in the public and takes dozens of months to fix. Again, assuming you even know of these vulnerabilities, while there are often workarounds, they're not always practical.
Did you know that via user namespaces, all non-root users on a machine can elevate to a root user? That root user is supposed to be limited, but it's allowed the mount syscall. Numerous vulnerabilities have been discovered as a result of this. The kernel team usually considers them low-impact and they get a low CVSS score, but when using certain applications this can lead to local privilege escalation. The workarounds are to disable user namespaces or disable mount for user namespaces, both of which will break some set of users.
Did you know that any user capable of creating a socket can load kernel modules? For a long time this allowed loading ANY kernel module! The only workarounds were to compile it out of the kernel or monkeypatch the kernel. Only last year was this was finally fixed upstream so only those modules patching a pattern were loading. Yet, it was also discovered that if you used busybox's modprobe, the filter would still allow non-root users to load arbitrary kernel modules from anywhere on the filesystem!
Point being, this is par for the course. Clearly one needs to understand their threat model, but if the model is at all worried about local privilege escalation, update weekly until you find another OS.
I've seen many windows systems with uptimes of several years that have never required any maintenance.
Which is of course, a really bad idea for the general case.
Although it is actually kind of a requirement in some industrial environments, where certifications are involved - once the thing is certified, any change, hardware or software, requires a re-certification, which apparently is expensive and tedious. Which is how many industrial plants, too, end up running on ancient computers, at least by todays's standards.
If the system is sufficiently critical, it may be hard to update or migrate it. And if it's still safely working there's no real incentive to do so.
In the very short term, perhaps. But I'd argue that critical systems are the ones most in need of the ability to be frequently updated and migrated. What's going to happen when a serious security problem demands an immediate change, and you're not prepared for it? Or the system catches fire, or floods?
SPOF critical systems are why so many organisations end up in legacy software hell.
Not my favorite company.
(On Windows, a lot more updates require a reboot, though, because one cannot replace/delete a file that is opened.)
Even though the thing is old, I'm guessing the uptime is not that impressive?
Not really up-to-date I'd say...
"The post, made by a chap named Ross..."
"The drive's a Seagate, for those of you..."There are also certain things which grate rather badly with me when reading US "style" too.
For example, "Recall our previous conversation...." Use of recall in this way feels so impolite and demanding. Normal use for me would be, "You may recall our previous conversation...."
Anyway, this is not a bashing session, I just genuinely didn't find anything odd about El Reg's writing style.
Just saying to recall the previous conversation is an indicator that previous context is required.
b) I keep forgetting about 'El Reg', but whenever I return there, I enjoy my visit. It has a strong, unique tone which I find a breath of fresh air amongst all the dull, neutral news reporting out there.
It's better explained by simply describing the site as a tabloid. Tabloids aside, British news reporting isn't typically that informal.
> I keep forgetting about 'El Reg', but whenever I return there, I enjoy my visit. It has a strong, unique tone which I find a breath of fresh air amongst all the dull, neutral news reporting out there.
Personally I find the site appalling. It's up there with the The Daily Mail for rewriting other people's articles. Granted this is basically how 99% of reporting happens these days, but these kinds of tabloids often miss the entire crux of the original piece they're plagiarizing due to their editorialisation. For example, their articles on OpenSSL parallels the Daily Mail's absurd anti-immigration propaganda. And often, again like the Daily Mail, El Reg will completely miss-report a story just for the sake of having a clickbait headline.
Frankly, I'd rather have dull neutral news reporting over biased misinformation.
They're basically the tabloid press of the tech news industry. But their writing style is fun, I'll grant them that.
People here forging ahead with innovative hardware, why not just record brief details of dates and setups in the back of a diary or something. In 30 years time, you'll be able to start threads like this!
Pentium Pro 180Mhz running OpenBSD 64MB RAM with a perl BBS averaging around 10k hits / day.
Wasn't worth the electricity to run that thing. It still worked when I put it out on the corner.
http://www.digitalprognosis.com/pics/bye-bye-uptime.png
I was sad that we had to shut it down, but we had to shut it down due to migrating our primary colo to another city and were going to retire all of the hardware. I'd been manually backporting bind fixes, building my own version, and had to do some config tweaks when Dan Kaminski released his DNS vulns to the world.
It is always a sad day to retire an old server like that, but 18 years... What a winner!
Edit:
But 1158 days for an old dell 1750 running RHEL4 isn't too bad considering it serviced all kinds of external dns requests for the firm. Its secondary didn't have the uptime due to constant power issues in the backup datacenter and incompetent people managing the UPS.
The last blackout I personally saw was in 2006, the famous one which killed half of Europe's grid.
With average yearly downtime of 17min, it's not hard to find places that had no downtime for decades.
Situation is a bit different in America
> Twenty eight seconds later, an electrical blackout had cascaded across Europe extending from Poland in the north-east, to the Benelux countries and France in the west, through to Portugal, Spain and Morocco in the south-west, and across to Greece and the Balkans in the south-east.
https://en.wikipedia.org/wiki/2006_European_blackout
There were even some TV documentaries about it, and in some areas it continued for days.
Considering that the datacenter it was in is now the Dropbox office, I'm guessing it had to be shut down and moved at some point, but 2+ years seemed like a really long time even then!
FreeBSD is just really good at lasting forever.
In my experience, the past decade has been a time of trying to be more rigorous than ever about regular patching, routine reboots, and respinning VMs to ensure that your provisioning systems work as intended, so you never again end up with these monolithic irreplaceable systems.
These days, the only time I find servers with big uptimes is when they've been neglected -- they're some old bastard child of some former employee or the ancient rickety crap some department is too afraid to touch... And even then, it doesn't raise an eyebrow until it's 1000+ days.
In 2002 I had installed on the machines under my guard some program that reported uptime to some website. One of my machines, an SGI Indy workstation, had a high uptime, about 2 years. Then a new intern came, and we installed him next to the Indy. Unfortunately, his feet under the desk pulled some cables and unplugged the Indy and broke my hopes of records :)
When it was in the basement of my home/office, I would sometimes hear it's disks wine as I was working out (lifting weights and such). It was even in my basement through parties in my early bootstrap years.
I originally bought it to run WinNT 4.0 for a new company a friend of mine and I bootstrapped. I would guess a couple years later is when I put Slackware on it. It's running a 2.0 linux kernel. It's not exposed to the public Internet.
It use to be a local Samba, DHCP, and DNS server for the company. I eventually upgraded to new hardware and left this server around for redundant backups. I develop software so copies of my git repositories find their way onto this box each night. It is in no way relied upon other than to call upon it out of convenience if another server is down or being upgraded, etc...
At one point the box was in the basement of my home when a small amount of water got to the basement floor and because the box sat just high enough on rubber feet, no damage. Occasionally I go back there and pull the cob webs off it.
There is no SSL on it. We still telnet into it or access the SMB shares for nostalgia. It's sort of a joke in the office these days to see how long it will last or if it will simply out last us.
The UPSes pretty much keep things running for a couple hours - most of my mission critical hosting servers are are in data centers these days and for the office, our servers sit on the UPSes where at most we lose power maybe an hour every couple years in the office park. Much more often in a residential area.
When that large blackout of 2003 occurred we were down for couple days. https://en.wikipedia.org/wiki/Northeast_blackout_of_2003
A lab was decommisioning an instrument controller that had been running non-stop since they had first spun it up, fresh out of tge paking box, a decade previous.
And they had never backed up any of the data. Sure, the solution was the pretty straight forward use of a stack of floppies. It was still pretty nerve-wracking having a bunch of high-powered research scientists watching over my shoulder, "making sure" I got all their research data off the machine they were too smart to ever back up themselves. Good Times.
I set it up, threw it under a table in the corner with nothing but a power and ethernet cable, and moved on.
I was surprised when 5 years later he called to ask why it had stopped working. I told him where it was, he rebooted it, and it came back.
(My memory was a little fuzzy but I probably set it up in 2001-2002 and it ran until at least 2007-2008)
Reminds me of the old gag: "I've had that broom for 14 years. It's only had 2 new heads and 3 new handles."
At least the server in the original story stayed original.
It was torn down in 1916 and then a replica was built in the same place in 1919.
I know it's anecdotal, but the machine seemed to retain some core unwillingness to restart even though every piece of it had been replaced separately. I believe it was the same "broom" even though every component was different from the original.
The game of one-upping doesn't raise the quality of the discussion.
- Chuck NorrisThere's no need to involve Chuck.