Pages:
Author

Topic: CGWatcher 1.4.0, the GUI/monitor for CGMiner and BFGMiner to prevent downtime - page 6. (Read 180386 times)

sr. member
Activity: 462
Merit: 251

ammi84:  If there's nothing in CGWatcher's log then it's difficult to say why the miner closed unexpectedly. It's not something I've run into. I would suggest enabling the monitoring option "Ensure miner stays running unless stopped by CGWatcher" and see if this helps prevent downtime.

thank you Smiley
could the windows event log help you perhaps?
i found some errors in the logfiles of windows

Name der fehlerhaften Anwendung: CGWatcher.exe, Version: 1.3.5.0, Zeitstempel: 0x52d717bb
Name des fehlerhaften Moduls: clr.dll, Version: 4.0.30319.18444, Zeitstempel: 0x52717f9a
Ausnahmecode: 0xc0000005
Fehleroffset: 0x000000000017f0ba
ID des fehlerhaften Prozesses: 0xa80
Startzeit der fehlerhaften Anwendung: 0x01cf2dfa2b590009
Pfad der fehlerhaften Anwendung: C:\Users\basti\Desktop\CGWatcher-1.3.2\CGWatcher.exe
Pfad des fehlerhaften Moduls: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Berichtskennung: a5c5ac1f-9a35-11e3-ad95-f3539813e294

Application: CGWatcher.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 000007FEF8FDF0BA (000007FEF8E60000) with exit code 80131506.


... my next step: repair .net 4.5 installation

i will report
newbie
Activity: 54
Merit: 0
My driver isn't crashing though. It's 100% rock-solid stable 24/7 (it's my main gaming rig -- Seasonic X1250, custom watercooling, MSI Z87 Mpower, etc.). This only occurs with vertminer for some reason.
sr. member
Activity: 308
Merit: 250
Strange quirk I'm having with vertminer -- and it probably has nothing to do with CGwatcher, but maybe someone here has an idea. I have a rig running 3 7970s, and use CGWatcher's "Devices" tab to disable GPU 0 when I feel like playing a game. When I finish a game and re-enable the GPU, it hashes at like 15-20kh/s instead of the usual 360+. I've tried stopping and starting vertminer, quitting CGwatcher completely and restarting it, and disabling/re-enabling the GPU again. The only thing that remedies the problem is rebooting. A minor inconvenience, but I'm curious if anyone else has had this issue.

This is a graphic driver issue, that happens to me only on 280x but not on 270x cards when the video driver crashes and restarts itself (the one that gives the message that the driver stopped working and has recovered), when the driver is restored the 280x have very low hashrate even though the clocks are ok etc etc...
newbie
Activity: 54
Merit: 0
Strange quirk I'm having with vertminer -- and it probably has nothing to do with CGwatcher, but maybe someone here has an idea. I have a rig running 3 7970s, and use CGWatcher's "Devices" tab to disable GPU 0 when I feel like playing a game. When I finish a game and re-enable the GPU, it hashes at like 15-20kh/s instead of the usual 360+. I've tried stopping and starting vertminer, quitting CGwatcher completely and restarting it, and disabling/re-enabling the GPU again. The only thing that remedies the problem is rebooting. A minor inconvenience, but I'm curious if anyone else has had this issue.
full member
Activity: 196
Merit: 100
Hi guys,
Is there any setting in CGWatcher to reboot Windows 7 computer if Internet connection OR API connection to cgminer is lost? The rig sometimes looses Internet connectivity via WiFi. In this case cgminer stops to work, cgminer restarts it several times and then gives up. What would help is rebooting the comp. I didn't find such an option. Any solution for this?
Thank you.
hero member
Activity: 546
Merit: 500



techman05:  I've added your suggestion to the to-do list, but it's a pretty long list at the moment. You can create your own profitability field, which can then be used in place of the regular profitability fields. When creating your own field, you can create conditional expressions... so you can create something like if(REWARD > 10, PROFITABILITY, 0). This means that for each coin, if the reward is higher than 10 its custom field value would be equal to its profitability value. If the coin's reward is 10 or less, its custom field value would be 0, meaning it wouldn't be selected to mine. Note: That isn't the exact way you would write it... there are letters used to represent the different values instead of typing out the whole word. You can see a list of available values in the Custom Field tab in the Coin Manager window. To open the Coin Manager window, go to Settings, click "Other Tools..." button at the bottom, and select "Manage Coins".

As for profitability switching, if the coin you're currently mining is equal to the highest profitability (or whichever value you're basing your profitability mining on), it will not restart the miner. So if you're mining most profitable, which lets say is DOGE, and the next time it checks and sees that DOGE's profitability is equal to the most profitable, it will do nothing. If I'm understanding you correctly, you're saying that it restarts the miner using the same profile? Are you sure it's not a different monitoring option restarting the miner? (e.g. restart miner every X hours)





I have mine set to check the profitability every 4 hrs and presumably switch to if its more profitable. That what I've seen. Maybe its a weird bug from being active looking through cgminers forms like profitability. I'll try again to get to the other site tonight.

Thanks Milone
hero member
Activity: 527
Merit: 500
HiveNet - Distributed Cloud Computing
I wasn't aware of any bandwidth limit exceeded problems with the new support forum (http://www.minerremote.com/support) but I will look into this and encourage everyone to post issues there. Because it is divided up into sections, it makes it easier to find help and even for you to help others with issues that you've been able to solve.

I've been driving much of this past week but I've finally made it to Los Angeles... so I'll be catching up on support and getting back to updates as soon as I find a house or apartment. Even if it takes me a few days to respond, I can assure everyone that both CGWatcher and CGRemote projects are still very much alive, in fact more so now than ever. Big things underway. Wink

I'll try to answer everyone's questions without taking up too much space:


Ntrain2k:  I haven't had a chance to look at sgminer yet. If it works sometimes and sometimes not, then it's probably an sgminer issue. If it freezes every time CGWatcher tries to start sgminer, then it may be a config setting that sgminer doesn't like (perhaps a setting that was removed).

It's not every time, very random.

Thanks!
newbie
Activity: 8
Merit: 0
thanks for taking the time to reply.

i use batch files with and without the GPU ALLOCATION command; both cause the no-response outcome i mentioned in my post.

another confounding problem is that sometimes CGW won't launch the mining exe either. this happens with different profiles pointing to cgminer.exe, sgminer.exe and vertminer.exe, and correct config files and arguments (eg the keccak and scrypt arguments). it doesn't seem to be a pool issue as the miners don't actually launch so they don't get as far as trying to log in to the pools. it also doesn't seem to be related to GPU overheating, as CGW shows the temp is well below the auto shutdown target temp. so it seems random.

has anyone else experienced this?
sr. member
Activity: 434
Merit: 251
CGWatcher & CGRemote
I wasn't aware of any bandwidth limit exceeded problems with the new support forum (http://www.minerremote.com/support) but I will look into this and encourage everyone to post issues there. Because it is divided up into sections, it makes it easier to find help and even for you to help others with issues that you've been able to solve.

I've been driving much of this past week but I've finally made it to Los Angeles... so I'll be catching up on support and getting back to updates as soon as I find a house or apartment. Even if it takes me a few days to respond, I can assure everyone that both CGWatcher and CGRemote projects are still very much alive, in fact more so now than ever. Big things underway. Wink

I'll try to answer everyone's questions without taking up too much space:


Timmieman:  An Ubuntu solution may be coming soon.


ymer:  I'll look into this. Every time the miner is started by CGWatcher, it resets the flag saying whether or not CGWatcher closed the miner. Then the only time the flag is turned on is when the stop button, pause button, or scheduled actions that stop mining occur. It's possible the flag is not being set when it should, which I'll have to see if I can find.



Ntrain2k:  I haven't had a chance to look at sgminer yet. If it works sometimes and sometimes not, then it's probably an sgminer issue. If it freezes every time CGWatcher tries to start sgminer, then it may be a config setting that sgminer doesn't like (perhaps a setting that was removed).



Megistal:  When using batch files, CGWatcher first watches for the batch process to launch, then watches for the miner process to launch. I believe it waits up to 15 or 30 seconds for this to happen, so if it takes longer than that it assumes there is a problem. If I understand you correctly, you have a step in between - the batch file launches an app that launches cgminer? Being a 64-bit OS using a 32-bit miner should not make a difference.


