Skip to content

LOL. Beware if you own 32-bit UNIX Systems.

October 22, 2011

From my Operating Systems book –

On computers using 32-bit words, the maximum value “time” can return is 2^32 – 1 seconds…This value corresponds to a little over 136 years. Thus in year 2106, 32-bit UNIX systems will go berserk, not unlike the famous Y2K problem that would have wreaked havoc with the world’s computers in 2000, were it not for the massive effort the IT industry put into fixing the problem. If you currently have a 32-bit UNIX system, you are advised to trade it in for a 64-bit one sometime before the year 2106.

Advertisements
One Comment leave one →
  1. October 22, 2011 8:50 pm

    On systems with a 32 bit signed time_t failure will occur on 2038-01-19
    On systems with a 32 bit unsigned time_t failure will occur on 2106-02-07

    Also, please be careful with the use of the term “32 bit UNIX”. Most modern unicies have a 64 bit signed time_t even if the processor natively deals with 32 bit words.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: