Jon Krueger wrote:
> Under some circumstances, my start method spins
> and dies. Meaning SMF keeps running the start method,
> the start method (correctly) keeps reporting it doesn't
> need to do anything, this repeats a few times, then SMF says
> "Restarting too quickly, changing state to maintenance"
> and proceeds to do so.
> 
> I need to understand this better, why it's happening,
> what's going on. Where is this documented?

If it's managed by svc.startd, in a modern copy of svc.startd(1M). 
There have been lots of improvements to the SERVICE FAILURE section, so 
an out-of-date copy of the manpage may be less interesting.

(Do you have a non-transient service that sometimes starts a
long-running process and sometimes doesn't?  If so, that's
the problem.  Unless if you declare your service as 'transient',
svc.startd expects a process to still be running when the start method
exits.)

liane

Reply via email to