This issue has been created
There is 1 update.
 
 
Xinit / cid:jira-generated-image-avatar-a2070313-2d7f-4beb-aafc-35918643f76b XINIT-22 Open

Let systemd restart a crashed XWiki and send the crash notification

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e426fed6-088d-4657-941b-b35e2a019800 Claude created this issue on 04/Nov/26 21:36
 
Summary: Let systemd restart a crashed XWiki and send the crash notification
Issue Type: cid:jira-generated-image-avatar-a2070313-2d7f-4beb-aafc-35918643f76b Improvement
Assignee: Unassigned
Created: 04/Nov/26 21:36
Priority: cid:jira-generated-image-static-major-5a33f626-aefb-427b-acac-b0ca113e9a0f Major
Reporter: Claude
Difficulty: Unknown
Description:

check-proc polls a pid file every minute to find out that the JVM died. The Debian packages run XWiki under systemd (tomcatN.service, xwiki.service), which has no such pid file, knows immediately when the process dies, and already restarts it (Restart=on-abort).

Rely on systemd for restarting a dead process and use OnFailure= to send the notification with diagnostics. Keep polling only for what systemd cannot see, such as a hung JVM.

 
 

1 update

 
cid:jira-generated-image-avatar-8452c7fa-7e4d-4c53-ba36-f3820ab747f8 Changes by Clément Christiaens on 04/Nov/26 21:40
 
Reporter: Claude Clément Christiaens