Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Shell script for auto restart jira when crashed.

Sekhar Chandra
Contributor
October 16, 2020

Hi Team,

I need a shell script for auto restart jira server when it has down due to OutOfMemoryError

Or any other suggestions for auto restart the app when it got crashed down, no matter what the reason is.

Please help me out of this .

Thanks in advance.

Chandra.

1 answer

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Champion
October 16, 2020

Why wouldn't you just solve the reliability issues? If you're running out of memory, add more memory and/or adjust the heap allocation.

Sekhar Chandra
Contributor
October 19, 2020

Yes I agree with you Dave, but we cannot do this all the time increasing the memory as we are getting more and more tickets day by day. 

So we want to get a notification while this happened and either there must be an auto garbage collection process or we do it manually, but the main thing is to auto restart the server (what ever the cause may be) with notification to our mails.

THanks.

Chandra.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events