Is it possible to forcefully terminate a scheduled...
# suitescript
m
Is it possible to forcefully terminate a scheduled script that is stuck on 'processing' ? it seems that it is blocking other pending scripts..
b
no, usual option is to wait for it to run out of points
if it can yield, then the desperate option is to delete the script record so it cant successfully yield
m
The issue is that is it not running.
in the sense that it is not consuming points but still status 'processing'
message has been deleted
b
netsuite eventually assumes you have written an infinite loop and will terminate your script
hopefully after an hour or so
w
Hmm, I have the same issue right now in a M/R-script in sandbox. One map-thread is stuck in processing but isn't doing anything.
I hoped it would die after an hour, but it didn't. Guess I'll have to wait longer.
m
the script from my first message eventually went to 'completed' after almost 2 hours
now i have another script stuck with processing and 2 that stay on pending for more the 15-20 minutes already
w
ok, good to know. Maybe I'll have to wait an additional hour.
m
i have concluded today is not the day to develop and test suitescripts 😉
b
how old is your account/scripts
usually you can get 2 running at the same time if you arent using queues
m
in my case i am testing some scripts that were uploaded/ deployed today
account is a SB account refreshed some weeks ago
bulk processing status list shows nothing running/pending
and the scripts that are 'processing' do not output any execution logs so they are not really executing
w
My M/R is also new and under development. It only has a single deployment to prevent it from running on the same records. Other scripts can process, it's just that I cannot re-launch this one. Very annoying.
m
The performance monitor shows the 2 suitecloud processors 'available' instead of 'in use' as well
@Watz i worked around the first stuck script but creating a new script record from the same script and deploying again. not ideal but gives you some progress for testing
👍 1
w
Thinking about creating a temporary deployment as well.
m
Let me know if it works for you, for me my new deployment is forever pending 🤔
w
It's running...
🎉 1
...complete. The previous one is still "Processing"
r
FWIW, we have also had issues with "stuck" scripts in our sandbox env today.
w
The old one was released after 1:30
m
Had some more issues today and filed a case. turns out there is a defect pending resolution: Defect 630181 :  SuiteScript 2.0 > Map Reduce Script > Delays Between Stages > Slow Performance
Classification U2 - 1/2 days
r
MR scripts have been fine for us today but I'm sure it's a more widespread issue. Very weird.
d
We've had some pretty extensive issues with this today/yesterday, with just one processor queue seeming stuck for ages.
We're on Premium tier and have 2 SC+ licenses/10 processors, but the stuck one then stops all others starting, even with lots of processors available.
125 Views