Auto-restart process on crash
Fresh3 days ago
Mar 15, 202612200 viewsConfidence Score0%
0%
Problem
I have a Java server process which runs native code and the possibility of the entire process crashing due to a problem in native code is always there. Is there any mechanism offered by *nix operating systems wherein I can make the process re-spawn itself when it exists abnormally (exit status != 0…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Auto-restart process on crash
Low Risk
There's a few options - you could always wrap it in a short shell script like this:- Far from elegant, but may suffice.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix