input-output-hk / plutus-apps

The Plutus application platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chain Index uses CPU time even when it's not syncing.

locallycompact opened this issue · comments

Summary

Chain index finished syncing two hours ago, and there is no log output since, but is still using 30 cores.

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 146798 cardano+  20   0 1034.7g  20.5g  23096 S  2914  32.7   6353:21 plutus-chain-in

Steps to reproduce the behavior

I'm using a plutus- chain-index systemd service as defined here: https://github.com/cardano-system/cardano-system/blob/master/modules/plutus-chain-index.nix

Actual Result

As above

Expected Result

As above

Describe the approach you would take to fix this

No response

System info

NixOS

Could you please check if e4062bc solves this?

Similar issue using plutus-apps : fdb0eec
Was running fine. Checked back in with it to answer #429.
Found it pretty much maxing out CPU on 12 core machine.
Restarted the process and is now very well behaved.

ezoic increase your site revenue