handshake-org / hs-airdrop

Decentralized airdrop to open source developers
Other
1.4k stars 169 forks source link

hs-airdrop exits suddenly with `Killed` #85

Open rinetd opened 4 years ago

rinetd commented 4 years ago

./bin/hs-airdrop ~/.ssh/id_rsa hs1q3mv5zdzey4hu9hg59dgsaecaly960ns9yfjl2p 0.1 Passphrase: Attempting to create proof. This may take a bit. Decrypting nonce... Found nonce! Rebuilding tree... Killed

image

pinheadmz commented 4 years ago

@rinetd did you ever solve this issue?

coder5876 commented 3 years ago

I have basically the same problem. It looks like it’s succeeding but then it just stops with Killed, although for me it’s in a different place. Any idea what the problem could be?

# ./bin/hs-airdrop --bare ~/.ssh/id_rsa hs1XXXXXXXXXX --fee 0.1
Passphrase: 
Attempting to create proof.
This may take a bit.
Decrypting nonce...
Found nonce!
Rebuilding tree...
Finding merkle leaf for reward 0...

3 keys found in your subtree:
  11112222 (current)
  deadbeef
  aaaaaaaa

Creating proof from leaf 234567:0...
Killed
rithvikvibhu commented 3 years ago

Looks like the same issue here: https://github.com/handshake-org/hs-airdrop/issues/140

Most likely memory constraints. Try using a vm with more ram.

coder5876 commented 3 years ago

@rithvikvibhu Ah yes, I’m also using a cheap Digital Ocean instance, I’ll try upping the RAM on that. Thanks for the tip!

coder5876 commented 3 years ago

@rithvikvibhu Upped the RAM from 1GB to 2GB and that seems to have fixed it! Thanks for the help!

pinheadmz commented 3 years ago

Thanks for this discussion @christianlundkvist and @rithvikvibhu, I'm labeling this as "FAQ" and will leave it open.