Closed benzmuircroft closed 2 years ago
@benzmuircroft: Thanks for opening an issue, it is currently awaiting triage.
The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.
Why is difi-init using 100% CPU
That's totally ridiculous!
this needs to be fixed asap
dead again after 4 minutes (this time using -reindex-chainstate)
trying now without walletnotify
and blocknotify
It just died again!!! after 3 mins
trying without dbcache
and maxsigcachesize
no it crashed again after 4 mins. This is a big server but your code hogs so much resource that it is ridiculous. How do you expect this to run? It is bad code at this point. You need to be normal and use consideration for limits. (wow)
What sort of system are you using? What defid version? Mine runs on a raspberry pi with ease
Tasks: 172 total, 1 running, 171 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.9 us, 2.0 sy, 0.0 ni, 96.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 7812.0 total, 140.9 free, 2017.7 used, 5653.4 buff/cache
MiB Swap: 100.0 total, 69.7 free, 30.2 used. 5672.2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
561760 root 20 0 4544916 2.1g 528296 S 1.7 27.3 164:41.86 defi-init
Also not sure why you specifically use all those options. Remove any option apart from the rpcuser and rpcpassword and maybe datadir.
rm -rf anchors/ blocks/ burn/ chainstate/ enhancedcs/ history/ indexes/ spv
[Asia] https://defi-snapshots.s3.ap-southeast-1.amazonaws.com/snapshot-mainnet-1435343.zip [EU] https://defi-snapshots-europe.s3.eu-central-1.amazonaws.com/snapshot-mainnet-1435343.zip [Sydney] https://defi-snapshots-sydney.s3.ap-southeast-2.amazonaws.com/snapshot-mainnet-1435343.zip [US] https://defi-snapshots-us.s3.amazonaws.com/snapshot-mainnet-1435343.zip
Ubuntu 20 --version says DeFi Blockchain Daemon version v2.2.1.0-release so I need a new version?
Yes! We are on 2.3.1 which is a new hardfork
it would be great if the debug log or the daemon actually tells people these things
Every time I run dfid it stops after 15-30 seconds (it does not even say shutting down)
I'm on a dedicated server Ubuntu 20
conf:
debug: