Bitcoin Forum
September 02, 2025, 02:48:28 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 [205] 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 ... 352 »
  Print  
Author Topic: [ mining os ] nvoc  (Read 418568 times)
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 08, 2017, 03:20:34 PM
 #4081

My latest telegram
Fixed miner uptime
With some WTM auto switch and profit check info

LINK

Thx for sharing your ideas  Wink


Just trying to help  👍👍👍👍

damNmad
Full Member
***
Offline Offline

Activity: 378
Merit: 104


nvOC forever


View Profile
November 08, 2017, 04:54:53 PM
 #4082

Guys; i just found this new (??) ethash miner, not sure it dual mines but would like someone to test it and see whether it earns place in nvOC??

https://github.com/ethash/eminer-release/releases/


It comes with some gadgets to see the hashrate and stuff, please have a look and put your opinion out. Would suggest to run it on a test RIG (I don;t have one Sorry Sad )


You can also join the discussion here on discord https://discord.gg/trw4c3c

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
RobertN
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
November 08, 2017, 04:59:10 PM
 #4083

Just downloaded and installed nvOC on my rig for the first time with only 1 card in the pci-e x16 slot to try it out.
I have filled out the Bash1 file with the pool adress etc. (Followed VoskCoins tutorial).

Now i have 2 problems.. (Yes i have searched for answers in this thread, but have not found any solution)

1. When typing in "screen -r miner" in quake terminal i get this message: "There is no screen to be resumed matching miner."

2. The whole rig restarts after about 5 min, and sometimes it just gets in to the busybox instead.

Any ideas? (Sorry if these questions has been answered before)
Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 08, 2017, 05:05:05 PM
 #4084

Just downloaded and installed nvOC on my rig for the first time with only 1 card in the pci-e x16 slot to try it out.
I have filled out the Bash1 file with the pool adress etc. (Followed VoskCoins tutorial).

Now i have 2 problems.. (Yes i have searched for answers in this thread, but have not found any solution)

1. When typing in "screen -r miner" in quake terminal i get this message: "There is no screen to be resumed matching miner."

2. The whole rig restarts after about 5 min, and sometimes it just gets in to the busybox instead.

Any ideas? (Sorry if these questions has been answered before)

That is a clear indication that the miner is not mining which can be for a lot of reasons. The watchdog script is not seeing enough GPU utilization so it tries to restart the miner a few times and eventually reboot the box. The watchdog can be particularly annoying this way. Please start by posting what you are trying to mine for and what you have changed in 1bash.
damNmad
Full Member
***
Offline Offline

Activity: 378
Merit: 104


nvOC forever


View Profile
November 08, 2017, 05:06:12 PM
 #4085

Just downloaded and installed nvOC on my rig for the first time with only 1 card in the pci-e x16 slot to try it out.
I have filled out the Bash1 file with the pool adress etc. (Followed VoskCoins tutorial).

Now i have 2 problems.. (Yes i have searched for answers in this thread, but have not found any solution)

1. When typing in "screen -r miner" in quake terminal i get this message: "There is no screen to be resumed matching miner."

2. The whole rig restarts after about 5 min, and sometimes it just gets in to the busybox instead.

Any ideas? (Sorry if these questions has been answered before)

It only means, its not mining at all, so because the utilization is '0' 3main restarting the RIG, its just a loop until you fix the problem.

First, what coin you are mining, you sure you have the coin details correct? (check any extra spaces and dot or slash)

Second try to run that coin's individual line based on 3main constraints (ignore this if you don't know what I've said)

I've been trying to answer these sort of questions on our discord channel, feel free to hop in https://discord.gg/8YDFEvY

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
damNmad
Full Member
***
Offline Offline

Activity: 378
Merit: 104


nvOC forever


View Profile
November 08, 2017, 05:06:55 PM
 #4086

Just downloaded and installed nvOC on my rig for the first time with only 1 card in the pci-e x16 slot to try it out.
I have filled out the Bash1 file with the pool adress etc. (Followed VoskCoins tutorial).

Now i have 2 problems.. (Yes i have searched for answers in this thread, but have not found any solution)

1. When typing in "screen -r miner" in quake terminal i get this message: "There is no screen to be resumed matching miner."

2. The whole rig restarts after about 5 min, and sometimes it just gets in to the busybox instead.

Any ideas? (Sorry if these questions has been answered before)

