[OpenIndiana-discuss] SMF retries count

Jim Klimov jimklimov at cos.ru
Tue Mar 26 14:52:34 UTC 2013


On 2013-03-26 14:44, Michael Stapleton wrote:
> There are a number of environmental variables used by asadmin, but I did
> not find anything that looked promising.
>
> As a last resort hack, you could you wrap the asadmin command in a
> script.

I thought of changing the SMF method to something like
   "while ! asadmin ... ; do sleep 1; done"
(perhaps with my arbitrarily-picked timeout, like running 10 loops
max), but this would be prone to any number of other unforeseen
errors causing the failure exit code - and that event should be
detected/reported rather than ignored in this manner.

> I would also try to find out why my app takes over 60 seconds to stop.
> We might be trying to cure the symptom.

Well, there are no particular errors in the log, just zillions of
closing, unregistering, unhooking stuff. No erroneous stacktrace,
no real hiccups like a minute of silence. Simply a lot of work to
stop the portal properly. That part we don't really find unusual.

Thanks for commiserating with me on this ;)
///Jim



More information about the OpenIndiana-discuss mailing list