Pages:
Author

Topic: Smartcoin Linux mining administration. [MULTI-MACHINE SUPPORT NOW IN!] - page 3. (Read 105029 times)

full member
Activity: 238
Merit: 100
@sunny day: try running smartcoin as root (sudo smartcoin)

@jondecker: Well I overclock my cards separately using atitweak because it's a 5770 and 5830 so they have different clocks.
The status screen shows <> for both cards.
It's just happened again now and I can still see the temperatures so aticonfig must still be working.
When I look at the miner screen instances all I see is
"Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk"

Also another thing I noticed is if phoenix fails to connect it will just stop trying after a couple of attempts:
e.g. "Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk
[10/08/2011 22:45:12] Phoenix r111 starting...
[10/08/2011 22:45:22] Failed to connect, retrying...
[10/08/2011 22:45:32] Failed to connect, retrying..."

Even though the server is up and running as I'm mining it on my other PC. It's been sat like that for 25 minutes without attempting to reconnect again now and smartcoin doesn't attempt to restart them either.

If I restart them manually they connect fine.

What distro are you running smartcoin on?  When the miner instance screen shows blank, is it like that when it starts, or after its already been running and then hangs? (Does smartcoin ever work properly, if even just for a little bit?  If/when it is working, do the miner instance screens look normal?)

Regarding phoenix connection issues, there isn't much I can do about phoenix issues, though it appears to me that lockup detection should happen in this instance.  Also, i have gotten reports of r 111 and r112  of phoenix having these types of problems (I run phoenix r107 and never have issues like you are describing, perhaps you could verify?)

Linuxcoin 0.2-final.
I run it 16 hours a day and it only happens a couple of times a week.
It's always after a few hours or so.
When it works it looks normal.
I guess it's just locking up.
Do you recommend just setting the lockup script to restart the machine or set my clocks lower? Since it doesn't happen that often.
Ah, I'm using 1.5 but i'll try those, thanks.

I would recommend both actually - lower your clocks a little bit (2-3 mhz or so) and setup a nice lockup.sh script which reboots the machine and notifies you.

A good example is my own machine.  I kept backing off my overclock by 1mhz until it was stable. Just the other day, for the first time in 0ver 40 days it finally detected a lockup and rebooted.  Thats not enough of a concern for me to reduce clocks more, as I consider that pretty stable - but the lockup.sh script rebooting is a good thing, as otherwise I would have suffered some downtime until I checked on it (I'm known to not check on mine for several days at a time).
hero member
Activity: 481
Merit: 502
@sunny day: try running smartcoin as root (sudo smartcoin)

@jondecker: Well I overclock my cards separately using atitweak because it's a 5770 and 5830 so they have different clocks.
The status screen shows <> for both cards.
It's just happened again now and I can still see the temperatures so aticonfig must still be working.
When I look at the miner screen instances all I see is
"Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk"

Also another thing I noticed is if phoenix fails to connect it will just stop trying after a couple of attempts:
e.g. "Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk
[10/08/2011 22:45:12] Phoenix r111 starting...
[10/08/2011 22:45:22] Failed to connect, retrying...
[10/08/2011 22:45:32] Failed to connect, retrying..."

Even though the server is up and running as I'm mining it on my other PC. It's been sat like that for 25 minutes without attempting to reconnect again now and smartcoin doesn't attempt to restart them either.

If I restart them manually they connect fine.

What distro are you running smartcoin on?  When the miner instance screen shows blank, is it like that when it starts, or after its already been running and then hangs? (Does smartcoin ever work properly, if even just for a little bit?  If/when it is working, do the miner instance screens look normal?)

Regarding phoenix connection issues, there isn't much I can do about phoenix issues, though it appears to me that lockup detection should happen in this instance.  Also, i have gotten reports of r 111 and r112  of phoenix having these types of problems (I run phoenix r107 and never have issues like you are describing, perhaps you could verify?)

Linuxcoin 0.2-final.
I run it 16 hours a day and it only happens a couple of times a week.
It's always after a few hours or so.
When it works it looks normal.
I guess it's just locking up.
Do you recommend just setting the lockup script to restart the machine or set my clocks lower? Since it doesn't happen that often.
Ah, I'm using 1.5 but i'll try those, thanks.
full member
Activity: 238
Merit: 100
I am uploading an update right now that will fix your problem - there was a bug in a couple places where the user and the port were switched. It is now fixed.

Also,  I noticed that you are trying to remotely manage a Linuxcoin machine. See this from the multi-machine release note:
Quote
- If a remote machine normally runs smartcoin as root (with sudo - Linuxcoin would be an example of this), then when setting up a remote machine from Configure Machines, you must use the username 'root'.  This also means that the remote machine must have a root password for this to work.  To set up a root password, on the remote machine (before setting up the machine entry on the control screen):
Code:

Code:
sudo su

passwd

then enter a password twice.  You can now set up the remote machine in Smartcoin using the 'root' user

Here is what I would do in your situation to get things right again:
1) Delete the remote linuxcoin machine from Configure Machines->Delete
2) Update smartcoin to latest
3) Exit smartcoin
4) On your linuxcoin machine, make sure you have a root password set (per above instructions)
5) Fire smartcoin back up and add the linuxcoin machine again, and make sure you use the 'root' user.

