[ 
https://issues.apache.org/jira/browse/DAEMON-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934558#comment-17934558
 ] 

Lapo Luchini commented on DAEMON-469:
-------------------------------------

Oh, reading the sources again I see that 123 is internally produced by {{jsvc}} 
on abort, not needed by {{{}java{}}}.

Using {{-XX:+CrashOnOutOfMemoryError}} seems to make a restart… but sometimes 
immediately, some other time only after a long delay.

What am I still missing?

> Restart on OOM
> --------------
>
>                 Key: DAEMON-469
>                 URL: https://issues.apache.org/jira/browse/DAEMON-469
>             Project: Commons Daemon
>          Issue Type: New Feature
>            Reporter: Lapo Luchini
>            Priority: Major
>
> {{jsvc}} should have a way to restart on {{java -XX:+ExitOnOutOfMemoryError}} 
> which returns with status 3, not 123 as expected.
> Maybe an extra configuration parameter, or simply supporting both 3 and 123 
> as requests for restarts?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to