vladman:  From what I remember, this is an issue with cgminer/bfgminer. Setting clock speeds in one instance's config settings can affect an already running instance. You can try setting the clock speeds for both instances in both config settings, but I'm not sure if that will work. I guess it's possible for CGWatcher to check after launching the miner (e.g. 30 seconds after launch) and make sure the config settings match the current GPU settings. It's something that will take some time though... a lot on my plate at the moment.


ammi84:  If there's nothing in CGWatcher's log then it's difficult to say why the miner closed unexpectedly. It's not something I've run into. I would suggest enabling the monitoring option "Ensure miner stays running unless stopped by CGWatcher" and see if this helps prevent downtime.


jazzah:  Unfortunately I don't think this is a CGWatcher problem. When using batch files, CGWatcher launches the batch file and what happens next is out of its hands. Once it launches the batch file, it waits to get a response from the miner's API, which is why it gives up after 60 seconds or so of getting no response and tries launching the batch file again. It's been said that you can set the GPU_MAX_ALLOCATION and similar settings so you do not need to set them every time you launch the miner... perhaps being able to remove those from the batch file would resolve this issue.


techman05:  I've added your suggestion to the to-do list, but it's a pretty long list at the moment. You can create your own profitability field, which can then be used in place of the regular profitability fields. When creating your own field, you can create conditional expressions... so you can create something like if(REWARD > 10, PROFITABILITY, 0). This means that for each coin, if the reward is higher than 10 its custom field value would be equal to its profitability value. If the coin's reward is 10 or less, its custom field value would be 0, meaning it wouldn't be selected to mine. Note: That isn't the exact way you would write it... there are letters used to represent the different values instead of typing out the whole word. You can see a list of available values in the Custom Field tab in the Coin Manager window. To open the Coin Manager window, go to Settings, click "Other Tools..." button at the bottom, and select "Manage Coins".

As for profitability switching, if the coin you're currently mining is equal to the highest profitability (or whichever value you're basing your profitability mining on), it will not restart the miner. So if you're mining most profitable, which lets say is DOGE, and the next time it checks and sees that DOGE's profitability is equal to the most profitable, it will do nothing. If I'm understanding you correctly, you're saying that it restarts the miner using the same profile? Are you sure it's not a different monitoring option restarting the miner? (e.g. restart miner every X hours)


dency45:  I'm not sure why your cgminer is closing unexpectedly. CGWatcher is detecting it and attempting to restart it, but it has no information as to why it happened. I would suggest trying a different version of cgminer. If you're mining with ASICs, perhaps try the latest version. If you're mining with GPUs, maybe try an older version. I personally use 3.5.0. It could possibly be related to a driver crash... but usually cgminer remains open when this happens.


Giggety:  I think this is more of an sgminer issue than a CGWatcher issue. CGWatcher does the same thing every time, which is really a pretty simple thing - it launches the miner process. What happens after that is up to the miner. If CGWatcher never starts sgminer successfully, then it may be a CGWatcher issue and is something I could look at when I get a minute to check out sgminer more.


hero member
Activity: 527
Merit: 500
HiveNet - Distributed Cloud Computing
Someone ever got this problem after a few hours..

