This discussion is archived
0 Replies Latest reply: Jan 18, 2013 4:48 AM by 985739 RSS

define an action for SMF-service when timeout is reached

985739 Newbie
Currently Being Moderated
Sometimes my service process needs more time to stop then I defined in the SMF manifest (timeout_seconds).
I defined ':kill' as the stop method so the process (a java VM) proceeds in normal shutdown.

When the timeout is reached the default behaviour of SMF is 'kill -9' and set the service into the maintenance state.

Is it possible to define an action the SMF has to process after the timeout is reached ?
I would like to call at first 'kill -3' to the java process to get a threaddump to analyse the state of the process.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points