For several years now I show a countdown on this website (move your eyes towards your right and you will see it). It counts down until the Death of Computers.
'What does it mean?' you might ask... Here's the solution/explanation:
Countdown until Death of Computers
I would like to refer to the day Skynet becomes aware of its capacities and blows us humans away.. but it ain't the case with my countdown.
Actually the timer is counting down to January 19 2038, 03:14:07 UTC. What basically happens then is that the unix timestamp, which counts the seconds since January 1 1970 reaches the maximum, the highest possible number.
In 32bit systems this means that the system time will look like this:
11111111 11111111 11111111 11111111
32 single bits having the number 1. As I'm sure you know, computers "speak" binary: 0 and 1.
Once all 32 bit are having the number 1, the maximum number is achieved and it will logically continue like this:
10000000 00000000 00000000 00000000
But this messes the time system completely up! The human date will show 1901 and the unix timestamp will show something like -2147483643. Now try to program something, e.g. with PHP which uses the time() function and therefore the unix timestamp -> which is now a negative number!
Applications, Operating Systems and maybe even the hardware (depending on firmwares etc) will fail. This will have a global effect as so many things are connected now.
This problem is also known as Year 2038 problem, you may find more information on Wikipedia. I accidently stumbled over it after a typo of a time variable in a self-made PHP program what made me aware of this.
But of course I'm exhausting this fact a bit. Since this problem only affects 32bit systems, the problem is of course not known in 64bit systems, as there are 64 bits of 0 and 1. With 64bit this problem will only arrive in about 292 billion years. I don't think that mankind or earth will exist that long to worry about such a problem...
IGnatius T Foobar from United States wrote on Jun 14th, 2014:
I'm sure that by 2038 the vast majority of mainstream computers will have migrated to 64-bit. Who knows, maybe we'll even be lucky enough that non-unix operating systems will be extinct (really, there's only one major one left).
But there will certainly be some edge cases -- certainly enough to be an annoyance. It'll be an annoyance to tech people though, not enough to knock out the mainstream.
Everyone just needs to make sure they always use the type "time_t" and not "int" or even "long" when they refer to timestamps, so it's just a quick recompile.
Carl Friend from Massachusetts/USA wrote on Dec 4th, 2012:
Even in many 64-bit UNIX operating systems there is a problem -- many of them still have time_t defined as a (signed) int which is inexact at best at usually an int is a 32-bit value and one needs to go to a long long. Worse yet, the allocation on the filesystem for timestamps may still only be 32-bits and the conversion to a 64-bit value means a roll in the filesystem version necessitating either a backup/restore or an on-the-fly conversion from old to new(er).
But this isn't the worst case I've seen so far. The size of the year field for OS-8 was only three bits guaranteeing that the thing would go obsolete (or at least be able to keep track of dates) for 8 years. Those were the Bad Old Days.
Dan Sichel from O'Neals, Ca. wrote on Nov 9th, 2011:
In 292 billion years and one day, someone with a legacy system will be going damnit damnit, damnit, I knew we should have upgraded this thing.
AWS Android Ansible Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Container Containers CouchDB DB DNS Database Databases Docker ELK ElasticSearch Elasticsearch Filebeat FreeBSD GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb2 InfluxDB Internet Java Kibana Kubernetes LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Rancher SSL Security Shell SmartOS Solaris Surveillance SystemD TLS Tomcat Ubuntu Unix VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder