|
From: Leif M. <le...@ta...> - 2006-04-04 14:45:21
|
Anat,
If you use the wrapper.max_failed_invocations=1 property, you
will also need to set the wrapper.successful_invocation_time property to
a large value as you said.
http://wrapper.tanukisoftware.org/doc/english/prop-max-failed-invocations.html
http://wrapper.tanukisoftware.org/doc/english/prop-successful-invocation-time.html
Good news is that as of 3.2.0, there is a better way:
http://wrapper.tanukisoftware.org/doc/english/prop-disable-restarts.html
The only difference from your request is that all restarts are
treated the
same way. This is true with the above properties as well.
Cheers,
Leif
Anat Halpern wrote:
> Hi all,
> I'd like to disable all restarts except for explicit calls to
> WrapperManager - is this possible?
>
> I've also tried to use the wrapper.max_failed_invocations, and it did
> not work as I expected it to - the application kept running for a
> while before crashing, so it was considered a successful invocation.
> Is there any way of making the wrapper ignore the
> successful_invocation_time property (except setting it to a really
> large number)?
>
> The problem I'm trying to deal with is that the application runs, and
> then, depending on the input, crashes. The wrapper handled this
> situation by restarting the application over and over, despite the
> wrapper.max_failed_invocations=2.
> Any suggestions?
>
> Many thanks,
> Anat
|