Router overloaded since starting daily bandwidth script

Since one of our core routers started it’s daily bandwidth usage script on simple queues at 7am this morning, it’s seriously hungup–
-log files were not created
-CPU load jumped from ~4% to sustained 40%
-Winbox Queue List shows “90 items out of 207” on Simple Queues list
-cli /que sim pr stops and hangs after 90th

I deleted the 90 that were showing, and it shows “0 items out of 117”
I’ve rebooted and it comes back with exact same.
I’ve also noticed that script list doesn’t show any executions since Jan/22 which isn’t correct.
Running 5.24 on x86.

Any ideas short of reseting, which would be tough during day?

modify the script. The excessive use of logging can cause issues as the logging feature uses a seperate thread but only 1 core. See what other items the script uses and try to reduce using them from the script directly as well.

Make sure items are updated/deleted too if they are not in use.
Check the RAM, was it full?