That is a clear indication that the miner is not mining which can be for a lot of reasons. The watchdog script is not seeing enough GPU utilization so it tries to restart the miner a few times and eventually reboot the box. The watchdog can be particularly annoying this way. Please start by posting what you are trying to mine for and what you have changed in 1bash.

You beat me, Thank you so much stubo Smiley

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
RobertN
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
November 08, 2017, 06:04:18 PM
 #4087

Just downloaded and installed nvOC on my rig for the first time with only 1 card in the pci-e x16 slot to try it out.
I have filled out the Bash1 file with the pool adress etc. (Followed VoskCoins tutorial).

Now i have 2 problems.. (Yes i have searched for answers in this thread, but have not found any solution)

1. When typing in "screen -r miner" in quake terminal i get this message: "There is no screen to be resumed matching miner."

2. The whole rig restarts after about 5 min, and sometimes it just gets in to the busybox instead.

Any ideas? (Sorry if these questions has been answered before)

That is a clear indication that the miner is not mining which can be for a lot of reasons. The watchdog script is not seeing enough GPU utilization so it tries to restart the miner a few times and eventually reboot the box. The watchdog can be particularly annoying this way. Please start by posting what you are trying to mine for and what you have changed in 1bash.

Thanks, im trying to mine Zen. Using suprnova as pool and have created a new worker with password "x".

This is what I´ve changed in 1bash:

COIN:"ZEN"

ZEN_WORKER:"My-new-created-worker"
ZEN_ADRESS:"Wallet-key"
ZEN_POOL:"zen.suprnova.cc"
ZEN_PORT:"3618"

Have not done anything else. What am I missing?


It only means, its not mining at all, so because the utilization is '0' 3main restarting the RIG, its just a loop until you fix the problem.

First, what coin you are mining, you sure you have the coin details correct? (check any extra spaces and dot or slash)

Second try to run that coin's individual line based on 3main constraints (ignore this if you don't know what I've said)

I've been trying to answer these sort of questions on our discord channel, feel free to hop in https://discord.gg/8YDFEvY

Thank you! I'm totally new into this, so I´ll ignore the second option for now Wink But I'll defenetly get back to that if I can't get it to work. I´m learning new stuff everyday thanks to you guys here!
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 08, 2017, 06:12:03 PM
 #4088

Just downloaded and installed nvOC on my rig for the first time with only 1 card in the pci-e x16 slot to try it out.
I have filled out the Bash1 file with the pool adress etc. (Followed VoskCoins tutorial).

Now i have 2 problems.. (Yes i have searched for answers in this thread, but have not found any solution)

1. When typing in "screen -r miner" in quake terminal i get this message: "There is no screen to be resumed matching miner."

2. The whole rig restarts after about 5 min, and sometimes it just gets in to the busybox instead.

Any ideas? (Sorry if these questions has been answered before)

That is a clear indication that the miner is not mining which can be for a lot of reasons. The watchdog script is not seeing enough GPU utilization so it tries to restart the miner a few times and eventually reboot the box. The watchdog can be particularly annoying this way. Please start by posting what you are trying to mine for and what you have changed in 1bash.

Thanks, im trying to mine Zen. Using suprnova as pool and have created a new worker with password "x".

This is what I´ve changed in 1bash:

COIN:"ZEN"

ZEN_WORKER:"My-new-created-worker"
ZEN_ADRESS:"Wallet-key"
ZEN_POOL:"zen.suprnova.cc"
ZEN_PORT:"3618"

Have not done anything else. What am I missing?


It only means, its not mining at all, so because the utilization is '0' 3main restarting the RIG, its just a loop until you fix the problem.

First, what coin you are mining, you sure you have the coin details correct? (check any extra spaces and dot or slash)

Second try to run that coin's individual line based on 3main constraints (ignore this if you don't know what I've said)

I've been trying to answer these sort of questions on our discord channel, feel free to hop in https://discord.gg/8YDFEvY

Thank you! I'm totally new into this, so I´ll ignore the second option for now Wink But I'll defenetly get back to that if I can't get it to work. I´m learning new stuff everyday thanks to you guys here!

With suprnova you use username not wallet
Make sure you make worker in suprnova setting too

Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 08, 2017, 06:15:13 PM
 #4089


This is what I´ve changed in 1bash:

COIN:"ZEN"

ZEN_WORKER:"My-new-created-worker"
ZEN_ADRESS:"Wallet-key"
ZEN_POOL:"zen.suprnova.cc"
ZEN_PORT:"3618"

