# The cycles is sufficient but frozen in advance

**URL:** <https://forum.dfinity.org/t/the-cycles-is-sufficient-but-frozen-in-advance/43697>\
**Category:** Language Support\
**Tags:** Motoko\
**Created:** [April 12, 2025, 2:34am UTC](https://forum.dfinity.org/t/the-cycles-is-sufficient-but-frozen-in-advance/43697 "2025-04-12T02:34:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![haida](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@haida](https://forum.dfinity.org/u/haida)\
**Post date:** [April 12, 2025, 2:34am UTC](https://forum.dfinity.org/t/the-cycles-is-sufficient-but-frozen-in-advance/43697/1 "2025-04-12T02:34:21Z")

</div>

As pictured:

 ![frozenByCycles](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/1/5/1557faca71a34b970104ea97d290b67273b408fe.jpeg)

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?

---

<div class="post-metadata">

**Author:** ![michael-weigelt](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@michael-weigelt](https://forum.dfinity.org/u/michael-weigelt)\
**Post date:** [April 14, 2025, 7:57am UTC](https://forum.dfinity.org/t/the-cycles-is-sufficient-but-frozen-in-advance/43697/2 "2025-04-14T07:57:40Z")

</div>

Hi Haida

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

---

<div class="post-metadata">

**Author:** ![haida](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@haida](https://forum.dfinity.org/u/haida)\
**Post date:** [April 15, 2025, 1:09am UTC](https://forum.dfinity.org/t/the-cycles-is-sufficient-but-frozen-in-advance/43697/3 "2025-04-15T01:09:22Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![michael-weigelt](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@michael-weigelt](https://forum.dfinity.org/u/michael-weigelt)\
**Post date:** [April 15, 2025, 9:02am UTC](https://forum.dfinity.org/t/the-cycles-is-sufficient-but-frozen-in-advance/43697/4 "2025-04-15T09:02:44Z")

</div>

See [here](https://internetcomputer.org/docs/building-apps/canister-management/settings#freezing-threshold) for more info about the freezing threshold.

The [liquid cycles balance API](https://internetcomputer.org/docs/references/ic-interface-spec#system-api-cycles) might also be of interest to you: [canister\_liquid\_cycle\_balance in ic\_cdk::api - Rust](https://docs.rs/ic-cdk/0.18.0-alpha.2/ic_cdk/api/fn.canister_liquid_cycle_balance.html)
