It may fix sync stuck issue at runtime #3758
-
Describe the bug To Reproduce Screenshots
Version (run How to solve it at runtime?
Just monitor your log, as long as you saw a proof failed to commit, you kick it out, from what I noticed, no matter how many times it tries, it will fail eventually, no exception. here is the bash script that will run automatically. remember to change this variable:
#!/bin/bash
tail -n1000 -f <YOUR_MINER_LOG_PATH>.log | while read line
do
sector_id=`echo "${line}"|grep -E "proof failed | invalid proof | comm_d do not match" |awk -F ")" '{print $1}' |awk '{print $6}'`
if [[ "$sector_id" != "" ]];then
date "+%F %H:%M:%S" >><WHERE_YOU_WANT_SAVE_REMOVE_HISTORY>.log
echo $sector_id >><WHERE_YOU_WANT_SAVE_REMOVE_HISTORY>.log
lotus-miner sectors remove --really-do-it $sector_id
fi
done |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
hello, I have the same, what CPU are you? |
Beta Was this translation helpful? Give feedback.
-
Same to me... lns@lns-TRX40-AORUS-XTREME:~$ lotus sync status |
Beta Was this translation helpful? Give feedback.
-
Archiving due to age. |
Beta Was this translation helpful? Give feedback.
Archiving due to age.