The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.