Ask a Question related to Debian, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. #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...
    3. --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...
    4. 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....
    5. 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...
  3. #2

    Default Re: no days in uptime

    Hello Sebastiaan!

    At Wednesday 30 July 2003 08:50 Sebastiaan wrote:
    > 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?
    Yep, "jiffies rollover", see

    [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

  4. #3

    Default Re: no days in uptime

    Hi,

    On Wed, 30 Jul 2003, Florian Ernst wrote:
    > 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
    > >
    <snip>
    > > 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
    >
    I already suspected something like this. Let's hope it's fixed in 2.6.
    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

  5. #4

    Default Re: no days in uptime

    On Wed, 2003-07-30 at 04:09, Sebastiaan wrote:
    > Hi,
    >
    > On Wed, 30 Jul 2003, Florian Ernst wrote:
    >
    > > 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
    > > >
    > <snip>
    >
    > > > 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
    > >
    > I already suspected something like this. Let's hope it's fixed in 2.6.
    > Sloppy bug though.
    No, I disagree. When the kernel designers made the jiffie an unsigned
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139