Ask a Question related to Debian, Design and Development.
-
Sebastiaan #1
no days in uptime
Hi,
I have encountered a strange problem in my uptime status. I have a
computer running for over 500 days and a script that displays the uptime
in days with MRTG.
For some reason, after 497 days the uptime doesn't return day information
any more:
$ uptime
08:36:00 up 14:48, 2 users, load average: 0.08, 0.18, 0.16
and
$ cat /proc/uptime
53341.82 17513797.50
I am sure of 2 things:
- it wasn't me (I was on vacation and I don't have auto-update scripts
running)
- the computer doesn't reboot daily, since /tmp isn't cleaned
I am running kernel 2.4.18 on a PowerMac.
Any ideas what is going on here?
Thanks in advance,
Sebastiaan
--
NT is the OS of the future. The main engine is the 16-bit Subsystem
(also called MS-DOS Subsystem). Above that, there is the windoze 95/98
16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a
*real* 32-bit system.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Sebastiaan Guest
-
FMS - application Lifespan/Uptime
I have a general question , im running FMS when im looking in the admin panel It seems that my application reloads itself every X hours . when i... -
#39560 [NEW]: Inconsistent behaviour of strtotime when days > days in month
From: php at colin dot guthr dot ie Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Date/time related Bug... -
--memory/uptime stats shell script?
I'm wondering if this even exists....here goes nothing: :) A shell script, run from cron maybe that collects memory stats and uptime. My boss... -
uptime question
hello, i'm sure that the answer to this question may vary depending on the admin but i'm attempting to get some sort of consensus for my boss.... -
MacOS 9 server with 3 years uptime
I visited a Danish company yesterday, there I saw something very interesting: An iMac 500 MHz running MacOS 9.1 used as an local fileserver. I have... -
Florian Ernst #2
Re: no days in uptime
Hello Sebastiaan!
At Wednesday 30 July 2003 08:50 Sebastiaan wrote:
Yep, "jiffies rollover", see> I have encountered a strange problem in my uptime status. I have a
> computer running for over 500 days and a script that displays the
> uptime in days with MRTG.
>
> For some reason, after 497 days the uptime doesn't return day
> information any more:
>
> $ uptime
> 08:36:00 up 14:48, 2 users, load average: 0.08, 0.18, 0.16
>
> and
>
> $ cat /proc/uptime
> 53341.82 17513797.50
>
>
> I am sure of 2 things:
> - it wasn't me (I was on vacation and I don't have auto-update
> scripts running)
> - the computer doesn't reboot daily, since /tmp isn't cleaned
>
> I am running kernel 2.4.18 on a PowerMac.
>
> Any ideas what is going on here?
[url]http://e-zine.nluug.nl/hold.html?cid=158[/url]
for further info.
HTH,
Flo
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Florian Ernst Guest
-
Sebastiaan #3
Re: no days in uptime
Hi,
On Wed, 30 Jul 2003, Florian Ernst wrote:
<snip>> Hello Sebastiaan!
>
> At Wednesday 30 July 2003 08:50 Sebastiaan wrote:
><snip>> > For some reason, after 497 days the uptime doesn't return day
> > information any more:
> >
> > $ uptime
> > 08:36:00 up 14:48, 2 users, load average: 0.08, 0.18, 0.16
> >
I already suspected something like this. Let's hope it's fixed in 2.6.>> > I am running kernel 2.4.18 on a PowerMac.
> >
> > Any ideas what is going on here?
> Yep, "jiffies rollover", see
>
> [url]http://e-zine.nluug.nl/hold.html?cid=158[/url]
>
> for further info.
>
> HTH,
> Flo
>
Sloppy bug though.
Thanks!
Sebastiaan
--
NT is the OS of the future. The main engine is the 16-bit Subsystem
(also called MS-DOS Subsystem). Above that, there is the windoze 95/98
16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a
*real* 32-bit system.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Sebastiaan Guest
-
Ron Johnson #4
Re: no days in uptime
On Wed, 2003-07-30 at 04:09, Sebastiaan wrote:
No, I disagree. When the kernel designers made the jiffie an unsigned> Hi,
>
> On Wed, 30 Jul 2003, Florian Ernst wrote:
>> <snip>> > Hello Sebastiaan!
> >
> > At Wednesday 30 July 2003 08:50 Sebastiaan wrote:
> >> <snip>> > > For some reason, after 497 days the uptime doesn't return day
> > > information any more:
> > >
> > > $ uptime
> > > 08:36:00 up 14:48, 2 users, load average: 0.08, 0.18, 0.16
> > >
>> I already suspected something like this. Let's hope it's fixed in 2.6.> >> > > I am running kernel 2.4.18 on a PowerMac.
> > >
> > > Any ideas what is going on here?
> > Yep, "jiffies rollover", see
> >
> > [url]http://e-zine.nluug.nl/hold.html?cid=158[/url]
> >
> > for further info.
> >
> > HTH,
> > Flo
> >
> Sloppy bug though.
long integer, the gcc compiler did not do 64 bit arithmetic very
quickly. And something like that, on a 386 (when this was developed),
needs to be *very* efficient.
Thus, it's a reflection of reality, not a bug.
[url]http://kt.zork.net/kernel-traffic/kt20030223_206.html#1[/url]
--
+-----------------------------------------------------------------+
| Ron Johnson, Jr. Home: [email]ron.l.johnson@cox.net[/email] |
| Jefferson, LA USA |
| |
| "I'm not a vegetarian because I love animals, I'm a vegetarian |
| because I hate vegetables!" |
| unknown |
+-----------------------------------------------------------------+
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Ron Johnson Guest



Reply With Quote

