Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

bitcoind is extremely slow to start (~5-20 minutes). I'm not talking about keeping up with the blockchain, that would be perfectly fine, I'm talking about an initial phase where it doesn't even respond to requests: any call to it returns "error: couldn't connect to server" (either from command line or from web).

Is it a known issue, is there a workaround?

OSX 10.6.8, bitcoind 0.7.0 (but happened with earlier versions too).

share|improve this question
    
How slow are we talking? 30 seconds? 30 minutes? –  Nick ODell Jan 31 '13 at 1:14
    
@NickODell any time between 5 and 20 minutes, more or less. –  Lohoris Jan 31 '13 at 8:10
    
I have the same issue. Do you have FileVault trend on by chance? –  Andrew Burns Feb 1 '13 at 2:43
    
@AndrewBurns nope :/ –  Lohoris Feb 1 '13 at 16:17
    
Calling for a close vote: no longer useful. –  Lohoris Mar 7 '13 at 11:03
add comment

closed as too localized by Lohoris, cdecker, David Perry Mar 19 '13 at 21:00

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

You very probably have a massive wallet.dat file.

This happens with Instawallet's bitcoind, it takes an hour to start up, it spends this time loading the wallet.

If you want to make sure :

  • Stop bitcoind
  • Open up a Terminal, and type : $ tail -f ~/Library/Application\ Support/Bitcoin/debug.log
  • Press ⌘K to clear the scrollback and window
  • Start bitcoind

You should see some output when the client starts, if the problem is actually with loading the wallet the output should stop for a while on 'Loading wallet'.

share|improve this answer
    
mmh, seems to be stuck here Bound to [::]:8333 Bound to 0.0.0.0:8333 Loading block index... dbenv.open LogDir=/Users/looris/Library/Application Support/Bitcoin/database ErrorFile=/Users/looris/Library/Application Support/Bitcoin/db.log –  Lohoris Jan 31 '13 at 8:15
1  
Looks like it's loading the block DB –  David Jan 31 '13 at 9:34
    
And what should I do about that in that case? –  Lohoris Feb 1 '13 at 16:17
1  
I'd say try to remove your DB entirely and redownload the chain see if that solves the issue, the folks on #bitcoin-dev might have some better insight here. –  David Feb 1 '13 at 17:22
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.