kimocoin: This is a blank screen that occurs right after the miner is started... correct? What is CGWatcher doing during this? For example, is it still waiting for the miner to start? Or has it passed that point to where it is monitoring?
I'm not sure. But when it happens, I think cgwatcher is waiting for the miner to start.
I was looking at cgwatcher.log and miner.log.
This morning I noticed a frozen cgminer screen. This was not an empty cgminer window as before, but all data was frozen. At 6:43 I closed the frozen cgminer window.
This is from cgwatcher.log:
[2-2-2014 23:00:24] The computer is now idle (30 min, 5 sec since last activity, 30 min requirement).
[3-2-2014 6:31:42] The computer is no longer idle.
<=== Here I turned the monitor on after I woke up.[3-2-2014 6:43:00] CGMiner process closed outside of CGWatcher!
<=== Clearly I wasn't awake yet , here I closed the frozen cgminer window[3-2-2014 6:43:00] [d] Monitor.EnsureMinerRunning found miner stopped; I will wait at least 15 seconds to ensure miner is running...
[3-2-2014 6:43:00] The miner is closed outside of CGWatcher and you've requested for me to ensure it stays running. Attempting to start...
[3-2-2014 6:43:00] [d] Miner.IsProcessAlive(2896) returns False. [First try, test process is nothing. ex: Process with an Id of 2896 is not running.] (CPID0/CMPID=0/CBPID=0)
[3-2-2014 6:43:00] [d] Miner.StartMining called. [Profile=Digger;MinerFile=C:\cgminer-3.7.2-windows\cgminer.exe;MinerFileUsed=C:\cgminer-3.7.2-windows\cgminer.exe;MinerExecutable=C:\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf (C:\cgminer-3.7.2-windows\cgminer.conf);Arguments=--config C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf;Anticipated Port=4028;Used Port=4028;IsBatCmd=False;BatCmdPath=C:\cgminer-3.7.2-windows\cgminer.exe (C:\cgminer-3.7.2-windows\cgminer.exe);LastKnownInstanceCount=0/0]
[3-2-2014 6:43:00] [d] Miner.IsProcessAlive(4580) returns True. [First try, process is alive.] (CPID4580/CMPID=4580/CBPID=0)
[3-2-2014 6:43:00] [d] Waiting for CGMiner to initialize API. Process 4580 alive=True, minerid=4580.
[3-2-2014 6:43:01] [d] Watch for miner, expected process is 4580 (alive).
[3-2-2014 6:43:01] [d] CGMiner process is running using ProcessID 4580, expecting port 4028.
[3-2-2014 6:43:08] [d] CGMiner running and API initialized on port 4028, process matched to profile Digger.
[3-2-2014 6:43:08] [d] Finish wait for miner to start, process is 4580 (alive).
[3-2-2014 6:43:08] CGMiner started successfully.
[3-2-2014 6:43:13] Restart miner if share totals do not change for 5 minute(s) enabled.
[3-2-2014 6:43:18] [d] Monitor.Check skipped due to being within 30 seconds of miner start.
[3-2-2014 6:43:21] Number of minutes without total shares increase set to 10.
[3-2-2014 6:43:28] [d] Monitor.Check skipped due to being within 30 seconds of miner start.
[3-2-2014 7:13:37] The computer is now idle (30 min, 7 sec since last activity, 30 min requirement).
[3-2-2014 9:07:41] Accepted shares have not changed for 10,11667 minutes, longer than the threshold of 10 minutes. Attempting to restart...
[3-2-2014 9:07:41] [d] Miner.Restart begin.
[3-2-2014 9:07:41] Restart CGMiner was requested, preparing to stop then start the miner to make sure its configuration settings are reloaded...
[3-2-2014 9:07:41] [d] Miner.PerformStopStartRestart called. (Profile=Digger;Miner=C:\cgminer-3.7.2-windows\cgminer.exe;HasFullAPIAccess=True;Initiator=Monitor;Reason=#NAME# was successfully restarted.)
[3-2-2014 9:07:41] [d] Miner.StopMining called: Miner=C:\cgminer-3.7.2-windows\cgminer.exe;ProcessID=4580 (True);BatchProcessID=0 (False);Config=C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf;Arguments=--config C:\cgminer-3.7.2-windows\cgminer.conf;HasFullAPIAccess=True;KillOnReadOnlyAccess=True;IsBatCmdFile=False;ProcessID=4580;.
[3-2-2014 9:07:42] CGMiner process closed outside of CGWatcher!
[3-2-2014 9:07:42] [d] Miner.IsProcessAlive(4580) returns False. [First try, test process is nothing. ex: Process with an Id of 4580 is not running.] (CPID0/CMPID=0/CBPID=0)
[3-2-2014 9:07:42] [d] Miner.StartMining (for restart) called. [Profile=Digger;MinerFile=C:\cgminer-3.7.2-windows\cgminer.exe;MinerFileUsed=C:\cgminer-3.7.2-windows\cgminer.exe;MinerExecutable=C:\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf (C:\cgminer-3.7.2-windows\cgminer.conf);Arguments=--config C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf;Anticipated Port=4028;Used Port=4028;HasFullAPIAccess=False;IsBatCmd=False;BatCmdPath=C:\cgminer-3.7.2-windows\cgminer.exe (C:\cgminer-3.7.2-windows\cgminer.exe);LastKnownInstanceCount=0/0]
[3-2-2014 9:07:43] [d] Miner.IsProcessAlive(2968) returns True. [First try, process is alive.] (CPID2968/CMPID=2968/CBPID=0)
[3-2-2014 9:07:43] [d] Waiting for CGMiner to initialize API. Process 2968 alive=True, minerid=2968.
[3-2-2014 9:07:44] [d] Watch for miner, expected process is 2968 (alive).
[3-2-2014 9:07:44] [d] CGMiner process is running using ProcessID 2968, expecting port 4028.
[3-2-2014 10:55:31] CGMiner process closed outside of CGWatcher!
<=== Here I close the empty cgminer window[3-2-2014 10:55:31] [d] Finish wait for miner to start, process is 0 (not alive).
[3-2-2014 10:55:31] [d] CGMiner process 0 not alive at Miner.StartMining exit.
[3-2-2014 10:55:31] Start miner failed on 1st attempt. Killing any remaining processes and trying again.
[3-2-2014 10:55:31] [d] Miner.IsProcessAlive(2968) returns False. [First try, test process is nothing. ex: Process with an Id of 2968 is not running.] (CPID0/CMPID=0/CBPID=0)
[3-2-2014 10:55:31] The computer is no longer idle.
[3-2-2014 10:55:31] [d] Miner.StartMining (for restart) called. [Profile=Digger;MinerFile=C:\cgminer-3.7.2-windows\cgminer.exe;MinerFileUsed=C:\cgminer-3.7.2-windows\cgminer.exe;MinerExecutable=C:\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf (C:\cgminer-3.7.2-windows\cgminer.conf);Arguments=--config C:\Users\Digger\Downloads\CGWatcher-1.3.5\temp.conf;Anticipated Port=4028;Used Port=4028;HasFullAPIAccess=False;IsBatCmd=False;BatCmdPath=C:\cgminer-3.7.2-windows\cgminer.exe (C:\cgminer-3.7.2-windows\cgminer.exe);LastKnownInstanceCount=0/0]
[3-2-2014 10:55:32] [d] Miner.IsProcessAlive(2876) returns True. [First try, process is alive.] (CPID2876/CMPID=2876/CBPID=0)
[3-2-2014 10:55:32] [d] Waiting for CGMiner to initialize API. Process 2876 alive=True, minerid=2876.
[3-2-2014 10:55:33] [d] Watch for miner, expected process is 2876 (alive).
[3-2-2014 10:55:33] [d] CGMiner process is running using ProcessID 2876, expecting port 4028.
[3-2-2014 10:55:38] [d] CGMiner running and API initialized on port 4028, process matched to profile Digger.
[3-2-2014 10:55:38] [d] Finish wait for miner to start, process is 2876 (alive).
[3-2-2014 10:55:38] CGMiner was successfully restarted.
I hope this helps in finding my bug.