I have 5 processing queues, yet when I check the s...
# ask-stanley-ai
d
I have 5 processing queues, yet when I check the scheduled and map reduce script statuses, I can only see 1 in progress. It’s a Map/Reduce but concurrency is set to 1. Are there any other processes that take these?
c
AI generated answer (using internal Slack threads):
In NetSuite, when you have multiple processing queues, the Map/Reduce and Scheduled scripts are placed in these queues based on their priority and the order they are initiated. If you have a Map/Reduce script with a concurrency limit set to 1, it means that the script will place itself into the queue only once, and it will be processed by only one processor at a time, effectively running sequentially. This is similar to a scheduled script, but with the added benefits of automatic yielding, two-stage processing, sort/shuffle logic, and unlimited governance. However, if you have a Map/Reduce script with a concurrency limit set to 5, it will place itself into the queue 5 times. This does not necessarily mean that it will use all 5 processors at once. It depends on the availability of the processors and the order of the scripts in the queue. If there are other scripts in the queue, they may also use the available processors. So, if you have 5 processing queues and you run a Map/Reduce script first and then scheduled scripts after, the Map/Reduce script will not necessarily use all the queues for parallel processing. The scheduled scripts may also use the extra processors, depending on when they are scheduled and the order they start. In your case, if you are seeing only 1 script in progress despite having 5 processing queues, it could be because the other scripts have not yet started, or they have already completed. It could also be because the other scripts are waiting for available processors if the Map/Reduce script is using all the processors. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850952148
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.842163086
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838501
Please provide your feedback on this answer.