0

Bitcoin RPC unloadwallet command does not close files opened by bitcoind process. I want to generate addresses for multiple wallets (over 1000) and get 'Too many opened files error'. Is there a way to close files, associated with unloaded wallet?

.bitcoin/testnet3/wallets/3f7b93e26b498be43235a9beda796d8d/.walletlock .bitcoin/testnet3/wallets/3f7b93e26b498be43235a9beda796d8d/db.log .bitcoin/testnet3/wallets/3f7b93e26b498be43235a9beda796d8d/database/log.0000000001

  • To begin with, why on earth do you want to do that? – Anonymous Mar 4 at 15:10
  • For my project. I generate wallets for customers – Elizaveta Olehnovich Mar 4 at 15:13
  • That’s generally not how people go about this. At the very least the software isn’t designed to handle tens or hundreds of wallets. Generally speaking if you’re handling customer money it’ll just end up all in one wallet. – Anonymous Mar 4 at 15:46
  • Thank you for comments. But why money would end up in one wallet? I have multiple folders under wallets directory. And Bitcoin RPC allows to create and switch between wallets – Elizaveta Olehnovich Mar 4 at 16:00
  • Why would you want them in separate wallets? – Anonymous Mar 4 at 18:36
0

This is a known bug and has been fixed for 0.18 which will be released in the coming weeks.

  • Yes, thank you a lot. Already found that Soooo glad it is fixed :) I'm the happiest person today! – Elizaveta Olehnovich Mar 5 at 9:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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