Have not done anything else. What am I missing?


Your ZEN_ADDRESS (note the extra D) for suprnova should correspond to your login name, not an actual wallet address. The pool and the port are correct. The next thing to consider is that 3main will use "x" for you miner password. I am not sure if suprnova is a pool that allows anything for password or not but I just wanted to point it out.

You can also look at the logging to figure out what is happening using this command:

Code:
tail -f screenlog.0

This will show the output of the miner (and other things if REMOTE) as it tries to start and connect.


Hope this helps.
leenoox
Full Member
***
Offline Offline

Activity: 200
Merit: 101



View Profile
November 08, 2017, 06:41:25 PM
 #4090

Guys; i just found this new (??) ethash miner, not sure it dual mines but would like someone to test it and see whether it earns place in nvOC??

https://github.com/ethash/eminer-release/releases/


It comes with some gadgets to see the hashrate and stuff, please have a look and put your opinion out. Would suggest to run it on a test RIG (I don;t have one Sorry Sad )


You can also join the discussion here on discord https://discord.gg/trw4c3c

It seems this miner is using OpenCL, not CUDA. Should be ok for AMD cards but not so much for Nvidia.

RobertN
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
November 08, 2017, 06:49:14 PM
 #4091


Your ZEN_ADDRESS (note the extra D) for suprnova should correspond to your login name, not an actual wallet address. The pool and the port are correct. The next thing to consider is that 3main will use "x" for you miner password. I am not sure if suprnova is a pool that allows anything for password or not but I just wanted to point it out.

You can also look at the logging to figure out what is happening using this command:

Code:
tail -f screenlog.0

This will show the output of the miner (and other things if REMOTE) as it tries to start and connect.


Hope this helps.

Thank you! That has to be the problem, i'll replace that wallet key as soon as I solve my new problem.. it won't boot anymore, now I'm ending up at BusyBox at every startup.. Need to reinstall, hopa this will work Smiley Thanks for your help guys!
leenoox
Full Member
***
Offline Offline

Activity: 200
Merit: 101



View Profile
November 08, 2017, 06:53:00 PM
 #4092

@damNmad:

I found a small bug in your telegram configuration. Command which use for getting GPUs count is invalid when rig have installed over 9 cards...

Your command:
Code:
GPU_COUNT=$(nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1} ; { print SUM }')
and result:
Code:
m1@rig-bafomet:~$ nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1} ; { print SUM }'
2

There isn't any reason, why use awk. Easier way is use wc only.

So, fix:
Code:
GPU_COUNT=$(nvidia-smi -L | wc -l')
and result:
Code:
m1@rig-bafomet:~$ nvidia-smi -L | wc -l
11

I used to use same cmd, fixed it with this one for 1.4:

Code:
nvidia-smi --query-gpu=count --format=csv,noheader,nounits | tail -1



Here is even more optimized code, less cycles, no need to use pipe:

Code:
nvidia-smi -i 0 --query-gpu=count --format=csv,noheader,nounits

every one has GPU0 plugged in so we can query only one GPU to get the total number of GPU's instead of querying all GPU's to return the same number then pipe it trough tail Wink

papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 08, 2017, 07:19:28 PM
 #4093

@damNmad:

I found a small bug in your telegram configuration. Command which use for getting GPUs count is invalid when rig have installed over 9 cards...

Your command:
Code:
GPU_COUNT=$(nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1} ; { print SUM }')
and result:
Code:
m1@rig-bafomet:~$ nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1} ; { print SUM }'
2

There isn't any reason, why use awk. Easier way is use wc only.

So, fix:
Code:
GPU_COUNT=$(nvidia-smi -L | wc -l')
and result:
Code:
m1@rig-bafomet:~$ nvidia-smi -L | wc -l
11

I used to use same cmd, fixed it with this one for 1.4:

Code:
nvidia-smi --query-gpu=count --format=csv,noheader,nounits | tail -1



Here is even more optimized code, less cycles, no need to use pipe:

Code:
nvidia-smi -i 0 --query-gpu=count --format=csv,noheader,nounits

every one has GPU0 plugged in so we can query only one GPU to get the total number of GPU's instead of querying all GPU's to return the same number then pipe it trough tail Wink



Totally correct and thanks for the help 👍👍👍

papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 08, 2017, 07:27:05 PM
 #4094

Bios question!

Is it better to change  PEG0, PEG1,...  Max link speed to GEN1, GEN2 GEN3 in nvOC and Linux or those are only for windows ?

kk003
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
November 08, 2017, 08:25:15 PM
 #4095

@damNmad:

I found a small bug in your telegram configuration. Command which use for getting GPUs count is invalid when rig have installed over 9 cards...

Your command:
Code:
GPU_COUNT=$(nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1} ; { print SUM }')
and result:
Code:
m1@rig-bafomet:~$ nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1} ; { print SUM }'
2

There isn't any reason, why use awk. Easier way is use wc only.

So, fix:
Code:
GPU_COUNT=$(nvidia-smi -L | wc -l')
and result:
Code:
m1@rig-bafomet:~$ nvidia-smi -L | wc -l
11

I used to use same cmd, fixed it with this one for 1.4:

Code:
nvidia-smi --query-gpu=count --format=csv,noheader,nounits | tail -1



Here is even more optimized code, less cycles, no need to use pipe:

Code:
nvidia-smi -i 0 --query-gpu=count --format=csv,noheader,nounits

every one has GPU0 plugged in so we can query only one GPU to get the total number of GPU's instead of querying all GPU's to return the same number then pipe it trough tail Wink



Totally correct and thanks for the help 👍👍👍

I've never understood why in this query every GPU shows the total number of GPUs instead of just the number of GPUs.!!!
damNmad
Full Member
***
Offline Offline

Activity: 378
Merit: 104


nvOC forever


View Profile
November 08, 2017, 08:49:17 PM
 #4096

Guys; i just found this new (??) ethash miner, not sure it dual mines but would like someone to test it and see whether it earns place in nvOC??

https://github.com/ethash/eminer-release/releases/


It comes with some gadgets to see the hashrate and stuff, please have a look and put your opinion out. Would suggest to run it on a test RIG (I don;t have one Sorry Sad )


You can also join the discussion here on discord https://discord.gg/trw4c3c

It seems this miner is using OpenCL, not CUDA. Should be ok for AMD cards but not so much for Nvidia.

How on earth i missed that point  Huh Huh Huh

I only saw NVIDIA from this line; "Fully support AMD and NVIDIA OpenCL devices".

Thanks @leenoox

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 08, 2017, 08:55:28 PM
 #4097

Watchdog Improvement?

I have been reading over the watchdog script and seen what I think is an opportunity for improvement. The current logic loops every 10 seconds and looks for GPU utilization below a threshold (90%), if it finds this, it begins incrementing one counter (JEEP) and decrementing another (COUNTER,  initially set to 6*#GPU) for each occurrence [per GPU]. My issue is that the current logic has to wait 6*#GPU*10 seconds, or a minute per GPU before it will attempt a miner restart.

My thinking is why not just check for the existence of a miner process - if none is found, we can just skip the rest if the countdown and get right to attempting to restart the miner. This can save many minutes of lost mining time. The downside is that it is so much faster than the existing that if you do have a configuration issue, it will be launching miners and rebooting at a much faster rate. So, maybe this is more of an expert mod.

Anyway, I have been running a modified version of IAmNotAJeep_and_Maxximus007_WATCHDOG that has this additional logic and it work great for ME. In the existing 19-1.4 version of the script, starting at line 98, I added this:

Code:
   # Begin Stubo Mod
   # Look for no miner screen and get right to miner restart
   if [[ `screen -ls |grep miner |wc -l` -eq 0 ]]
   then
      COUNT=0
 echo "Found no miner, jumping to 3main restart" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
   fi  
   # End Stubo Mod

By setting COUNT=0 for the "no miner found" condition, I am effectively removing the delay in decrementing COUNTER all of the way down before the script takes action.

Thoughts?
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 08, 2017, 09:44:29 PM
 #4098

Watchdog Improvement?

I have been reading over the watchdog script and seen what I think is an opportunity for improvement. The current logic loops every 10 seconds and looks for GPU utilization below a threshold (90%), if it finds this, it begins incrementing one counter (JEEP) and decrementing another (COUNTER,  initially set to 6*#GPU) for each occurrence [per GPU]. My issue is that the current logic has to wait 6*#GPU*10 seconds, or a minute per GPU before it will attempt a miner restart.

My thinking is why not just check for the existence of a miner process - if none is found, we can just skip the rest if the countdown and get right to attempting to restart the miner. This can save many minutes of lost mining time. The downside is that it is so much faster than the existing that if you do have a configuration issue, it will be launching miners and rebooting at a much faster rate. So, maybe this is more of an expert mod.

Anyway, I have been running a modified version of IAmNotAJeep_and_Maxximus007_WATCHDOG that has this additional logic and it work great for ME. In the existing 19-1.4 version of the script, starting at line 98, I added this:

Code:
   # Begin Stubo Mod
   # Look for no miner screen and get right to miner restart
   if [[ `screen -ls |grep miner |wc -l` -eq 0 ]]
   then
      COUNT=0
 echo "Found no miner, jumping to 3main restart" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
   fi  
   # End Stubo Mod

By setting COUNT=0 for the "no miner found" condition, I am effectively removing the delay in decrementing COUNTER all of the way down before the script takes action.

Thoughts?

Amazing idea,
What I was testing is to just restart miner instead of restart 3main which will take 2-3 minutes, by using a separate miner start file which I use for WTM switcher
You can check it in ~/z_papampi_versions/wtm-miner
It has the 3main miner startup lines ( without salfter, zpool, mph) and I use that instead of restarting 3main

instead of :
Code:
       echo "WARNING: $(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
    # If miner runs in screen 'miner' kill the screen to be sure it's gone
    pkill -e miner
    bash '/home/m1/telegram'
    # Best to restart oneBash - settings might be adjusted already
    target=$(ps -ef | awk '$NF~"3main" {print $2}')
    kill $target #| tee -a ${LOG_FILE}
    echo "" #| tee -a ${LOG_FILE}
    RESTART=$(($RESTART + 1))
    REBOOTRESET=0
    COUNT=$GPU_COUNT

I use :

Code:
       echo "WARNING: $(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
    # If miner runs in screen 'miner' kill the screen to be sure it's gone
    pkill -e miner
    sleep 1
    bash /home/m1/wtm-miner
    bash '/home/m1/telegram'
    RESTART=$(($RESTART + 1))
    REBOOTRESET=0
    COUNT=$GPU_COUNT

Can you please tell me where you add your edit?
I made so many edits that line 98 doesnt look like the correct place


Update: I think that wtm-miner included in 1.4 is missing a done or exit at the end.

Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 08, 2017, 09:58:31 PM
 #4099

papampi:

I don't have a wtm-miner. That is another reason that I beautify any scripts my miners run with beautify_bash.py. Mismatches like that are trivial to find with the proper indentation. As for the mod I did, here is more of it:

Code:
<cut>
   #IAmNotAJeep MOD from V002
   if [ $JEEP -gt 0 ]
   then
      echo "Debug: JEEP=$JEEP, COUNT=$COUNT, RESTART=$RESTART"
      
      # Begin Stubo Mod
      # Look for no miner screen and get right to miner restart
      if [[ `screen -ls |grep miner |wc -l` -eq 0 ]]
      then
         COUNT=0
echo "Found no miner, jumping to 3main restart" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
      fi  
      # End Stubo Mod

      if [ $COUNT -le 0 ]
      then
         INTERNET_IS_GO=0
<cut>

With this in place, an 8 GPU rig miner restart by the watchdog is reduced from 8 minutes to ~ 10 seconds.
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 08, 2017, 10:06:59 PM
 #4100

papampi:

I don't have a wtm-miner. That is another reason that I beautify any scripts my miners run with beautify_bash.py. Mismatches like that are trivial to find with the proper indentation. As for the mod I did, here is more of it:

Code:
<cut>
   #IAmNotAJeep MOD from V002
   if [ $JEEP -gt 0 ]
   then
      echo "Debug: JEEP=$JEEP, COUNT=$COUNT, RESTART=$RESTART"
      
      # Begin Stubo Mod
      # Look for no miner screen and get right to miner restart
      if [[ `screen -ls |grep miner |wc -l` -eq 0 ]]
      then
         COUNT=0
echo "Found no miner, jumping to 3main restart" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
      fi  
      # End Stubo Mod

      if [ $COUNT -le 0 ]
      then
         INTERNET_IS_GO=0
<cut>

With this in place, an 8 GPU rig miner restart by the watchdog is reduced from 8 minutes to ~ 10 seconds.

Thanks mate
Can you please have a look at the ~/z_papampi_versions/wtm-miner
and see why it wont exit when done?
I tried with done, exit, exit 0, .... and it stays running in the background

Pages: « 1 ... 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 [205] 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 ... 352 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!