Steem Mining - Ubuntu 14.04

in steemithelp •  8 years ago  (edited)

Hi all,

I am a bit a of a noob when it comes to Linux and mining in general but I saw a few posts on here talking about how to get setup - it seemed simple enough so I decided to give it a go. I have managed to get the miner installed on a server and I am accessing it via ssh

The miner has been running on and off for a couple of days now and it has managed to update the full blockchain.

Lastnight i was able to actually do a little bit of mining, I didn't actually take any screenshots but it looked like it was working (the lines in the console were showing a hash rate along with some other information)

over the couple of days it took to update the blockchain the steemd was crashing from time to time. I just kept an eye on it, connecting every so often to see how it was getting on.

After mining overnight I came to check it this morning and steemd has again crashed (its not running) so I have tried to start it again but now i cannot get past 95% of replaying the blockchain. I have tried multiple times but steemd just keeps crashing and i can never verify the blockchain to continue mining.

I am not getting a specific error message at all, I am actually running steemd and piping to a log file. I check the log file after i see the daemon has failed and the last few lines are:

1155647ms th_a database.cpp:3475 apply_hardfork ] HARDFORK 7
1160369ms th_a database.cpp:3480 apply_hardfork ] HARDFORK 8
83.8464% 2900000 of 3458707
86.7376% 3000000 of 3458707
89.6289% 3100000 of 3458707
92.5201% 3200000 of 3458707
1278765ms th_a database.cpp:3486 apply_hardfork ] HARDFORK 9
1422136ms th_a database.cpp:3508 apply_hardfork ] HARDFORK 10
1767867ms th_a database.cpp:3514 apply_hardfork ] HARDFORK 11
95.4114% 3300000 of 3458707

and the output of top:

top - 16:00:43 up 4:51, 1 user, load average: 1.07, 1.09, 1.06
Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.4 us, 9.4 sy, 0.0 ni, 0.4 id, 87.8 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1017712 total, 948276 used, 69436 free, 48 buffers
KiB Swap: 4194300 total, 1250564 used, 2943736 free. 2276 cached Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1671 root 20 0 2400684 713580 1400 D 19.0 70.1 34:13.70 steemd
28 root 20 0 0 0 0 S 3.7 0.0 10:57.18 kswapd0
1 root 20 0 33352 0 0 S 0.0 0.0 0:01.86 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.40 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 0:08.08 rcu_sched
8 root 20 0 0 0 0 R 0.0 0.0 0:07.39 rcuos/0
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/0
11 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0

If there is any other information I can give anyone to help please just ask - I could really do with some suggestions as I don't really know where to go from here.

thanks for taking the time

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  8 years ago (edited)

As far as I can see you are running on very low memory environment. 1gb ram, 4gb swap is kinda pain. I tried to reproduce this using my docker images based on Ubuntu 16.04. And it passed.
However, resync process took about 3 hours and 20 mins :(

Screenshot

Which version of gcc did you use to compile your wallet? Mine is 5.4.0

Hi teego,

thanks for the reply, you're right. I am trying to get this running on AWS free tier. These box's have 1 GB ram and i have setup a 4GB swap file. Another user had suggested turning this off altogether however i haven't tried this as yet.

Sorry I don't know what gcc is? how can i find out what version i have?

thanks once again for the help

GCC, the GNU Compiler Collection. Just run gcc --version or g++ --version to check version

gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

nice dude, ill have a read, was wondering what a Docker is!

thanks v much