One of our developers is testing a script from the ScriptRunner and we noticed that the CPU load has spiked. I've asked the developer to stop the script, but I noticed that the logs are outputting the same message every second. What does this message mean and is this related to our CPU load spiking?
$ /var/atlassian/application-data/jira/log
2018-03-28 20:18:46,728 http-nio-8080-exec-40 INFO user-name-here 1180x15788x10 x8d5mh 12.189.102.85,10.5.60.81 /rest/scriptrunner/latest/user/exec/ [c.o.scriptrunner.runner.ScriptRunnerImpl] Not a ticket of phase type, moving to the next parent
This is a custom script ran through the console. The developer likely did not stop the script, because they likely didn't even give themselves a way to stop the script.
This is literally a worst-case scenario -- He wrote a script that is impacting your CPU, it's iterating over all issues, it's logging some custom log message 'Not a ticket of phase type, moving to the next parent', and there's no way to stop it.
Either wait it out or restart Jira.
Thanks everyone for the reply! I've restarted the Jira service and it looks to be operating normal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Excellent, that's good news. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's rare that ScriptRunner itself will do this, it's going to be the scripts it is running.
Some of the built-in scripts can spike sometimes, when there's unexpected data (e.g. 1,000 subtasks on an issue, or 30,000 comments).
There's no real way to tell you want it might be without knowing what the script is trying to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.