Forums

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

Confluence restart Service

Anderson Hsu
Contributor
July 16, 2020

Hi, 

Would it be add crontab job to restart confluence service at assigned time? Thanks a lot.

 

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2020

I would start by questioning why you think you want to do this.  A well maintained computer system will run for months, stopping only for upgrades or other changes.  I've seen a Confluence with an uptime approaching 18 months (Although I wouldn't recommend that, because the server running it really really should have been upgraded past a point where it needed a restart)

After you've solved the underlying problems, and come up with a good reason for a regular restart, I'd go with a crontab that simply does "systemctl stop confluence" and then the same with a start 5 minutes later during the quietest hour for your people.  (4am on a Sunday is a good option, although as a support person, 9pm on a Friday actually works better - gives us a weekend to fix it if it fails)

Anderson Hsu
Contributor
July 17, 2020

I found confluence server almost ram is less than 400MB, I think it's some problem. So I try to release ram or cpu usage by crontab job.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events