View previous topic :: View next topic |
Author |
Message |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Sun May 02, 2004 4:34 am Post subject: Strange uptime-phenomenon |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun May 02, 2004 4:50 am Post subject: |
|
|
Have you restarted your server?
Also, Abyss may have crashed and you never knew it, because it restarts itself. _________________ Bienvenidos! |
|
Back to top |
![ICQ Number ICQ Number](templates/subSilver/images/lang_english/icon_icq_add.gif) |
![](templates/subSilver/images/spacer.gif) |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Sun May 02, 2004 5:22 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun May 02, 2004 5:59 am Post subject: |
|
|
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 |
![ICQ Number ICQ Number](templates/subSilver/images/lang_english/icon_icq_add.gif) |
![](templates/subSilver/images/spacer.gif) |
nquin321 -
Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
|
Posted: Sun May 02, 2004 1:38 pm Post subject: |
|
|
I doubt it this would affect it that much, but is the clock on your computer correct. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Sun May 02, 2004 4:11 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun May 02, 2004 5:56 pm Post subject: Re: Strange uptime-phenomenon |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun May 02, 2004 6:37 pm Post subject: |
|
|
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 |
![ICQ Number ICQ Number](templates/subSilver/images/lang_english/icon_icq_add.gif) |
![](templates/subSilver/images/spacer.gif) |
nquin321 -
Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
|
Back to top |
![ICQ Number ICQ Number](templates/subSilver/images/lang_english/icon_icq_add.gif) |
![](templates/subSilver/images/spacer.gif) |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Mon May 03, 2004 12:32 pm Post subject: Re: Strange uptime-phenomenon |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue May 04, 2004 1:39 am Post subject: |
|
|
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 |
![ICQ Number ICQ Number](templates/subSilver/images/lang_english/icon_icq_add.gif) |
![](templates/subSilver/images/spacer.gif) |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Wed May 05, 2004 3:00 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed May 05, 2004 1:45 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
CyberRax -
Joined: 15 Sep 2003 Posts: 27 Location: Estonia
|
Posted: Sat Jul 31, 2004 10:23 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
aprelium-beta -
Joined: 24 Jun 2004 Posts: 383
|
Posted: Sat Jul 31, 2004 4:14 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Stone-D -
Joined: 09 Jan 2004 Posts: 90
|
Posted: Sat Jul 31, 2004 7:58 pm Post subject: Re: Strange uptime-phenomenon |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|