initia icon indicating copy to clipboard operation
initia copied to clipboard

Cannot use initiad snapshots commands while node is running

Open 0x4r45h opened this issue 9 months ago • 1 comments

Describe the bug When a node is running, executing initiad snapshots sub-commands like list returns this error:
Error: failed to initialize database: resource temporarily unavailable

But if you stop the node, it works as expected.
To Reproduce Steps to reproduce the behavior:

  1. Run a node with initiad start
  2. Run initiad snapshots list

Expected behavior It should work whether node is running or not

Environment

  • OS: Running inside Docker container, the base image is Debian GNU/Linux 12 (bookworm)
  • Initiad Version v0.2.14

Additional Context I've set ulimits nofile to 65535 for my docker containers, but didn't increase them on the host system.
could it be root cause of problem? 🤔

0x4r45h avatar May 16 '24 16:05 0x4r45h