Austin Murphy on 29 Feb 2012 07:32:25 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] uptime bug in linux kernels


On Tue, Feb 28, 2012 at 10:31 PM, Amul Shah <amul@amulz.com> wrote:
> This came up at work yesterday. A customer was notified by Novell that SLES 11 could hang or crash after the uptime exceeded 200 days. We've asked the customer to find out more details. Has anyone heard of this before?

I've seen a problem with Oracle 10 on linux and uptimes over 199 days.
 The problem was a linux cpu tick counter that wrapped.

times() returns the # of ticks since boot and apparently my server
ticked at about 125 ticks/second.  It wrapped at 2^31 and started
counting down, I assume it was interpreted as signed, when it should
have been unsigned.

2^31/(125*24*60*60) =~ 198.8 days to wrap.


Austin
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug