aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Statistics showing wrong uptime.  (Read 3263 times)

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Statistics showing wrong uptime.
« on: November 11, 2005, 11:12:15 PM »

Every now and then, and I have observed this in stable releases too, the uptime counter in statistics is interestingly wrong. Take my current uptime of the amule daemon:
aMulecmd$ statistics
 > Statistics
 >  Uptime: 14665 Days 14 hours

I know Linux is stable, but this is a bit odd  :)
Logged
A waste is a terrible thing to mind.

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Statistics showing wrong uptime.
« Reply #1 on: November 12, 2005, 01:08:04 AM »

looks like new uprecord :)

grz
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Statistics showing wrong uptime.
« Reply #2 on: November 12, 2005, 05:20:25 AM »

This must be caused by changes on your system clock
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Statistics showing wrong uptime.
« Reply #3 on: November 12, 2005, 11:40:26 AM »

Hmm, I do run a NTP client/server combination which adjusts the system clock every now and then, but that's only a few seconds, not 14000 days...

The daemon has been restarted a few times after the DST change end of october, also syslog does not show major changes in the clock time, with the system being up for 145 days now. I'll try to see if it happens again in the coming few days.
Logged
A waste is a terrible thing to mind.

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Statistics showing wrong uptime.
« Reply #4 on: November 12, 2005, 01:28:13 PM »

what's the real uptime of the daemon?
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Statistics showing wrong uptime.
« Reply #5 on: November 12, 2005, 01:56:55 PM »

At the time I posted the note it was up for approx. 25 hours and 24 minutes. At that time it had not reconnected to a new server yet.
Logged
A waste is a terrible thing to mind.

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Statistics showing wrong uptime.
« Reply #6 on: November 12, 2005, 02:34:11 PM »

I might have found a reason for this.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Statistics showing wrong uptime.
« Reply #7 on: November 12, 2005, 02:41:28 PM »

I did some changes. Please use tomorrow's cvs tarball and report acordingly.
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Statistics showing wrong uptime.
« Reply #8 on: November 12, 2005, 02:51:09 PM »

Thanks, will do.
Logged
A waste is a terrible thing to mind.