eos icon indicating copy to clipboard operation
eos copied to clipboard

CPU and NET won't reset if used > max after 3 days

Open datnv-ibl opened this issue 8 years ago • 3 comments

I have to wait until the cpu price go down and make a transaction to reset the cpu & net used after 3 days. This should be changed:

  1. Auto reset after 3 days or
  2. Transactions should be process and the cpu & net will reset after 3 days even if used > max
    "cpu_limit": {
        "used": 15514,
        "available": 0,
        "max": 14276
    }

datnv-ibl avatar Aug 28 '18 05:08 datnv-ibl

CPU used is calculated using an exponential moving average with a window size of 24 hours (in milliseconds) divided by the block interval, which is 500 ms. There is no process in the system that recalculates the usage on some scheduled interval. Instead it is calculated the next time you submit a transaction. Try submitting a new transaction and see what the values are.

jgiszczak avatar Aug 28 '18 21:08 jgiszczak

The usage values will be refreshed if you push a transaction on that account. It will not be automatically recalculated.

taokayan avatar Aug 29 '18 02:08 taokayan

@taokayan, how are we supposed to "push a transaction" if the transactions fail due to "Insufficient CPU"?

jsprice87 avatar Apr 05 '21 15:04 jsprice87