Redis Queue is populated with thousands of jobs after the custom script has been successfully completed! #17925
Unanswered
Arshnika
asked this question in
Help Wanted!
Replies: 2 comments 3 replies
-
The problem is likely in your script, can you show it? A single custom script should create a single job. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Most likely reason is that you have an event rule created for the device model, so each time you edit a device in the script, the event rule triggers a new script execution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
My NetBox version is 4.1.6. I have written a custom script which updates more than 6000 NetBox devices.
When I run the script, the memory consumption of the NetBox server keeps increasing till no memory is availabe and it eventually makes the NetBox unresponsive!
Besides, when the script has successfully been completed, the Redis Queue is populated with thousands of jobs! And I have to wait for about 40 minutes for the queue to be cleared or I have to manually clear the queue!
Any idea what is causing the above issues?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions