Strange uptime-phenomenon

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Exterus
-


Joined: 07 Aug 2003
Posts: 69
Location: Sweden

PostPosted: Sun May 02, 2004 4:34 am    Post subject: Strange uptime-phenomenon Reply with quote

I don't know if this is some sort of bug, or just me being confused. But when I check my server statistics I get these numbers:



My server (and Abyss) have been running for around 50 days now. So...why does it say that I only have 1 day of uptime? The other numbers are correct though. For example, the output is at about 2gb, how could I possible accomplish that on one day with a server on a 0,5 mbits connection? :)
Last time I checked (around 1-2 weeks ago), it showed the right amount of uptime.

So...what's up?
_________________
"Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 02, 2004 4:50 am    Post subject: Reply with quote

Have you restarted your server?
Also, Abyss may have crashed and you never knew it, because it restarts itself.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Exterus
-


Joined: 07 Aug 2003
Posts: 69
Location: Sweden

PostPosted: Sun May 02, 2004 5:22 am    Post subject: Reply with quote

I haven't restarted Abyss for about a week. And even if Abyss is restarted, that doesn't reset the server uptime-thingie. The quick restart you make after you've changed the configuration never has for me, anyway. It only resets when you close down Abyss completely and then restart it, I think.

And even if it was reset somehow (like a crash), that doesn't explain the output. It could NEVER reach 2gb in just a day. Not a chance. That's more like 50 days worth of output for my server. So in that case, is it just the "server uptime"-section of the statistics that gets reset? That sounds odd.
_________________
"Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 02, 2004 5:59 am    Post subject: Reply with quote

Yes, that is pretty wierd.

I'de email Aprelium about it, or post about it in "Bug Reports."
Furthermore, I've never trusted those stats anyways. I always use WebLog Expert or something similar.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
nquin321
-


Joined: 29 Jan 2004
Posts: 296
Location: Right Behind You

PostPosted: Sun May 02, 2004 1:38 pm    Post subject: Reply with quote

I doubt it this would affect it that much, but is the clock on your computer correct.
Back to top View user's profile Send private message
Exterus
-


Joined: 07 Aug 2003
Posts: 69
Location: Sweden

PostPosted: Sun May 02, 2004 4:11 pm    Post subject: Reply with quote

nquin321 wrote:
I doubt it this would affect it that much, but is the clock on your computer correct.

Fairly correct. It's off by like...4 minutes or something.
_________________
"Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun May 02, 2004 5:56 pm    Post subject: Re: Strange uptime-phenomenon Reply with quote

Exterus,

Glad to know that someone did the ultimate test: running the server for more than 50 days!

Let's explain the problem: the uptime counter is a 32 bit integer that sotres the elapsed time in milliseconds (since the server launch).
Knowning that a day contains 86400000 ms, this counter will be reset after 2^32/86400000 = 49.71 days!

In the next version, this counter will be a 64bit integer so it won't be reset before 585,000,000 years :-)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 02, 2004 6:37 pm    Post subject: Reply with quote

Ha! That's pretty interesting.

Why was it stored in milliseconds in the first place?
I've seen scripts able to store in seconds; is C not able to store anything bigger than milliseconds?
_________________
Bienvenidos!


Last edited by iNaNimAtE on Sun May 02, 2004 7:17 pm; edited 1 time in total
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
nquin321
-


Joined: 29 Jan 2004
Posts: 296
Location: Right Behind You

PostPosted: Sun May 02, 2004 7:01 pm    Post subject: Reply with quote

Isn't abyss written in C. I remember aprelium saying that.

iNaNimAtE
_________________
How many forum members does it takes to change a light bulb?
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 02, 2004 7:17 pm    Post subject: Reply with quote

Sorry, you're right.
http://www.aprelium.com/forum/viewtopic.php?t=3729
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Exterus
-


Joined: 07 Aug 2003
Posts: 69
Location: Sweden

PostPosted: Mon May 03, 2004 12:32 pm    Post subject: Re: Strange uptime-phenomenon Reply with quote

aprelium wrote:
Exterus,

Glad to know that someone did the ultimate test: running the server for more than 50 days!

Let's explain the problem: the uptime counter is a 32 bit integer that sotres the elapsed time in milliseconds (since the server launch).
Knowning that a day contains 86400000 ms, this counter will be reset after 2^32/86400000 = 49.71 days!

In the next version, this counter will be a 64bit integer so it won't be reset before 585,000,000 years :-)

Hehe. Glad to know it wasn't a bug at least.. All right then, I'm looking forward to the next version even more now. :)
_________________
"Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Tue May 04, 2004 1:39 am    Post subject: Reply with quote

Until then, may I suggest WebLog Expert to analyze logs. Also, if you just want to see your total server uptime, either download a copy of ZPanel, or just click on your network connection if you're using Windows XP (assuming Abyss has been on the entire time your internet has been on).
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Exterus
-


Joined: 07 Aug 2003
Posts: 69
Location: Sweden

PostPosted: Wed May 05, 2004 3:00 am    Post subject: Reply with quote

Thanks for the tips. :) But I already run awstats, and I'm very satisified with that. Although I have to clear my logfile soon. It's 166mb large, and it takes forever to analyze it.

And the machine runs Windows NT4 Server, so I'll just check the uptime via the Task Manager --> Processes --> System Idle Process if I need to know.
_________________
"Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed May 05, 2004 1:45 pm    Post subject: Reply with quote

iNaNimAtE wrote:
Ha! That's pretty interesting.

Why was it stored in milliseconds in the first place?
I've seen scripts able to store in seconds; is C not able to store anything bigger than milliseconds?

This isn't related to C: Abyss uses milliseconds as its internal time unit.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
CyberRax
-


Joined: 15 Sep 2003
Posts: 27
Location: Estonia

PostPosted: Sat Jul 31, 2004 10:23 am    Post subject: Reply with quote

Perhaps this should be in the 2.0beta forum but...

Anyway, how comes that AWS (2.0.0.8beta1) doesn't reset it's statistics?
Currently I've got

Total Uptime: 3:16:43:18 Days:Hours:Minutes:Seconds
Total Hits: 5636
Error Hits: 354
HTML Hits: 2183
Image Hits: 1991
Not Modified Hits: 923
Transferred Data: 1035486 KB

That's nice and all, but the whole computer has been running for only 13 minutes at this moment, and AWS 2 has been installed longer than 3 days (so I guess it's not a "stats since install" thing)...
_________________
"Death and destruction... that's all a person really needs" - Kalkin / EViL
Back to top View user's profile Send private message Visit poster's website
aprelium-beta
-


Joined: 24 Jun 2004
Posts: 383

PostPosted: Sat Jul 31, 2004 4:14 pm    Post subject: Reply with quote

CyberRax,

Version 2.0 doesn't reset the statistics when you stop the server. So if you install the server and run it for 1 hour every day; the 7th day, the statistics will show 7 hours of uptime.
_________________
Beta Testing Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Sat Jul 31, 2004 7:58 pm    Post subject: Re: Strange uptime-phenomenon Reply with quote

aprelium wrote:
Knowning that a day contains 86400000 ms, this counter will be reset after 2^32/86400000 = 49.71 days!


Reminds me of a certain windows 95 bug... ;)
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group