WhatPulse Forums
Double-counted reboots in log - Printable Version

+- WhatPulse Forums (http://whatpulse.org/forums)
+-- Forum: Support (/forumdisplay.php?fid=38)
+--- Forum: Client software (/forumdisplay.php?fid=58)
+--- Thread: Double-counted reboots in log (/showthread.php?tid=4132)



Double-counted reboots in log - dgw - 12-15-2013 06:31 AM

I haven't yet rebooted with 2.3.1 installed, but under previous 2.x releases I have noticed reboots getting counted twice on my Windows 7 Ultimate x64 system:

[Image: Bmocytl.png]

It's especially weird that they're counted with slightly different timestamps.

Has anyone else noted this behavior? Is it something that was likely fixed in 2.3 or 2.3.1? I'll keep an eye out after my next reboot (Windows is bothering me to install updates and restart anyway).


RE: Double-counted reboots in log - smitmartijn - 12-18-2013 06:13 PM

Is this on a virtualised machine, or just a plain Windows machine? Straight to the point; do you notice your Windows have trouble keeping the correct time?


RE: Double-counted reboots in log - dgw - 12-19-2013 02:50 AM

It's a physical Windows machine. I've never noticed any clock issues, but I suppose that doesn't mean they don't exist.

Is there a way I can manually delete the duplicates, now or once the cause is found?


RE: Double-counted reboots in log - smitmartijn - 12-19-2013 09:13 PM

(12-19-2013 02:50 AM)dgw Wrote:  Is there a way I can manually delete the duplicates, now or once the cause is found?

Only if you manually edit the sqlite database and delete them from the 'uptimes' table...If you're not familiar with sqlite, that might be a daunting task.

I'll add something that detects clock skews, instead of trusting the clock.


RE: Double-counted reboots in log - dgw - 12-19-2013 09:28 PM

(12-19-2013 09:13 PM)smitmartijn Wrote:  Only if you manually edit the sqlite database and delete them from the 'uptimes' table...If you're not familiar with sqlite, that might be a daunting task.

I've done a database hack or two. Worst case I restore from the backup file I make before even opening it. Wink

(12-19-2013 09:13 PM)smitmartijn Wrote:  I'll add something that detects clock skews, instead of trusting the clock.

What I should do when I get a chance is check the Windows Event Log to see if the reboots are displayed once or twice in there. If Windows can't keep its own records straight, I probably shouldn't be expecting WhatPulse to do so…


RE: Double-counted reboots in log - dgw - 12-27-2013 10:56 AM

I just had occasion to check the reboot log on my Mac, as well. I'm seeing the same reboot counted up to 25+ times there. The latest reboot (just today) with 2.3.1 seems to have been counted only once, though, so maybe I'll just have to edit the sqlite DB to fix that.

And now that I look at my Web stats to see if there's a field that will go out of sync if I edit the DB…I'm curious why reboot stats aren't visible online.