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

RE: uptime limit



Thanks all again. And yes, it has an older 2.4.27-2-386 kernel.



-----Mensaje original-----
De: Matus UHLAR - fantomas [mailto:uhlar@fantomas.sk] 
Enviado el: Jueves, 19 de Febrero de 2009 11:49 a.m.
Para: debian-isp@lists.debian.org
Asunto: Re: uptime limit

On 19.02.09 11:38, Paa.listas wrote:
>       I have a Server running since 2007, but when I run uptime it's tells
> me the system was running for only 88 days.. There are any limits in the
> uptime utility?

I think it rotates after some ~497 days, but only with older (2.4?) kernels
on
32-bit systems. Basically it happens when 32-bit counter of timer tick
(100Hz) overflows:

(2^32-1)/60/60/24/100
497.10

> $ ls -l dmesg
> 
> -rw-r--r-- 1 root root 13653 2007-07-14 07:27 dmesg
> 
>  
> 
> $ uptime
> 
>  11:27:16 up 88 days, 23:51,  1 user,  load average: 0.51, 0.25, 0.20

It's nearly 89 days... 497+89 = 586.
% date -d '586 days ago'
Sat Jul 14 15:48:53 CEST 2007

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
A day without sunshine is like, night.


-- 
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


Reply to: