Skip to content

Vault desync and restarting container issues #97

@anykeyh

Description

@anykeyh

Hello, I'm vault owner having issues making things work properly.

My vault is running on cloud machine (2vcpu/2gb ram as stated in the documentation) using docker-compose up

Often my transactions are stuck:

https://btc.harmony.one/dashboard/vaults/0x8D91eCB8440011577A62a274a42F35Bf51e2f5E7/redeems/53638847569553460732156364332640431072789681727946223794684582003232765928995/redeems/53638847569553460732156364332640431072789681727946223794684582003232765928995

image

(note: As I restarted the vault, now it says "waiting for execute" and I can click on redeem manually. Before it was saying "waiting for the vault" or something similar and nothing could have been done)

The vault is still running (says online on the vault page + I can access my personal dashboard). I then need to restart the vault to perform the pending operation.

The second problem is restarting the vault need to resync the Bitcoin chain into MongoDB on each restart. At first, it wasn't so long (only 25 minutes), but as time pass it starts to take multiple hours to resync to 100%. Meanwhile the node is running at 100% CPU on the two vcpu:

image

I'm not sure if it is possible at least to save the current state of the blockchain when stopping the container. I don't mind restarting once a day but as time pass it become longer and longer to resync the node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions