The cycles is sufficient but frozen in advance

As pictured:

canister:mpxah-3yaaa-aaaam-adtja-cai
This problem occurred a few hours ago. We then top-up this canister for 3T cycles. After the canister was unfrozen, we found that the balance was still about 3.9T. Therefore, when the balance was still 0.9T, this canister was frozen in advance.

Originally, our system would automatically top-up when it was less than about 1T, but it was frozen and could not be automatically processed.

I remember that the freezing threshold should not be 0.9T, it should be much lower, but I don’t know why it was frozen in advance?

Hi Haida

If your canister uses more memory than before, it would freeze ‘sooner’ in terms of balance. Could that explain it?

Hello,

I see. Does it have a maximum freezing threshold? After we know this, we can monitor the balance more effectively and automatically top-up in time.

Thanks!

See here for more info about the freezing threshold.

The liquid cycles balance API might also be of interest to you: canister_liquid_cycle_balance in ic_cdk::api - Rust