This should get things working correctly again!  Thanks for the report!


Thanks!  What you suggested worked for both of my remote machines. 

I sent you a donation.  This is a great piece of software.

Glad to hear it worked well for you, and thanks for the donation!
Please post back if you find any further problems as multi-machine support is still very young and I want to make sure that it is stable and works as it should!
full member
Activity: 238
Merit: 100
I can't get smartcoin to run the miners. on the localhost page all the miners say idle and occasionally a bunch of "aticonfig: no supported adapters are found" messages scroll by. on the log page i try to manually run the phoenix command but it gives me a kernel not found error.

when i run aticonfig manually it works but only when i sudo it.
i normally use cgminer and that works with my cards just fine.
AMDOverdrive also detects the cards fine.
any ideas jondecker?

What linux distro are you running under? What install guide did you use?
You can run smartcoin as root, but that means you will also need to run the installer as root to set things up
I'm running linuxcoin final. i uninstalled the the one that came with it cuz it was outdated and then installed it from the svn. i used the instructions on the wiki.
yeah running as root gives me a bunch of not found errors.
Smartcoin has to run as root on top of Linuxcoin, as everything else is installed as root on linuxcoin.  You get not found errors because smartcoin has not yet been set up as root (Under linux, applications use hidden folders under the current user's path.  Since 'root' is a valid linux user, that means /root/.smartcoin must exist for it to run as root.  You can accomplish this by either
A) Re-running the installer as root (I.e. sudo smartcoin_install.sh)
or
B) copying the ~/.smartcoin directory from your user home to /root/.smartcoin

and of course, in this case after you have the hidden directory sorted, you'll want to run smartcoin as root (I.e. sudo smartcoin). 

Also,  if LinuxCoin ships with an out-of-date smartcoin,  you can just cd to the smartcoin directory (i think on LinuxCoin its /opt/miners/smartcoin), then run an 'svn update' before running the installer (as root of course).


I know its all a bit confusing, but this is the norm and compliant with Linux standards.
full member
Activity: 150
Merit: 100
I am uploading an update right now that will fix your problem - there was a bug in a couple places where the user and the port were switched. It is now fixed.

Also,  I noticed that you are trying to remotely manage a Linuxcoin machine. See this from the multi-machine release note:
Quote
- If a remote machine normally runs smartcoin as root (with sudo - Linuxcoin would be an example of this), then when setting up a remote machine from Configure Machines, you must use the username 'root'.  This also means that the remote machine must have a root password for this to work.  To set up a root password, on the remote machine (before setting up the machine entry on the control screen):
Code:

Code:
sudo su

passwd

then enter a password twice.  You can now set up the remote machine in Smartcoin using the 'root' user

Here is what I would do in your situation to get things right again:
1) Delete the remote linuxcoin machine from Configure Machines->Delete
2) Update smartcoin to latest
3) Exit smartcoin
4) On your linuxcoin machine, make sure you have a root password set (per above instructions)
5) Fire smartcoin back up and add the linuxcoin machine again, and make sure you use the 'root' user.

This should get things working correctly again!  Thanks for the report!


Thanks!  What you suggested worked for both of my remote machines. 

