create account

Steem Mining - Ubuntu 14.04 by mrhankeh

View this thread on: hive.blogpeakd.comecency.com
· @mrhankeh · (edited)
$0.51
Steem Mining - Ubuntu 14.04
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
👍  , , , , , , , , , , ,
properties (23)
authormrhankeh
permlinksteem-mining-ubuntu-14-04
categorysteemithelp
json_metadata{"tags":["steemithelp","steemit","steemmining","mining","linux","help"]}
created2016-07-24 15:27:48
last_update2016-07-24 16:01:33
depth0
children6
last_payout2016-08-24 19:44:36
cashout_time1969-12-31 23:59:59
total_payout_value0.434 HBD
curator_payout_value0.072 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,963
author_reputation85,780,954,785
root_title"Steem Mining - Ubuntu 14.04"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id322,965
net_rshares362,193,254,628
author_curate_reward""
vote details (12)
@teego · (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](https://s32.postimg.org/i4rs66zkl/Screenshot_2016_07_25_20_18_09.png)](https://s32.postimg.org/i4rs66zkl/Screenshot_2016_07_25_20_18_09.png)

Which version of *gcc* did you use to compile your wallet? Mine is 5.4.0
👍  ,
properties (23)
authorteego
permlinkre-mrhankeh-steem-mining-ubuntu-14-04-20160725t173830264z
categorysteemithelp
json_metadata{"tags":["steemithelp"],"image":["https://s32.postimg.org/i4rs66zkl/Screenshot_2016_07_25_20_18_09.png"]}
created2016-07-25 17:38:30
last_update2016-07-25 17:41:03
depth1
children5
last_payout2016-08-24 19:44:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length478
author_reputation1,468,005,650,113
root_title"Steem Mining - Ubuntu 14.04"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id351,762
net_rshares8,283,593,761
author_curate_reward""
vote details (2)
@mrhankeh ·
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
properties (22)
authormrhankeh
permlinkre-teego-re-mrhankeh-steem-mining-ubuntu-14-04-20160725t181726919z
categorysteemithelp
json_metadata{"tags":["steemithelp"]}
created2016-07-25 18:17:27
last_update2016-07-25 18:17:27
depth2
children4
last_payout2016-08-24 19:44:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length356
author_reputation85,780,954,785
root_title"Steem Mining - Ubuntu 14.04"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id352,799
net_rshares0
@teego ·
[GCC, the GNU Compiler Collection](https://gcc.gnu.org/). Just run `gcc --version` or `g++ --version` to check version
👍  
properties (23)
authorteego
permlinkre-mrhankeh-re-teego-re-mrhankeh-steem-mining-ubuntu-14-04-20160725t193041696z
categorysteemithelp
json_metadata{"tags":["steemithelp"],"links":["https://gcc.gnu.org/"]}
created2016-07-25 19:30:42
last_update2016-07-25 19:30:42
depth3
children1
last_payout2016-08-24 19:44:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation1,468,005,650,113
root_title"Steem Mining - Ubuntu 14.04"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id354,847
net_rshares292,446,656
author_curate_reward""
vote details (1)
@teego ·
By the way:
* [Dockerized Steem wallet](https://steemit.com/steem/@teego/docker-steem-images-are-updated-to-version-0-12-2)
* [Running Docker on AWS from the ground up](http://www.ybrikman.com/writing/2015/11/11/running-docker-aws-ground-up/#deploying-docker-containers-on-ecs)
👍  
properties (23)
authorteego
permlinkre-mrhankeh-re-teego-re-mrhankeh-steem-mining-ubuntu-14-04-20160725t193946393z
categorysteemithelp
json_metadata{"tags":["steemithelp"],"links":["https://steemit.com/steem/@teego/docker-steem-images-are-updated-to-version-0-12-2"]}
created2016-07-25 19:39:45
last_update2016-07-25 19:39:45
depth3
children1
last_payout2016-08-24 19:44:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length277
author_reputation1,468,005,650,113
root_title"Steem Mining - Ubuntu 14.04"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id355,088
net_rshares286,478,356
author_curate_reward""
vote details (1)