I have an instance that uses the following to stop the process:
<exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'>

however, this doesn't always work and sometimes the process needs a kill -9.  
It seemed to me that the better way to handle this would be by calling an 
external script that could do a kill -INT then a kill -KILL if necessary.  But 
I need the process id passed to the script in order to do this.  Is this 
possible? Or is there a way to have solaris issue the kill calls like I want 
without an external script?

I don't want to use pid files.  Getting away from pid files was one of the main 
reasons I like smf, and the program in question is somewhat unreliable and can 
leave stale pid files in place.
 
 
This message posted from opensolaris.org

Reply via email to