I sent you a donation.  This is a great piece of software.
newbie
Activity: 35
Merit: 0
I can't get smartcoin to run the miners. on the localhost page all the miners say idle and occasionally a bunch of "aticonfig: no supported adapters are found" messages scroll by. on the log page i try to manually run the phoenix command but it gives me a kernel not found error.

when i run aticonfig manually it works but only when i sudo it.
i normally use cgminer and that works with my cards just fine.
AMDOverdrive also detects the cards fine.
any ideas jondecker?

What linux distro are you running under? What install guide did you use?
You can run smartcoin as root, but that means you will also need to run the installer as root to set things up
I'm running linuxcoin final. i uninstalled the the one that came with it cuz it was outdated and then installed it from the svn. i used the instructions on the wiki.
yeah running as root gives me a bunch of not found errors.
full member
Activity: 238
Merit: 100
Update r657e/657s now available
- There is a new tag supported in the launch string. The new tag is <#device+1#>.  This is useful if a miner always treats the CPU as device 0, which ends up offsetting the GPU devices.  This would cause the GPU load and temperatures to be out of sync on a few installs, as well as cause the CPU to be fired up as GPU[0] on some installs.  By using the <#device+1#> tag in the launch string, you can counteract this problem directly on a per-miner basis.  If your devices ever seemed out of order, or you ever had to manually change your devices to start with 1 - you may want to give this new tag a try.
full member
Activity: 238
Merit: 100
Update 655e/655s now available:
- Fixed a remote machine bug where the port and username were switched around.
- Small change to donation system. Now only 1 worker per device will start up - this will be easier on resources.  I also switched to Eligius for the donation pool
full member
Activity: 238
Merit: 100
I am trying to get Smartcoin working on one of my rigs, which is running a persistent install of LinuxCoin 0.2b.  It has 3 HD 5970s in it, but I'm just trying to get the first GPU working.  I do have read/write permissions to the phoenix folder.  The Smartcoin host is running Debian Squeeze.

This below flashes across the screen a bunch of times when I switch to screen 2*$btc1.  Note: rylan is my user name on the Linuxcoin client and the Debian host.
Code:
Starting miner Miner.1!
Creating persistent ssh connection to machine 2
Bad port 'rylan'
Bad port 'rylan'
What does Bad port 'rylan' mean?  I have the ssh port set to 22.


Then the below screen shows up, where GPU[0] is idle.  There is a connection to btc1 though, because it's showing the correct temperature of GPU[0]
Code:
Smartcoin r652s 01:09:57
----------------------------------------
No screen session found. Host: btc1
GPU[0]: Temp: 56.00 load: 0%
CPU Load Avgs: 0.10 0.10 0.16

Profile: Automatic
--------Mainframe--------
GPU[0]: <<>>
Total : [0 MHash/sec] [0 Accepted] [0 Rejected] [0.00% Rejected]

Grand Total : [0 MHash/sec] [0 Accepted] [0 Rejected] [0.00% Rejected]


[ debian ][   0-$ control  1$ localhost  (2*$btc1)  3$ Log   ][ 08/11/11  1:10 ]

Below is my log
Code:
Starting SmartCoin at location: /home/rylan/smartcoin...
Running check
Starting main smartcoin screen session...


Creating persistent ssh connection to machine 2

Verifying integrity of general settings...
Verifying integrity of settings for machine 1...
Verifying integrity of settings for machine 2...
Creating tab for each machine...
Creating a logtail tab...
08/11/11 01:11:56       DEBUG: "screen -r miner -X hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d/%y %{W}%c %{g}]'"

08/11/11 01:11:56       Starting miner Miner.1!

08/11/11 01:11:56       Launching miner with launch string: python /opt/miners/phoenix/phoenix.py -v -u http://MYUSERNAME:[email protected]:8343/ -k phatk -q 6 DEVICE=0 VECTORS BFI_INT FASTLOOP=false WORKSIZE=128 AGGRESSION=9

08/11/11 01:11:56       Creating persistent ssh connection to machine 2

08/11/11 01:11:56       DEBUG: "screen  -d -r miner -X screen -t Miner.1 /tmp/smartcoin_launcher.sh /opt/miners/phoenix/ 'python /opt/miners/phoenix/phoenix.py -v -u http://MYUSERNAME:[email protected]:8343/ -k phatk -q 6 DEVICE=0 VECTORS BFI_INT FASTLOOP=false WORKSIZE=128 AGGRESSION=9' "

08/11/11 01:11:56       Creating persistent ssh connection to machine 2

08/11/11 01:11:56       DEBUG: screen -r miner -p miner-dummy -X kill

Halp!   Cheesy

I am uploading an update right now that will fix your problem - there was a bug in a couple places where the user and the port were switched. It is now fixed.

Also,  I noticed that you are trying to remotely manage a Linuxcoin machine. See this from the multi-machine release note:
Quote
- If a remote machine normally runs smartcoin as root (with sudo - Linuxcoin would be an example of this), then when setting up a remote machine from Configure Machines, you must use the username 'root'.  This also means that the remote machine must have a root password for this to work.  To set up a root password, on the remote machine (before setting up the machine entry on the control screen):
Code:

Code:
sudo su

passwd

then enter a password twice.  You can now set up the remote machine in Smartcoin using the 'root' user


Here is what I would do in your situation to get things right again:
1) Delete the remote linuxcoin machine from Configure Machines->Delete
2) Update smartcoin to latest
3) Exit smartcoin
4) On your linuxcoin machine, make sure you have a root password set (per above instructions)
5) Fire smartcoin back up and add the linuxcoin machine again, and make sure you use the 'root' user.

This should get things working correctly again!  Thanks for the report!
full member
Activity: 150
Merit: 100
I am trying to get Smartcoin working on one of my rigs, which is running a persistent install of LinuxCoin 0.2b.  It has 3 HD 5970s in it, but I'm just trying to get the first GPU working.  I do have read/write permissions to the phoenix folder.  The Smartcoin host is running Debian Squeeze.

This below flashes across the screen a bunch of times when I switch to screen 2*$btc1.  Note: rylan is my user name on the Linuxcoin client and the Debian host.
Code:
Starting miner Miner.1!
Creating persistent ssh connection to machine 2
Bad port 'rylan'
Bad port 'rylan'
What does Bad port 'rylan' mean?  I have the ssh port set to 22.


Then the below screen shows up, where GPU[0] is idle.  There is a connection to btc1 though, because it's showing the correct temperature of GPU[0]
Code:
Smartcoin r652s 01:09:57
----------------------------------------
No screen session found. Host: btc1
GPU[0]: Temp: 56.00 load: 0%
CPU Load Avgs: 0.10 0.10 0.16

Profile: Automatic
--------Mainframe--------
GPU[0]: <<>>
Total : [0 MHash/sec] [0 Accepted] [0 Rejected] [0.00% Rejected]

Grand Total : [0 MHash/sec] [0 Accepted] [0 Rejected] [0.00% Rejected]


[ debian ][   0-$ control  1$ localhost  (2*$btc1)  3$ Log   ][ 08/11/11  1:10 ]

Below is my log
Code:
Starting SmartCoin at location: /home/rylan/smartcoin...
Running check
Starting main smartcoin screen session...


Creating persistent ssh connection to machine 2

Verifying integrity of general settings...
Verifying integrity of settings for machine 1...
Verifying integrity of settings for machine 2...
Creating tab for each machine...
Creating a logtail tab...
08/11/11 01:11:56       DEBUG: "screen -r miner -X hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d/%y %{W}%c %{g}]'"

08/11/11 01:11:56       Starting miner Miner.1!

08/11/11 01:11:56       Launching miner with launch string: python /opt/miners/phoenix/phoenix.py -v -u http://MYUSERNAME:[email protected]:8343/ -k phatk -q 6 DEVICE=0 VECTORS BFI_INT FASTLOOP=false WORKSIZE=128 AGGRESSION=9

08/11/11 01:11:56       Creating persistent ssh connection to machine 2

08/11/11 01:11:56       DEBUG: "screen  -d -r miner -X screen -t Miner.1 /tmp/smartcoin_launcher.sh /opt/miners/phoenix/ 'python /opt/miners/phoenix/phoenix.py -v -u http://MYUSERNAME:[email protected]:8343/ -k phatk -q 6 DEVICE=0 VECTORS BFI_INT FASTLOOP=false WORKSIZE=128 AGGRESSION=9' "

