Bitcoin Forum
May 07, 2024, 03:19:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoin Core 0.13 freezes Ubuntu 16  (Read 1757 times)
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
November 27, 2016, 06:42:44 PM
 #21

I did this but it froze again after about 20 mins.
Maybe there are bad blocks on HDD? Computer is new so I thought that was unlikely.
I think you are running out of RAM. Look at your CPU, RAM, and disk usage stats while you are running Bitcoin Core. I think that you will see your RAM usage go to 100% and then the computer freezes.

Try closing as many other open applications to free up as much RAM as possible

1715095192
Hero Member
*
Offline Offline

Posts: 1715095192

View Profile Personal Message (Offline)

Ignore
1715095192
Reply with quote  #2

1715095192
Report to moderator
1715095192
Hero Member
*
Offline Offline

Posts: 1715095192

View Profile Personal Message (Offline)

Ignore
1715095192
Reply with quote  #2

1715095192
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715095192
Hero Member
*
Offline Offline

Posts: 1715095192

View Profile Personal Message (Offline)

Ignore
1715095192
Reply with quote  #2

1715095192
Report to moderator
1715095192
Hero Member
*
Offline Offline

Posts: 1715095192

View Profile Personal Message (Offline)

Ignore
1715095192
Reply with quote  #2

1715095192
Report to moderator
1715095192
Hero Member
*
Offline Offline

Posts: 1715095192

View Profile Personal Message (Offline)

Ignore
1715095192
Reply with quote  #2

1715095192
Report to moderator
KingDice
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile WWW
November 27, 2016, 07:59:04 PM
 #22

Thanks for the info. I would recommend :

dbcache=500
par=1

Parameter  "par" tells bitcoin to limit the threads to 1, since HTOP indicates that all of the CPUs are being busy 100% with bitcoin having 4 threads. So if we limit it to 1, plus decrease RAM then it shall work. Please try it and let me know

Fenix_One (OP)
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 27, 2016, 08:34:16 PM
 #23

Here is screen photo from latest freeze with HTOP data (sorry, bad quality):
http://imgur.com/a/TIBfq 

Looks like all 4 cores are almost fully used.
KingDice
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile WWW
November 27, 2016, 08:37:03 PM
 #24

Here is screen photo from latest freeze with HTOP data (sorry, bad quality):
http://imgur.com/a/TIBfq 

Looks like all 4 cores are almost fully used.

Okay but please add to the bitcoin.conf the settings i mentioned above,restart bitcoin, and it shall have no problem then.

Fenix_One (OP)
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 27, 2016, 09:06:36 PM
 #25

Here is screen photo from latest freeze with HTOP data (sorry, bad quality):
http://imgur.com/a/TIBfq 

Looks like all 4 cores are almost fully used.

Okay but please add to the bitcoin.conf the settings i mentioned above,restart bitcoin, and it shall have no problem then.

ok, I have
dbcache=500
par=1

Now it adds new blocks slower of course, but hopefully it won't the freeze the computer anymore.
Can you tell what does dbcache=500 exactly do?


Thanks a lot!
KingDice
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile WWW
November 27, 2016, 09:19:28 PM
 #26

Okay great, dbcache just tells bitcoin t use only 500mb of cache. HTOP should show less load now, and cpus must be mostly free.

Fenix_One (OP)
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 30, 2016, 09:41:15 AM
 #27

Problem solved, thanks everyone!
Pages: « 1 [2]  All
  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!