Bitcoin Forum
May 04, 2024, 04:42:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Syncing Node is SO SLOW and it always Disconnects/Crashes, please help.  (Read 135 times)
whenwhatwherewhyhow (OP)
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
March 26, 2018, 02:46:28 PM
Last edit: March 26, 2018, 03:10:42 PM by whenwhatwherewhyhow
 #1

Using the latest RC version...it's the only version that got me as far as I did.  But I can sync maybe 1000 blocks, and it disconnects.  Then crashes trying to shut it down.  Force quit ArmoryDB and try to resume again.
In the final stretch trying to sync 50k-60k blocks but I feel like I'm getting nowhere.  I have to babysit this because it disconnects within an hour or less.

Please don't say I have to delete Databases.  I've done that so much and I am getting nowhere.
I really need my Armory functioning again because I'm trying to amend past year taxes.

This is so frustrating.  Can I just download Databases and/or blocks from somewhere/someone else?
1714840926
Hero Member
*
Offline Offline

Posts: 1714840926

View Profile Personal Message (Offline)

Ignore
1714840926
Reply with quote  #2

1714840926
Report to moderator
1714840926
Hero Member
*
Offline Offline

Posts: 1714840926

View Profile Personal Message (Offline)

Ignore
1714840926
Reply with quote  #2

1714840926
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714840926
Hero Member
*
Offline Offline

Posts: 1714840926

View Profile Personal Message (Offline)

Ignore
1714840926
Reply with quote  #2

1714840926
Report to moderator
1714840926
Hero Member
*
Offline Offline

Posts: 1714840926

View Profile Personal Message (Offline)

Ignore
1714840926
Reply with quote  #2

1714840926
Report to moderator
Holliday
Legendary
*
Offline Offline

Activity: 1120
Merit: 1009



View Profile
March 26, 2018, 03:49:57 PM
 #2

Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

If you aren't the sole controller of your private keys, you don't have any bitcoins.
whenwhatwherewhyhow (OP)
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
March 26, 2018, 03:59:49 PM
 #3

Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

Core should be synced, but it probably got behind again.  Shouldn't be 50k blocks behind though?

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Thanks!
Holliday
Legendary
*
Offline Offline

Activity: 1120
Merit: 1009



View Profile
March 26, 2018, 04:02:57 PM
 #4

Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Is Bitcoin Core fully synced before starting Armory?

Are you using an external HDD for the block chain or anything like that?

Yes, log files will show folders names for where the block chain is located.

If you aren't the sole controller of your private keys, you don't have any bitcoins.
whenwhatwherewhyhow (OP)
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
March 26, 2018, 04:04:32 PM
 #5

Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Is Bitcoin Core fully synced before starting Armory?

Are you using an external HDD for the block chain or anything like that?

Yes, log files will show folders names where the block chain is located.

Sorry slow to edit back in.

Yes Core is synced but Armory says 50k blocks behind still?  Doesn't make sense.

Internal HDD
Holliday
Legendary
*
Offline Offline

Activity: 1120
Merit: 1009



View Profile
March 26, 2018, 04:10:42 PM
 #6

Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Is Bitcoin Core fully synced before starting Armory?

Are you using an external HDD for the block chain or anything like that?

Yes, log files will show folders names where the block chain is located.

Sorry slow to edit back in.

Yes Core is synced but Armory says 50k blocks behind still?  Doesn't make sense.

Internal HDD

Well, it shouldn't take your computer all that long to sync Armory from scratch unless there is an underlying problem somewhere.

People who are better at this than me are probably going to need to see your log files in order to attempt to address your issue.

If you aren't the sole controller of your private keys, you don't have any bitcoins.
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
March 26, 2018, 04:57:37 PM
 #7

Internal HDD

Ideally, Core and Armory both should have the data on SSDs. Hard drives are problematic, especially if they're the slower models (which most probably are).
DrakonX
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
March 27, 2018, 12:43:11 PM
 #8

Excuse, droark, but this is not true at all!

Any hdd would do it. It doesn't have to do anything with being an SSD or not. Any regular sata-based hdd would to it too, even an external one connected via USB 2.0.

@whenwhatwherewhyhow: Do the following:
1. Delete the log files here:
C:\Users\[USER]\AppData\Roaming\Armory\armorylog.txt
C:\Users\[USER]\AppData\Roaming\Armory\dbLog.txt
([USER] has to be replaced with your username.)

2. Run Bitcoin Core. As soon as it is synced, run Armory.

3. Open the mentioned log files (that are automaticly created again) and post them here: http://nopaste.linux-dev.org/
... or here: https://pastebin.com/
... (one upload per file).

4. Provide both links to the uploads.

Then one of the experts will look over it.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
March 27, 2018, 02:08:21 PM
 #9

Quote
Any hdd would do it. It doesn't have to do anything with being an SSD or not. Any regular sata-based hdd would to it too, even an external one connected via USB 2.0.

You want a SSD because HDDs are just too slow. There is over 150GB of data to process to parse the blockchain, and it's not getting smaller. A modern HDD can handle at best ~120MB/s of sequential read. That's over 20min in ideal conditions for a single pass of the chain. You need 2 passes to build & scan, and the conditions are obviously not going to be ideal, since the code doesn't only access data sequentially, and it is writing back the DB at the same time. USB2 is 10x slower than SATA HDDs.

droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
March 27, 2018, 05:26:34 PM
 #10

Excuse, droark, but this is not true at all!

Technically? Yeah, I suppose you could toss any old drive into a USB2 enclosure, let it sit for a couple of days, and eventually have everything properly connected. As goatpig said, a lot of assumptions are being made.

- Ideal conditions. Hard drives grind to a halt when they're doing non-sequential reads and writes over different files. (Even SSDs kinda do it too, although it's nowhere near as bad.)
- Core's fighting for drive access too and has its own HD issues, not to mention CPU usage. (It's hard to read or write when the CPU is getting chewed up!) Other programs and the OS may be accessing the drive too.
- Is it possible there are really subtle bugs in Armory that make things worse for hard drives? Possibly. Anybody want to offer up some patches? goatpig & I are busy with various features we're working to get off the ground while balancing other factors in our lives. For better or worse, because SSDs are a reasonable workaround, we're not in a hurry to troubleshoot this one.

That said, your directions for the OP are good. Thanks.
DrakonX
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
March 27, 2018, 09:14:15 PM
Last edit: March 27, 2018, 09:25:31 PM by DrakonX
 #11

USB2 is 10x slower than SATA HDDs.
Yes, but it works fine for me, since I'm sitting behind a 6 MBit/s download connection. Wink Or do I miss the point?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
March 27, 2018, 10:55:09 PM
 #12

USB2 is 10x slower than SATA HDDs.
Yes, but it works fine for me, since I'm sitting behind a 6 MBit/s download connection. Wink Or do I miss the point?

It won't be TOO much of a pain when syncing the chain, but when bootstrapping an ArmoryDB, it will slow stuff down to a halt. That makes it harder on you to detect issues with your setup, but if you can get away with it, more power to you. However I'd prefer you don't recommend that to newbies.

Pages: [1]
  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!