SUMMARY: solaris 6 inittab question
2007-12-24 23:35:00
figured out what the problem was, but I eliminated the "su" to another
user and just had the script run as root and now it works beautifully
via inittab. I can kill it, and within 2 seconds another instance is
running.
Thanks for the insight and suggestions.
Gene
-----Original Message-----
From: codeprof-admin at codeprof.com
[mailto:codeprof-admin at codeprof.com] On Behalf Of Gene Matthews
Sent: Wednesday, September 04, 2002 11:25 AM
To: codeprof at codeprof.com
Subject: solaris 6 inittab question
I have setup an /etc/inittab to respawn a process if/when it dies. It
seems to work fine. I can kill the process and eventually it does
restart. However, it is taking 10 minutes for it to restart. I don't
see any evidence (via 'ps -ef |grep processname') of it even attempting
to start sooner.
I would have thought a respawn entry in inittab would have started back
up within seconds. Is there some system tunable that determines how
fast/often init does its thing with inittab?
If I do an 'init q' then it tries to restart the process immediately,
but if I kill the process and just wait, it is taking 10 minutes.
My inittab entry looks like this:
wf:3:respawn:/etc/init.d/wfa
Thanks for any advine,
Gene Matthews
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=16891
Comments
Got something to say?
You must be logged in to post a comment.

