Bitcoin Forum
April 27, 2024, 02:09:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Upgraded to 0.96 building database takes long  (Read 1672 times)
wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 17, 2017, 10:12:25 AM
Last edit: June 17, 2017, 10:36:11 AM by wachtwoord
 #1

Hi, roughly 14 hours ago I upgraded to Armory 0.96 from an old version, deleted the databases from the datadir folder and started rebuilding the database.

By now armoryDB got to block file 106 (there are over 500 right?). At this pace it will take almost 3 days. Is there any way to speed it up? I ran with default settings (RAM mode 4 and it's using all 6 cores of my machine). I have 8 GB of RAM.

Thank you

Edit:

I run Windows 7 as the OS
1714183776
Hero Member
*
Offline Offline

Posts: 1714183776

View Profile Personal Message (Offline)

Ignore
1714183776
Reply with quote  #2

1714183776
Report to moderator
1714183776
Hero Member
*
Offline Offline

Posts: 1714183776

View Profile Personal Message (Offline)

Ignore
1714183776
Reply with quote  #2

1714183776
Report to moderator
1714183776
Hero Member
*
Offline Offline

Posts: 1714183776

View Profile Personal Message (Offline)

Ignore
1714183776
Reply with quote  #2

1714183776
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714183776
Hero Member
*
Offline Offline

Posts: 1714183776

View Profile Personal Message (Offline)

Ignore
1714183776
Reply with quote  #2

1714183776
Report to moderator
1714183776
Hero Member
*
Offline Offline

Posts: 1714183776

View Profile Personal Message (Offline)

Ignore
1714183776
Reply with quote  #2

1714183776
Report to moderator
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 17, 2017, 02:59:42 PM
 #2

I explicitly told you to use the testing builds.

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 17, 2017, 04:04:36 PM
 #3

I explicitly told you to use the testing builds.

Sorry you did. After I started the process already though (I thought I removed this topic). Did you want me to kill the process and start over?

It's now at block #610, how many more are there?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 17, 2017, 04:37:16 PM
 #4

I explicitly told you to use the testing builds.

Sorry you did. After I started the process already though (I thought I removed this topic). Did you want me to kill the process and start over?

It's now at block #610, how many more are there?

Another 300 or so. Kill the process and use the version I pointed you to.

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 17, 2017, 05:01:28 PM
 #5

Ok, doing that now. All default settings? (so e.g. for RAM)

Edit:

And do I need to re-delete the database or can I keep the current state?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 17, 2017, 06:50:47 PM
 #6

Ok, doing that now. All default settings? (so e.g. for RAM)

Yes

Quote
And do I need to re-delete the database or can I keep the current state?

No

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 17, 2017, 08:13:41 PM
 #7

It seemed to run pretty well, up until the moment it says it takes 4 seconds more for building databases. It's been hanging there for an hour now. There is no open command line window like last time to see what the progress is. Is it still continuing or did it hang here?  (I have the task manager running and I see the RAM usage of ArmoryDB is still slowly going up: about 2.55 GB).
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 17, 2017, 08:51:19 PM
 #8

Post your dbLog. If you want to see the command prompt, you'll have to start ArmoryDB from within a prompt.

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 18, 2017, 12:20:47 AM
 #9

There is nothing in your log indicating an issue, just let it finish.

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 18, 2017, 11:00:20 AM
 #10

The process is a bit further (it passed build databases) but at least since 7 hours ago (maybe more it was in the am) it's been stuck on "scanning transaction history" 0% 4 months.

Anything I can do? Is it likely still going ok? Any idea how much more it should take? (I can't use my main computer).

Thanks Smiley
wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 18, 2017, 02:10:38 PM
Last edit: June 18, 2017, 03:40:00 PM by wachtwoord
 #11

It just changed to 1% (1.5 months). Is this really going to take 100 times longer? Sad Can I run with lower RAM usage (maybe also CPU?) as the PC is completely unusable now. If I move the mouse it doesn't react for a few minutes.

Edit:

After a lot of waiting I managed to check the write time stamps of the logs. Dblog.txt has not been written to in 17 hours, armorycpplog.txt and armorylog.txt have not been written to in 16.5 hours.

Edit:

Over an hour later then my previous post and 2% 3 weeks now

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 18, 2017, 03:39:40 PM
 #12

What's the process CPU load? RAM load?

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 18, 2017, 03:41:37 PM
 #13

Processor was low (a few percent) RAM of the system was changing between 95-99%. The Armorydb.exe process started at 3 GB and slowly bled down until 0.7 GB over time but the total system RAM stayed at 95-99% (I have 8 GB of RAM).

Anyway just now, windows gave me a popup asking me to close armorydb.exe to prevent information loss since the system was low on resources. I declined but it crashed slightly later anyway. Is 8GB of RAM not enough anymore to run Armory?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 18, 2017, 03:47:52 PM
 #14

For some reason you managed to get the mem leak bug. Shutdown Bitcoin Core and start the DB alone. What are your system specs btw?

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 18, 2017, 03:55:04 PM
Last edit: June 18, 2017, 04:11:05 PM by wachtwoord
 #15

So only armorydb.exe (not armoryqt.exe)? With ArmoryDB.exe --datadir=LOCATION --satoshi-datadir=LOCATION

My specs:

AMD Phenom II X6 1055T Processor @ 2.80 GHz (6-core)
8 GB RAM
AMD Radeon HD6800 video card
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 18, 2017, 04:11:16 PM
 #16

So only armorydb.exe (not armoryqt.exe)?

Yes

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 18, 2017, 04:15:39 PM
 #17

So only armorydb.exe (not armoryqt.exe)?

Yes

Ok I'm running the bitcoin core client now to sync back up (15 hours behind) and then I'll try it and report back.

I have an alternative datadir and satoshi datadirr so I run it like:

ArmoryDB.exe --datadir=LOCATION --satoshi-datadir=LOCATION  ?

BTW:
I went into the settings (ArmorySettings.txt) and saw that a setting called: Wallet_MYWALLETNAME_BelongsTo is unset. Is that related in anyway?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 18, 2017, 05:35:39 PM
 #18

Quote
-INFO  - 18:51:13.306: (..\DatabaseBuilder.cpp:268) parsed block file #852

You are short like 5GB worth of block data.

wachtwoord (OP)
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 18, 2017, 05:38:55 PM
 #19

Bitcoin core is fully synced. What can be wrong? Why is it not seeing the block data?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
June 18, 2017, 05:42:04 PM
 #20

Are you using a very old copy of the chain? How big are the first blkXXXXX.dat files in your blockchain data folder?

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