Bitcoin Forum
May 07, 2024, 07:28:00 AM *
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: 6595


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

1715066880
Hero Member
*
Offline Offline

Posts: 1715066880

View Profile Personal Message (Offline)

Ignore
1715066880
Reply with quote  #2

1715066880
Report to moderator
1715066880
Hero Member
*
Offline Offline

Posts: 1715066880

View Profile Personal Message (Offline)

Ignore
1715066880
Reply with quote  #2

1715066880
Report to moderator
1715066880
Hero Member
*
Offline Offline

Posts: 1715066880

View Profile Personal Message (Offline)

Ignore
1715066880
Reply with quote  #2

1715066880
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
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!