Home > Data Center Tips > Systems Management Tips > The Unix year 2038 problem
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SYSTEMS MANAGEMENT TIPS

The Unix year 2038 problem


Bill Bradford, Contributor
05.21.2008
Rating: -3.00- (out of 5)


IT infrastructure news
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Eight years ago, the Y2K bug came and went without many problems. Despite predictions of widespread failure, crisis was averted by both long-term and last-minute planning and intervention, and no critical systems failed. In the years since, those few operating systems and applications that were affected have in most cases been upgraded, replaced or retired.

If you use a Unix- or Linux-based system, there's one more date-related bug you'll need to worry about -- 30 years from now.

All 32-bit Unix/Linux-based systems store the system clock time internally as the number of seconds since the Epoch, or 00:00:00 on January 1, 1970. This internal data type, time_t, is in most cases a 32-bit (4-byte) signed integer. If the system in question follows the POSIX standard (as most Unix and Linux systems do), the latest time and date that can be represented as seconds-since-the-Epoch in that 32-bit signed integer is 3:14:07 UTC on Tuesday, January 19, 2038.

After this time and date, the internal representation of the system time will reach 2147483647, the highest number storable in a 32-bit signed integer. One second after that, it will wrap around to a negative number, -2147483648. Current applications will either interpret this negative number as an older year (1901) or freeze the system clock at 03:14:07 on 1/19/2038. This will possibly cause applications and operating systems to fail, as they are not designed to work with a hung system clock


BROWSE BY TAG
AIX, IBM pSeries server administration,   Server hardware,   Unix operating systems and servers,   HP Integrity server, Itanium servers and HP-UX,   Sun Solaris Unix and Sparc server platforms,   Data center Linux,   Linux servers,   Mainframe computers,   Modern mainframe: SOA and Linux,   Systems Management Tips,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
AIX, IBM pSeries server administration
Top 50 universal Unix commands
IBM doubles refund for Sparc migrations: News in brief
Sun shops prefer Oracle to IBM, but worries persist
Uncertain future for Sun Microsystems overshadows new products
IBM withdraws from deal to purchase Sun; Dallas colo investigated
Report: IBM, Sun haggle on price, close in on deal
Reports of IBM, Sun buyout roil data center waters
Using Linux in a data center consolidation management strategy
Unix admin tutorial: How much memory is in this machine?
How to use Unix file system snapshots

HP Integrity server, Itanium servers and HP-UX
Itanium processor delays put HP's plans in question
Top 50 universal Unix commands
IBM doubles refund for Sparc migrations: News in brief
HP's Bladesystem Matrix to challenge Cisco's Unified Computing System
Reports of IBM, Sun buyout roil data center waters
IBM mainframe migration boosts OLTP, batch processing
IBM buys former adversary and mainframe startup PSI
Unix admin tutorial: How much memory is in this machine?
How to use Unix file system snapshots
Analyst group touts Unix OS scorecard

Sun Solaris Unix and Sparc server platforms
Predicting Oracle's plan for Sun assets, the future for Sun customers
How to install and use RRDTool to speed up MRTG monitoring
Sun launches HPC products as Oracle takeover nears
Server users ponder Sun's hardware future
How to install and configure MRTG, an essential sys admin tool
Top 50 universal Unix commands
Sun Microsystems releases new version of OpenSolaris
Lower disaster recovery costs with open source replication tools
IBM doubles refund for Sparc migrations: News in brief
Oracle acquires Sun: What does it mean for mainframes?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


or one showing the year as 1901.

There are no viable fixes (that do not break existing applications) for systems using 32-bit processors, or operating systems and applications running in 32-bit mode on 64-bit processors. Many current Unix/Linux operating systems already run in 64-bit mode (with a corresponding "long" time_t when on a 64-bit processor; in most cases this solves the problem.

Operating systems that support a long 64-bit time_t are most likely not affected by the Year 2038 bug in terms of the internal system clock. However, applications that use a 32-bit time_t can still fail, even if the system running the application supports full 64-bit operation.

Here's a quick overview of the current status of Year 2038 support in mainstream Unix/Linux releases:

Even if your current operating system is not yet 2038 safe, don't worry! People have been aware of the issue for many years now, and are actively working on solutions. In most cases, the problem will be solved by having the operating system and applications eventually run in full 64-bit mode.

I expect all major desktop operating systems to be fully 64-bit in the next five to 10 years. Additionally, a trickle down effect will help to replace current systems with 64-bit configurations where it is applicable and cost effective.

ABOUT THE AUTHOR: Bill Bradford is the creator and maintainer of SunHELP and lives in Houston, Texas, with his wife Amy.


Rate this Tip
To rate tips, you must be a member of SearchDataCenter.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



White Papers - Data Center Networking

The Intel IT Technology Center - Power, Performance and Mobility Solutions

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts