# "too\_many\_cycles" "Too many provision cycles" Faults

**URL:** <https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885>\
**Category:** Uncategorized\
**Created:** [April 24, 2023, 1:31pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885 "2023-04-24T13:31:09Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![cingelj16](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cingelj16](https://forum.genieacs.com/u/cingelj16)\
**Post date:** [April 24, 2023, 1:31pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/1 "2023-04-24T13:31:09Z")

</div>

Hello,

I have been getting more and more of these faults on my CPEs with no discernible reason for their cause. We used to only get a few hundred, then a few thousand, now we get upwards of 20,000+ _per device_ of these and it actually drags accessing the genie GUI (and our website using a python genie api) to a halt. I thought it was due to our provisioning scripts but I added “###” to the events tab to stop the scripts from running and I still get 20k or more faults.

 ![genie](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/5/5e1f4f3abc8f40611c483eab39a5f363e5d33ac2.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [April 24, 2023, 8:45pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/2 "2023-04-24T20:45:37Z")

</div>

You have competing presets/provisions.

---

<div class="post-metadata">

**Author:** ![cingelj16](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cingelj16](https://forum.genieacs.com/u/cingelj16)\
**Post date:** [April 25, 2023, 1:42pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/5 "2023-04-25T13:42:19Z")

</div>

I attempted to add weights to my provisions to get them to have priority over the other. As well as commenting the “event” tab out like so. Unfortunately I still seem to get over 20k faults.

 ![genieprovisions](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/6/6edc75856d369e2380392565737b5b57c9bd61a2.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [April 25, 2023, 1:59pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/6 "2023-04-25T13:59:25Z")

</div>

put a `return;` as the first line on the provision you want to “disable”

---

<div class="post-metadata">

**Author:** ![cingelj16](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cingelj16](https://forum.genieacs.com/u/cingelj16)\
**Post date:** [April 25, 2023, 2:38pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/7 "2023-04-25T14:38:04Z")

</div>

@akcoder @rudymartin With a “return;” at the beginning of each script, I am still getting the faults.

![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/b/b11ae5bea838eef2d5d84cf35a2461627d44b877.png)

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [April 25, 2023, 4:29pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/8 "2023-04-25T16:29:39Z")

</div>

perhaps I should have said “in the provision” ? I was referring to the provision, so you can leave the presets alone.

---

<div class="post-metadata">

**Author:** ![cingelj16](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cingelj16](https://forum.genieacs.com/u/cingelj16)\
**Post date:** [April 25, 2023, 5:08pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/9 "2023-04-25T17:08:02Z")

</div>

it is within the provision script that I added the return line. You can see it in my screenshot since its the first line of each of the files. Unfortunately I still get the faults.

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [April 25, 2023, 5:32pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/10 "2023-04-25T17:32:30Z")

</div>

restart genieacs if it still persist.

---

<div class="post-metadata">

**Author:** ![cingelj16](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cingelj16](https://forum.genieacs.com/u/cingelj16)\
**Post date:** [April 26, 2023, 1:30pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/11 "2023-04-26T13:30:36Z")

</div>

Still faulting after reboot, with all scripts with “return;” as the first line.

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [April 26, 2023, 4:23pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/12 "2023-04-26T16:23:23Z")

</div>

based on this [post](https://forum.genieacs.com/t/correct-precondition-syntax-for-presets-in-1-2-0/314/2) I realized it works the same way as device filtering in the UI. So if you put a `false` on the preset’s precondition field, no devices will match the preset.

that should do the trick. At least to pinpoint with preset/provision is the one doing the mess.

---

<div class="post-metadata">

**Author:** ![cingelj16](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cingelj16](https://forum.genieacs.com/u/cingelj16)\
**Post date:** [April 26, 2023, 6:32pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/13 "2023-04-26T18:32:52Z")

</div>

Sadly, still faulting.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [April 27, 2023, 5:35pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/14 "2023-04-27T17:35:17Z")

</div>

You have disabled every preset and still encounter this issue? Have you ensured there were no queued tasks?

The next step is to to to Admin → Config → New config with these params:  
Key: cwmp.debug  
Value: DeviceID.ID = “\<acs\_id\_of\_your\_device\>”

![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/7/7da20862a8e99b1137a827258d6e7e49a3a6f054.png)

Then you need to initiate communication with the CPE and then review the genieacs-debug.yaml file in your log directory. The exact location is specified in the `GENIEACS_DEBUG_FILE` param in your `genieacs.env` file.

What you are looking for is where a value is getting flipped back and forth.

---

<div class="post-metadata">

**Author:** ![Raihan](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@Raihan](https://forum.genieacs.com/u/Raihan)\
**Post date:** [January 12, 2025, 8:55am UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/15 "2025-01-12T08:55:31Z")

</div>

Hello all,  
I am new to geneiacs. Recently i have found these problems in my device. Can you tell me the exact solutions for the problem?

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/e/e4029b7a2d9901e9d080c967b29ce667f69f5106.png)

inside the mongo db database i see in faults table’s provisions column generate data like the followings…

provisions: "[[“refresh”,“Device.Services.FAPService.1.CellConfig.LTE.EPC.QoS.3.X\_8…”

It would be nice if you give me the solutions in following points.

1. Is it causing for any parameter values?
2. is it causing for any script values.
3. what steps should i follow for not occuring the error ever again?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [January 13, 2025, 5:12pm UTC](https://forum.genieacs.com/t/too-many-cycles-too-many-provision-cycles-faults/3885/16 "2025-01-13T17:12:24Z")

</div>

Please do not resurrect an almost 2 year old thread. Please create your own thread.