08/11/11 01:11:56       Creating persistent ssh connection to machine 2

08/11/11 01:11:56       DEBUG: screen -r miner -p miner-dummy -X kill

Halp!   Cheesy
full member
Activity: 238
Merit: 100
@sunny day: try running smartcoin as root (sudo smartcoin)

@jondecker: Well I overclock my cards separately using atitweak because it's a 5770 and 5830 so they have different clocks.
The status screen shows <> for both cards.
It's just happened again now and I can still see the temperatures so aticonfig must still be working.
When I look at the miner screen instances all I see is
"Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk"

Also another thing I noticed is if phoenix fails to connect it will just stop trying after a couple of attempts:
e.g. "Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk
[10/08/2011 22:45:12] Phoenix r111 starting...
[10/08/2011 22:45:22] Failed to connect, retrying...
[10/08/2011 22:45:32] Failed to connect, retrying..."

Even though the server is up and running as I'm mining it on my other PC. It's been sat like that for 25 minutes without attempting to reconnect again now and smartcoin doesn't attempt to restart them either.

If I restart them manually they connect fine.

What distro are you running smartcoin on?  When the miner instance screen shows blank, is it like that when it starts, or after its already been running and then hangs? (Does smartcoin ever work properly, if even just for a little bit?  If/when it is working, do the miner instance screens look normal?)

Regarding phoenix connection issues, there isn't much I can do about phoenix issues, though it appears to me that lockup detection should happen in this instance.  Also, i have gotten reports of r 111 and r112  of phoenix having these types of problems (I run phoenix r107 and never have issues like you are describing, perhaps you could verify?)
full member
Activity: 238
Merit: 100
I can't get smartcoin to run the miners. on the localhost page all the miners say idle and occasionally a bunch of "aticonfig: no supported adapters are found" messages scroll by. on the log page i try to manually run the phoenix command but it gives me a kernel not found error.

when i run aticonfig manually it works but only when i sudo it.
i normally use cgminer and that works with my cards just fine.
AMDOverdrive also detects the cards fine.
any ideas jondecker?

What linux distro are you running under? What install guide did you use?
You can run smartcoin as root, but that means you will also need to run the installer as root to set things up
hero member
Activity: 481
Merit: 502
@sunny day: try running smartcoin as root (sudo smartcoin)

@jondecker: Well I overclock my cards separately using atitweak because it's a 5770 and 5830 so they have different clocks.
The status screen shows <> for both cards.
It's just happened again now and I can still see the temperatures so aticonfig must still be working.
When I look at the miner screen instances all I see is
"Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk"

Also another thing I noticed is if phoenix fails to connect it will just stop trying after a couple of attempts:
e.g. "Exporting: /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LAUNCH: python /opt/miners/phoenix//phoenix.py -v -u http://btcrig:btcrig@localhost:8337/ device=0 worksize=256 vectors aggression=10 bfi_int fastloop=false -k phatk
[10/08/2011 22:45:12] Phoenix r111 starting...
[10/08/2011 22:45:22] Failed to connect, retrying...
[10/08/2011 22:45:32] Failed to connect, retrying..."

Even though the server is up and running as I'm mining it on my other PC. It's been sat like that for 25 minutes without attempting to reconnect again now and smartcoin doesn't attempt to restart them either.

If I restart them manually they connect fine.
newbie
Activity: 35
Merit: 0
I can't get smartcoin to run the miners. on the localhost page all the miners say idle and occasionally a bunch of "aticonfig: no supported adapters are found" messages scroll by. on the log page i try to manually run the phoenix command but it gives me a kernel not found error.

when i run aticonfig manually it works but only when i sudo it.
i normally use cgminer and that works with my cards just fine.
AMDOverdrive also detects the cards fine.
any ideas jondecker?
full member
Activity: 238
Merit: 100
This sounds exactly like a hardlock condition - and would make sense that they happen at the same time because most people overclock all their cards together (--adapter=all)

If it happens again, disconnect from smartcoin then type:
Code:
screen -r miner

Then you can look at all of the miner instances manually and see what is going on.

Another easy test would be to reduce clocks a little and see if the hardlock no longer happens.

