A question - the regular stats collection every xx hours. For me it runs for a while but then stops and there is no new directory created or indeed, any additions to the error logs past the time the last one was created. Looks like a process has stopped?
The every minute data logging carries on okay. If I use the GUI to reset the period it starts the x-hourly current stats creation again the next time it's due and carries on for a while...
Hmmm. That's odd.
The every minute logging task actually triggers the every xx hours logging/graphing.
From the ONGOING_ERROR.LOG:-
28/06/2014 06:00:03.962 - Scheduled snapshot logging is switched ON via the ini file
28/06/2014 06:00:03.962 - Current_Stats_Datum = 06
28/06/2014 06:00:03.962 - Current_Stats_Interval = 6
28/06/2014 06:00:03.962 - (Time in Hours - Datum) Modulus Interval i.e. (6 - 6) % 6 = 0
28/06/2014 06:00:03.962 - (Time in Minutes) = 00
28/06/2014 06:00:03.977 - *** Scheduled snapshot logging IS due, running [HG612_current_stats.exe]
Then from Login_events.txt, evidence that HG612_current_stats.exe has started & logged in to the HG612:-
***********************************************************************************
28/06/2014 6:00:00.21 - Start of [HG612_stats.exe]
28/06/2014 6:00:00.23 - Immediately after "chdir(C:\HG612_Modem_Stats\Scripts)"
28/06/2014 6:00:00.24 - Immediately before ini_parse()
28/06/2014 6:00:00.28 - **** ini file opened for reading O.K. ****
28/06/2014 6:00:00.29 - Immediately after ini_parse()
28/06/2014 6:00:00.37 - From [HG612_stats.ini], the ongoing log_file = "C:\HG612_Modem_Stats\Ongoing_Stats\modem_stats.log"
28/06/2014 6:00:02.09 - **** [HG612_stats.exe] - get_login_data() OK! Status = 1.
=============================
User Name : admin
Login IP : 192.168.1.100
Login Time : 2014-06-28 06:00:00
Login TimeLen :
28/06/2014 6:00:04.14 - Normal End of [HG612_stats.exe]
**********************************************************************************
***********************************************************************************
28/06/2014 6:00:05.92 - In [HG612_current_stats.exe] - At the start of the main() function
28/06/2014 6:00:05.95 - Parameter passed to [HG612_current_stats.exe] = SCHEDULED - i.e. ** AUTOMATICALLY ** initiated via HG612_stats.exe
28/06/2014 6:00:07.61 - **** [HG612_current_stats.exe] - reply(display login) O.K. Status = 1.
28/06/2014 6:00:07.83 - **** [HG612_current_stats.exe] - get_login_data() OK! Status = 1.
From [HG612_current_stats.exe] Login:-
=============================
User Name : admin
Login IP : 192.168.1.100
Login Time : 2014-06-28 06:00:05
Login TimeLen : 1(Secs)
28/06/2014 6:00:12.12 - Normal End of [HG612_current_stats.exe]
*********************************************************************************************
There SHOULD also be some evidence that HG612_current_stats.exe has at least started in CURRENT_ERROR.LOG_file_ERROR.TXT:-
28/06/2014 6:00:05.80 - CURRENT-ISRUNNING-060004-274 - Start of [HG612_current_stats.exe] *** Version 3.0.0.0 - 22/06/14 ***
28/06/2014 6:00:05.97 - CURRENT-ISRUNNING-060004-274 - Immediately after ini_parse() - About to determine the OS version. ERROR.LOG status = 0,
28/06/2014 6:00:05.99 - CURRENT-ISRUNNING-060004-274 - In [HG612_current_stats.exe] - After obtaining the OS version. ERROR.LOG status = 0,
28/06/2014 6:00:06.16 - CURRENT-ISRUNNING-060004-274 - **** From IsRunningVB.exe, dslstatssampling.exe is *NOT* running
28/06/2014 6:00:06.31 - CURRENT-ISRUNNING-060004-274 - Parameter passed to [HG612_current_stats.exe] = SCHEDULED - i.e. ** AUTOMATICALLY ** initiated via HG612_stats.exe
It could just be that there is a clash with DSLStats also attempting to login to the HG612 at the same time.
That shouldn't happen with HG612-Modem-Stats co-operation selected in DSLStats as that will delay DSLStats sampling time until 35 seconds past the minute. i.e. long after HG612 Modem Stats programs have completed.
The problem may be that the CPU is maxing out a lot - I am going to move both DSLStats and HG612 Stats to another machine tomorrow that has many more cores and is a lot faster.
I doubt that being the issue as my programs run reliably on very, very old/slow PCs.
The graphing takes a while on slower PCs, but's done in the background so shouldn't affect actual logging.
I'm playing around and in the process of collecting all the data the program produces and putting it into a remote server database parsed out into enough fields to make querying historic data easier. Like show me all graphs produced over a stated period for a given graph. I suppose if I also parsed the stats files as well, you could add to that 'and CRC errors > 237' or whatever
How far this could be taken I don't know as it's early days but it'll take a lot of time to get running as you may well guess. Could/would you FTP the stats up to a remote server if needed immedietaly after they are produced?
I'm not sure about that.
I would imagine it could be possible though.
Good luck with your efforts.
Let me know if you need any info from me.
Edit: I'm running Windows 8.1 Update 64-bit with all available updates but am moving it all to a Windows 7 64-bit machine.
I use a Windows 7 64-bit machine at my end & see no issues at all.
I suppose Windows 8 / 8.1 does some things differently.
There was an issue for a while when Windows 8 Scheduled Tasks would stop, but that actually stopped the every minute logging task/checks for whether the xx hourly logging was due.
From what you stated above, the every minute task that runs HG612_stats.exe continues to work.



Pages in this thread:
Print Thread
