Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira is being hang on startup

Saurabh Katiyar June 15, 2016

Hi,

We are facing issue when next time restarting JIRA after reindexing it.

Starting fine if we start after disabling Searchers for scripted fields, So this is probably due to scriptrunner scripted fields.

We are using JIRA 6.4.13 & scriptrunner 3.1.4. (It was working fine earlier in JIRA  5.1)

 

Does anyone has any idea what may cause this issue.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2016

Not sure what you're disabling when you say "searchers for scripted fields", but the simple answer is that you need to read your log files to see what is going wrong.

Saurabh Katiyar June 15, 2016

Hi Nic,

Thanks for your reply.

"searchers for scripted fields" means when we are are configuring "custom-field(which are created using scripted-field) searcher".

I checked logs but there was no error are warning present. Only difference that i observed is when it is starting normally it prints "memmory usage" in logs while not when it is hanging.

[atlassian.jira.startup.LauncherContextListener] Memory Usage:
---------------------------------------------------------------------------------
Heap memory : Used: 1091 MiB. Committed: 5946 MiB. Max: 5946 MiB
Non-heap memory : Used: 194 MiB. Committed: 194 MiB. Max: 560 MiB
---------------------------------------------------------------------------------
TOTAL : Used: 1285 MiB. Committed: 6140 MiB. Max: 6506 MiB
---------------------------------------------------------------------------------

But if we remove "<JIRAHOME>/caches/indexes" directory or remove "script-runner" plugin from "<JIRAHOME>/plugins/installed-plugins" it starts.  

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2016

Ok, removing the caches directory in JIRA is probably a problem - doing that means you don't have an index, so that'll be breaking stuff.

I think you might want to look t the scripts that are behind your fields to see what they do at startup and on indexing.

TAGS
AUG Leaders

Atlassian Community Events