Please post back what you find out!
hero member
Activity: 481
Merit: 502
Hey getting some bizarre problems with my smartcoin Sad
Only seems to have started recently.
It's been mining fine for a while now.
But now on the status screen it shows <> for both my miners.
In the log it says they have locked up, but to be honest I doubt that both of my cards would lock up at the exact same time would they?
When trying to reload the miners, the miner screens just sit at the "Launching phoenix" screen and have no more output.
Then eventually I lose the ability to monitor my temperature (this occurs 10 minutes or so afterward, when i attempted to manually restart smartcoin).
And i get the message "No protocol specified" in the status window (a log from aticonfig maybe?)
The only solution is to restart Sad
Any ideas?
full member
Activity: 238
Merit: 100
Update r652e now available!
- New macro system implementation complete (except for 'Edit Macro')


Here is some information about the macro system:
Macros are only useful if you are running multiple machines. The macro system allows you to change the profile on multiple machines at the same time all with one command (Think of a macro as a "macro-profile"). To use, go to Configure Macros->Add.
You can then build a macro and define which profile to switch to on which machines when the macro is executed. If a profile isn't assigned for a machine, then the profile will stay the same for the machine when the macro is executed.

An example of a useful macro would be to create a macro named "Fallover All", then assign the failover profile for each machine.  When you execute the "Failover All" macro, then the profile on each machine will change to failover.  Pretty simple!

Simply use the "Execute Macro" option to choose a defined macro to execute!


Sample Usage Case
Imagine that you are running a mining farm with 10 machines. You get news that your favorite pool has been cheating its users and you want to switch all of your machines to a different pool as soon as possible. Simply Execute one of your pre-built macros and all of your machines will redirect to the indicated profiles - all within seconds!


Known Issues: Edit Macro not yet implemented, though you can always delete a macro and add a new one to start over for now.  The edit macro functionality should be finished in the next day or two.
full member
Activity: 238
Merit: 100
Update r647e now available
- Started writing the macro feature routines. All stubs now in place
- Huge optimizations on the multi-machine code.  12+ SQL queries per iteration per machine were eliminated (except for the localhost machine).

full member
Activity: 238
Merit: 100
Thank you for your very detailed explaination of this situation.

Is there a way to check this idle-state via a script (maybe with a cronjob every 10 Minutes) and make a restart of the rig and let smartcoin start again?


Smartcoin already has everything in place for this.

1) Failover system- A miner showing as <<>> for a determined amount of "refreshes" (See the Failover Threshold setting in Edit Settings) will failover following your set profile order IF 1) You have manual profiles defined and an order defined AND 2) You are running the special failover profile

2) Lockup System- (See the Lockup Threshold setting in Edit Settings)
If a miner instance locks up (does not change for a determined number of refreshes), it will trip the lockup system which will automatically reload the profile and miner instances (a lockup condition can happen from crashed miner software and even a GPU hard lockup).  Also, if  "lockup.sh" exists in the smartcoin directory, it will execute that script. This allows you to do advanced things like send yourself an email and even reboot the computer if you want.  Its a ways back in the post, but I did post an example of a custom lockup.sh script. You can read the post here https://bitcointalksearch.org/topic/m.382427, as well as some of the discussion around it.


While on the subject of custom scripts, smartcoin also will launch your own custom "init.sh" script if it is located in the smartcoin directory when you launch smartcoin.  Some people use this to crank up their fan speeds when smartcoin starts for example.

I know the documentation is a little crummy right now (I simply haven't had much of any time to document a lot of the features, i barely have time to code a lot of the time).  However, all features are covered somewhere in this thread, so although its long and probably a pain, you can learn a lot if you want to start from the beginning and read through this post history.


The beauty in using smartcoin, is that once you get it set up, you barely ever have to do anything but sit back and check in from time to time.  Pools getting DDOS's? No problem, failover takes over.  Miner software locks up? No problem, lockup system takes over. GPU locked up?  No problem if you have your machine set to reboot automatically on a lockup via lockup.sh.  I absolutely never touch my miners anymore, they just keep doing their job - I usually check in once a day and thats about it!
sr. member
Activity: 333
Merit: 250
Thank you for your very detailed explaination of this situation.

Is there a way to check this idle-state via a script (maybe with a cronjob every 10 Minutes) and make a restart of the rig and let smartcoin start again?
Pages:
Jump to: