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

Re: [hobbit] Rrd not updating



Henrik Stoerner wrote:
On Tue, Mar 25, 2008 at 02:12:42PM +0100, Charles Goyard wrote:
On our setup, the problem comes from a counter overflow in uptime
handling on some SCO : after 248 days of uptime, the uptime is reported
negative, and the rrd handler misses the expression (no "up:").

Ahh - the old 31-bit timer tick issue. Linux has the same problem
because a timer ticks at 100 Hz using a signed 32-bit integer; so
2^31 / (24*60*60*100) = 248 days and a bit.

That's news to me -

root (at) ashpool:~> uptime
 8:39am  up 1075 days 20:10,  1 user,  load average: 3.11, 3.13, 3.07
root (at) ashpool:~> uname -a
Linux ashpool 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC 2005 i686 i686 i386 GNU/Linux

Joe