Something happens (I don't know what) Cgwatcher opens sgminer automatically and it just sits there and does nothing. Cgwatcher opens sgminer again and nothing happens...


All cmd windows stay open without doing anything

I get that sometimes. I end up having to reboot for it to work. Wish I knew how to fix it.

I checked it in the log last time it happend it was because a gpu was sick...


I havn't checked any logs yet. When it happens for me it has been mining great. I stop it to do some other things and then when I hit the start mining button it opens SGminer and sgminer just freezes up and sits there. Sometimes the driver will reset, but usually the system just ends up locking up.
member
Activity: 98
Merit: 10
Someone ever got this problem after a few hours..

Something happens (I don't know what) Cgwatcher opens sgminer automatically and it just sits there and does nothing. Cgwatcher opens sgminer again and nothing happens...


All cmd windows stay open without doing anything

I get that sometimes. I end up having to reboot for it to work. Wish I knew how to fix it.

I checked it in the log last time it happend it was because a gpu was sick...
hero member
Activity: 546
Merit: 500
hero member
Activity: 527
Merit: 500
HiveNet - Distributed Cloud Computing
Someone ever got this problem after a few hours..

Something happens (I don't know what) Cgwatcher opens sgminer automatically and it just sits there and does nothing. Cgwatcher opens sgminer again and nothing happens...


All cmd windows stay open without doing anything

I get that sometimes. I end up having to reboot for it to work. Wish I knew how to fix it.
member
Activity: 98
Merit: 10
Someone ever got this problem after a few hours..

Something happens (I don't know what) Cgwatcher opens sgminer automatically and it just sits there and does nothing. Cgwatcher opens sgminer again and nothing happens...


All cmd windows stay open without doing anything
newbie
Activity: 42
Merit: 0
I experienced some problem. My cgminer closes itself outside cgwatcher. Cgwatcher opening it automatically but in the 3rd time it does not open it. What is the cause of cgminer closing itself? It does not happen before. Here is the log. How can I also disable the cgwatcher to stop popping up coins profitability.

[2/17/2014 9:24:39 AM]       -- Begin CGWatcher v1.3.5.3 Process -------------------------------------------------------
[2/17/2014 9:24:40 AM]   [d] WER DontShowUI value exists (1) and was set to 1 (disabled).
[2/17/2014 9:24:40 AM]   [d] Miner.IsProcessAlive(3508) returns False. [First try, test process is nothing.  ex: Process with an Id of 3508 is not running.] (CPID3508/CMPID=3508/CBPID=0)
[2/17/2014 9:24:40 AM]       CGMiner process closed outside of CGWatcher!
[2/17/2014 9:24:41 AM]       Active profile is "Middlecoin"
[2/17/2014 9:24:41 AM]       No CGMiner instance found.
[2/17/2014 9:24:41 AM]       Preparing to launch CGMiner in 10 second(s)...
[2/17/2014 9:24:42 AM]       Monitoring is turned on at 10 second intervals.
[2/17/2014 9:24:49 AM]   [d] Monitor.CheckScheduledActions skipped due to one of the following: inside CGWatcher startup period, hardware refresh incomplete, or waiting for miner auto-launch to complete.
[2/17/2014 9:24:50 AM]       Ensure miner is running check skipped because miner is set to start or is being restarted by another option.
[2/17/2014 9:24:51 AM]       You requested I run CGMiner upon starting. Attempting to start using profile "Middlecoin"...
[2/17/2014 9:24:51 AM]   [d] Preparing to autostart miner using (Miner=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat; Config=; Arguments=)
[2/17/2014 9:24:51 AM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/17/2014 9:24:52 AM]   [d] BAT successfully launched CGMiner executable process using ProcessID 5976.
[2/17/2014 9:24:52 AM]   [d] Miner.IsProcessAlive(5976) returns True. [First try, process is alive.] (CPID5976/CMPID=5976/CBPID=5584)
[2/17/2014 9:24:52 AM]   [d] Waiting for CGMiner to initialize API. Process 5976 alive=True, minerid=5976, bat id=5584.
[2/17/2014 9:24:53 AM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/17/2014 9:24:53 AM]   [d] Watch for miner, expected process is 5976 (alive).
[2/17/2014 9:24:53 AM]   [d] CGMiner process is running using ProcessID 5976, expecting port 4028.
[2/17/2014 9:24:59 AM]   [d] CGMiner running and API initialized on port 4028, process matched to profile Middlecoin.
[2/17/2014 9:24:59 AM]   [d] Finish wait for miner to start, process is 5976 (alive).
[2/17/2014 9:24:59 AM]       CGMiner started successfully.
[2/17/2014 9:24:59 AM]   [d] Miner.StartMining.DeleteTemporaryBatchFile 'C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat' deleted successfully.
[2/17/2014 9:24:59 AM]       CGMiner was successfully launched upon startup as you requested.
[2/17/2014 9:25:00 AM]   [d] Monitor.Check skipped due to being within 30 seconds of miner start.
[2/17/2014 9:25:10 AM]   [d] Monitor.Check skipped due to being within 30 seconds of miner start.
####################
[2/17/2014 10:49:07 AM]      CGMiner process closed outside of CGWatcher!
[2/17/2014 10:49:07 AM]  [d] Monitor.EnsureMinerRunning found miner stopped; I will wait at least 15 seconds to ensure miner is running...
[2/17/2014 10:49:07 AM]      The miner is closed outside of CGWatcher and you've requested for me to ensure it stays running. Attempting to start...
[2/17/2014 10:49:07 AM]  [d] Miner.IsProcessAlive(5976) returns False. [First try, test process is nothing.  ex: Process with an Id of 5976 is not running.] (CPID0/CMPID=0/CBPID=5584)
[2/17/2014 10:49:07 AM]  [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/17/2014 10:49:09 AM]  [d] BAT successfully launched CGMiner executable process using ProcessID 4520.
[2/17/2014 10:49:09 AM]  [d] Miner.IsProcessAlive(4520) returns True. [First try, process is alive.] (CPID4520/CMPID=4520/CBPID=3632)
[2/17/2014 10:49:09 AM]  [d] Waiting for CGMiner to initialize API. Process 4520 alive=True, minerid=4520, bat id=3632.
[2/17/2014 10:49:10 AM]      No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/17/2014 10:49:10 AM]  [d] Watch for miner, expected process is 4520 (alive).
[2/17/2014 10:49:10 AM]  [d] CGMiner process is running using ProcessID 4520, expecting port 4028.
[2/17/2014 10:49:17 AM]  [d] CGMiner running and API initialized on port 4028, process matched to profile Middlecoin.
[2/17/2014 10:49:17 AM]  [d] Finish wait for miner to start, process is 4520 (alive).
[2/17/2014 10:49:17 AM]      CGMiner started successfully.
[2/17/2014 10:49:17 AM]  [d] Miner.StartMining.DeleteTemporaryBatchFile 'C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat' deleted successfully.
[2/17/2014 10:49:27 AM]  [d] Monitor.Check skipped due to being within 30 seconds of miner start.
[2/17/2014 10:55:45 AM]  [d] Coins data for 35 coin(s) updated from CoinChoose.
#####################
[2/17/2014 3:08:20 PM]       CGMiner process closed outside of CGWatcher!
[2/17/2014 3:08:20 PM]   [d] Monitor.EnsureMinerRunning found miner stopped; I will wait at least 15 seconds to ensure miner is running...
[2/17/2014 3:08:20 PM]       The miner is closed outside of CGWatcher and you've requested for me to ensure it stays running. Attempting to start...
[2/17/2014 3:08:20 PM]   [d] Miner.IsProcessAlive(4520) returns False. [First try, test process is nothing.  ex: Process with an Id of 4520 is not running.] (CPID0/CMPID=0/CBPID=3632)
[2/17/2014 3:08:20 PM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/17/2014 3:08:23 PM]   [d] BAT successfully launched CGMiner executable process using ProcessID 5484.
[2/17/2014 3:08:23 PM]   [d] Miner.IsProcessAlive(5484) returns True. [First try, process is alive.] (CPID5484/CMPID=5484/CBPID=4880)
[2/17/2014 3:08:23 PM]   [d] Waiting for CGMiner to initialize API. Process 5484 alive=True, minerid=5484, bat id=4880.
[2/17/2014 3:08:24 PM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/17/2014 3:08:24 PM]   [d] Watch for miner, expected process is 5484 (alive).
[2/17/2014 3:08:24 PM]   [d] CGMiner process is running using ProcessID 5484, expecting port 4028.
[2/17/2014 3:08:32 PM]   [d] CGMiner running and API initialized on port 4028, process matched to profile Middlecoin.
[2/17/2014 3:08:32 PM]   [d] Finish wait for miner to start, process is 5484 (alive).
[2/17/2014 3:08:32 PM]       CGMiner started successfully.
[2/17/2014 3:08:32 PM]   [d] Miner.StartMining.DeleteTemporaryBatchFile 'C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat' deleted successfully.
[2/17/2014 3:08:42 PM]   [d] Monitor.Check skipped due to being within 30 seconds of miner start.
[2/17/2014 3:10:47 PM]   [d] Web.DownloadData exception: The remote server returned an error: (502) Bad Gateway. The data from http://www.coinchoose.com/api.php was not downloaded successfully.
[2/17/2014 3:24:45 PM]   [d] DownloadImage Exception: The remote name could not be resolved: 'minerremote.com'
######################
[2/17/2014 6:37:17 PM]       CGMiner process closed outside of CGWatcher!
[2/17/2014 6:37:17 PM]   [d] Monitor.EnsureMinerRunning found miner stopped; I will wait at least 15 seconds to ensure miner is running...
[2/17/2014 6:37:17 PM]       The miner is closed outside of CGWatcher and you've requested for me to ensure it stays running. Attempting to start...
[2/17/2014 6:37:17 PM]   [d] Miner.IsProcessAlive(5484) returns False. [First try, test process is nothing.  ex: Process with an Id of 5484 is not running.] (CPID0/CMPID=0/CBPID=4880)
[2/17/2014 6:37:17 PM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/17/2014 6:37:19 PM]   [d] BAT successfully launched CGMiner executable process using ProcessID 4692.
[2/17/2014 6:37:19 PM]   [d] Miner.IsProcessAlive(4692) returns True. [First try, process is alive.] (CPID4692/CMPID=4692/CBPID=2004)
[2/17/2014 6:37:19 PM]   [d] Waiting for CGMiner to initialize API. Process 4692 alive=True, minerid=4692, bat id=2004.
[2/17/2014 6:37:20 PM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/17/2014 6:37:20 PM]   [d] Watch for miner, expected process is 4692 (alive).
[2/17/2014 6:37:20 PM]   [d] CGMiner process is running using ProcessID 4692, expecting port 4028.
[2/17/2014 6:37:27 PM]   [d] CGMiner running and API initialized on port 4028, process matched to profile Middlecoin.
[2/17/2014 6:37:27 PM]   [d] Finish wait for miner to start, process is 4692 (alive).
[2/17/2014 6:37:27 PM]       CGMiner started successfully.
[2/17/2014 6:37:27 PM]   [d] Miner.StartMining.DeleteTemporaryBatchFile 'C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat' deleted successfully.
[2/17/2014 6:37:37 PM]   [d] Monitor.Check skipped due to being within 30 seconds of miner start.
######################
[2/18/2014 2:11:50 AM]       CGMiner process closed outside of CGWatcher!
[2/18/2014 2:11:50 AM]   [d] Monitor.EnsureMinerRunning found miner stopped; I will wait at least 15 seconds to ensure miner is running...
[2/18/2014 2:11:50 AM]       The miner is closed outside of CGWatcher and you've requested for me to ensure it stays running. Attempting to start...
[2/18/2014 2:11:50 AM]   [d] Miner.IsProcessAlive(4692) returns False. [First try, test process is nothing.  ex: Process with an Id of 4692 is not running.] (CPID0/CMPID=0/CBPID=2004)
[2/18/2014 2:11:50 AM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/18/2014 2:11:54 AM]   [d] BAT successfully launched CGMiner executable process using ProcessID 5944.
[2/18/2014 2:11:54 AM]   [d] Miner.IsProcessAlive(5944) returns True. [First try, process is alive.] (CPID5944/CMPID=5944/CBPID=1312)
[2/18/2014 2:11:54 AM]   [d] Waiting for CGMiner to initialize API. Process 5944 alive=True, minerid=5944, bat id=1312.
[2/18/2014 2:11:55 AM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/18/2014 2:11:55 AM]   [d] Watch for miner, expected process is 5944 (alive).
[2/18/2014 2:11:55 AM]   [d] CGMiner process is running using ProcessID 5944, expecting port 4028.
[2/18/2014 2:12:14 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:12:34 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:12:54 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:14 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:34 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:55 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:58 AM]   [d] Miner process 5944 killed on 1st attempt.
[2/18/2014 2:13:58 AM]   [d] Finish wait for miner to start, process is 0 (not alive).
[2/18/2014 2:13:58 AM]   [d] CGMiner process 0 not alive at Miner.StartMining exit.
[2/18/2014 2:13:58 AM]   [d] Miner.StartMining.DeleteTemporaryBatchFile 'C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat' deleted successfully.
[2/18/2014 2:13:58 AM]       Start miner failed on 1st attempt. Killing any remaining processes and trying again.
[2/18/2014 2:13:58 AM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/18/2014 2:13:59 AM]   [d] Miner.IsProcessAlive(1488) returns True. [First try, process is alive.] (CPID0/CMPID=0/CBPID=1488)
[2/18/2014 2:14:02 AM]   [d] BAT successfully launched CGMiner executable process using ProcessID 4488.
[2/18/2014 2:14:02 AM]   [d] Miner.IsProcessAlive(4488) returns True. [First try, process is alive.] (CPID4488/CMPID=4488/CBPID=1488)
[2/18/2014 2:14:02 AM]   [d] Waiting for CGMiner to initialize API. Process 4488 alive=True, minerid=4488, bat id=1488.
[2/18/2014 2:14:03 AM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/18/2014 2:14:03 AM]   [d] Watch for miner, expected process is 4488 (alive).
[2/18/2014 2:14:03 AM]   [d] CGMiner process is running using ProcessID 4488, expecting port 4028.
[2/18/2014 2:14:23 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:14:43 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:15:03 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:15:23 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:15:43 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:16:03 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:16:06 AM]   [d] Miner process 4488 killed on 1st attempt.
[2/18/2014 2:16:06 AM]   [d] Finish wait for miner to start, process is 0 (not alive).
[2/18/2014 2:11:50 AM]       CGMiner process closed outside of CGWatcher!
[2/18/2014 2:11:50 AM]   [d] Monitor.EnsureMinerRunning found miner stopped; I will wait at least 15 seconds to ensure miner is running...
[2/18/2014 2:11:50 AM]       The miner is closed outside of CGWatcher and you've requested for me to ensure it stays running. Attempting to start...
[2/18/2014 2:11:50 AM]   [d] Miner.IsProcessAlive(4692) returns False. [First try, test process is nothing.  ex: Process with an Id of 4692 is not running.] (CPID0/CMPID=0/CBPID=2004)
[2/18/2014 2:11:50 AM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/18/2014 2:11:54 AM]   [d] BAT successfully launched CGMiner executable process using ProcessID 5944.
[2/18/2014 2:11:54 AM]   [d] Miner.IsProcessAlive(5944) returns True. [First try, process is alive.] (CPID5944/CMPID=5944/CBPID=1312)
[2/18/2014 2:11:54 AM]   [d] Waiting for CGMiner to initialize API. Process 5944 alive=True, minerid=5944, bat id=1312.
[2/18/2014 2:11:55 AM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/18/2014 2:11:55 AM]   [d] Watch for miner, expected process is 5944 (alive).
[2/18/2014 2:11:55 AM]   [d] CGMiner process is running using ProcessID 5944, expecting port 4028.
[2/18/2014 2:12:14 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:12:34 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:12:54 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:14 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:34 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:55 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:13:58 AM]   [d] Miner process 5944 killed on 1st attempt.
[2/18/2014 2:13:58 AM]   [d] Finish wait for miner to start, process is 0 (not alive).
[2/18/2014 2:13:58 AM]   [d] CGMiner process 0 not alive at Miner.StartMining exit.
[2/18/2014 2:13:58 AM]   [d] Miner.StartMining.DeleteTemporaryBatchFile 'C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat' deleted successfully.
[2/18/2014 2:13:58 AM]       Start miner failed on 1st attempt. Killing any remaining processes and trying again.
[2/18/2014 2:13:58 AM]   [d] Miner.StartMining called. [Profile=Middlecoin;MinerFile=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat;MinerFileUsed=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat;MinerExecutable=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.exe;Config=C:\Users\Dennis\Documents\CGWatcher-1.3.5\temp.conf ();Arguments=/c;Anticipated Port=4028;Used Port=4028;IsBatCmd=True;BatCmdPath=C:\Users\Dennis\Documents\cgminer-3.7.2-windows\temp_cgminer.bat (C:\Users\Dennis\Documents\cgminer-3.7.2-windows\cgminer.bat);LastKnownInstanceCount=0/0]
[2/18/2014 2:13:59 AM]   [d] Miner.IsProcessAlive(1488) returns True. [First try, process is alive.] (CPID0/CMPID=0/CBPID=1488)
[2/18/2014 2:14:02 AM]   [d] BAT successfully launched CGMiner executable process using ProcessID 4488.
[2/18/2014 2:14:02 AM]   [d] Miner.IsProcessAlive(4488) returns True. [First try, process is alive.] (CPID4488/CMPID=4488/CBPID=1488)
[2/18/2014 2:14:02 AM]   [d] Waiting for CGMiner to initialize API. Process 4488 alive=True, minerid=4488, bat id=1488.
[2/18/2014 2:14:03 AM]       No pools set in config file or arguments! If I need to restart the miner it will be stuck at prompt until you manually enter this information. Putting this into the config file or arguments is highly recommended to ensure continuous mining.
[2/18/2014 2:14:03 AM]   [d] Watch for miner, expected process is 4488 (alive).
[2/18/2014 2:14:03 AM]   [d] CGMiner process is running using ProcessID 4488, expecting port 4028.
[2/18/2014 2:14:23 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:14:43 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:15:03 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:15:23 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:15:43 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:16:03 AM]   [d] CGMiner running but without API access... waiting to check again.
[2/18/2014 2:16:06 AM]   [d] Miner process 4488 killed on 1st attempt.
[2/18/2014 2:16:06 AM]   [d] Finish wait for miner to start, process is 0 (not alive).
newbie
Activity: 25
Merit: 0
CGRemote currently will only run one instance per computer. This is by design, because it would require less resources to have one instance with all of the miners rather than two instances - each with half the miners. If you prefer to use two instances anyway I'll remove the limit in the next update. Similar to running multiple instances of CGWatcher, each CGRemote instance will need its own folder.

That would be fantastic.

I'm interested in using it to manage somebody's else farm. Its really nice to see the individual "farms" hashrate.

Thanks.
hero member
Activity: 546
Merit: 500
I got an item to add to your wish list but maybe its there and I haven't seen it yet...

Is there anyway to have cgwatcher able to set that a profile not stick for more than a certain time regardless of coin profitability. One of my profiles is set to Uno coins and the reward is so small I don't want it to go on forever but it keeps staying with it.

It also might be a good option to if the profitability doesn't change that cgwatcher doesn't have to close cgminer and restart the timer again. When it gets close to when it does that I loose some shares for that profile. If its going to do a profile to the end of time I want to know how long its been running without having to look through a long log file to estimate.

Other long term wish would be a profile log that reads like a  list chart so I can know how much time and completed/lost shares a profile and its pools had by day/week/month/custom.  I want to be able to see this and be able to see if I getting the profitability for my shares, but since the timer resets and I can't really sort through the log easily to see who switched where this would be a great item to add.

Thanks


FYI last time I tried to register for your other forum you had over run your bandwidth and it was not accessible as is why I'm posting my wishlist here.
newbie
Activity: 8
Merit: 0
i'm a newbie to mining. CGWatcher has made it all much easier, so thank you for making and maintaining such a great app.

i've been using it for 2-3 weeks with cgminer, sgminer and vertminer. i've got 9 profiles, mining a mix of coins on single and multipools. a few of the profiles point CGWatcher to config and a few point to bat files.

CGW generally runs without any problems, restarting whatever miner program the profile calls every 4 hours to keep things fresh. but then every few days i can't get CGW to restart any of the miner programs. it launches the cmd window, runs the GPU ALLOCATION instructions in the bat files and then the cmd window just sits there, with no commands passing through it, no attempt to log in to the pools that are in the bat/config files, and no responses. after about 60 seconds, the cmd window closes. while this is happening, CGW says that it can't initialise the API. it tries to do it a few more times (i think have set it to 9 attempts), and then stops.

the only thing that seems to work is to turn off the PC for a day or two, then it all seems to work again.

any suggestions for diagnostic tests or solutions?

thanks.
sr. member
Activity: 462
Merit: 251
Hi milone,

perhaps you can help me.

i have the problem, that cgminer.exe closes automatically in random times without an error or something.
is there any possibility to figure it out, why it closes ?

i can restart it withour any issues but i think this is not a good solution to check it every hour or something ;-)

Which Infos do you need additionally?

thanks in advance :-)
member
Activity: 71
Merit: 11
timmieman and kimocoin, thanks for taking the time to reply.

unfortunately, the main issue is that gpu-threads is a global parameter, and unlike most others, you can only use one value (you can't use multiple values, separated by a coma) in the conf file.  this is the main reason i'm using two instances.

i know sgminer allows for using coma separated values in the conf file, but i'm not sure how to go about replacing cgminer with sgminer on my windows machine.  if anyone could offer any tips about this, i'd be grateful (or any other alternative ways of dealing with this).

many thanks!
Pages:
Jump to: