APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Misc. Words > time overflow - 'Y2038 bug may hit Unix, Linux machines'
Printer Friendly Version




2038 time overflow


This article says "Y2038 bug may hit Unix, Linux machines"

Sheesh, you think so? No, it's not "may": if current Unix and Linux OSes are still running in 2038, yes, they WILL overflow their time counters. And so will any Windows box still using 32 bit time, so I have to wonder why this article singles out Unix. Never mind that: apparently all Windows machines will be 64 bit by then but Unix boxes won't. That's the price we pay for reliability, folks.

Two immediate thoughts come to mind: how many computers (Unix or otherwise) will still be running 32 bit OSes thirty three years from now? OK, as that article suggests, you might have some embedded systems kicking around. I doubt it (how many embedded systems from the 70's are still running now?), but it could happen. Ask a more realistic question: how many of those use date calculations for anything where the owners wouldn't be aware that they did?












Some applications apparently don't care a bit about the current date. Something might just be monitoring inputs from some source and deciding when to trigger some event. There might not be any obvious use of time. But, the system may still calculate elapsed time, and that could cause a glitch or even a crash when the counter overflows. Those are probably pretty rare and very specialized. Most embedded systems very obviously use dates and times: usually tracking elapsed time is part of the systems very reason for being. We're billing customers here for usage, making logs with time stamps, or whatever: it usually wouldn't take any real brain power to see that a black box system must be doing time calculations. Those systems will be replaced, because the people using them will know darn well that they need to. They'll probably be replaced before that for other reasons anyway.

I'll be ninety years old in 2038. I doubt I'll care much about anything to do with computers by then; I also seriously doubt that this awful Unix 2038 bug is going to cause anyone else to lose any sleep. Or any data.


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

2 comments




More Articles by Tony Lawrence - Find me on Google+



Click here to add your comments





Mon May 16 15:54:51 2005:   BigDumbDinosaur


I'll be ninety years old in 2038...

I'll have you beat by three years -- assuming I'm still protoplasm when the 32 bit UNIX clock zeros out. <Grin> I might still be fiddling around with computers then (old habits die slowly), but I doubt that I'll be overly worried about running out of time.






Wed May 18 05:48:51 2005:   KimPetersen


Actually most programmers know that this is a problem - time tells us that programs will run at that time with 32 bit time_t, but fortunatly it seems that the programmers of todays operating systems are a heck of a lot smarter than those of days gone (i can remember several times in the 80's where the y2k problem was deliberatly incorperated into programs because of cost benefit - "and besides this program won't run in 10-20 years" - but it did).

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - Programming
       - Troubleshooting




Unix/Linux Consultants

Skills Tests

Guest Post Here