[Olaf van der Spek]
> I've also noticed you do a sync before sendsigs. Is this a good
> idea? It might cause some unnecessary delays. Wouldn't it be better
> to increase the delay between TERM and KILL instead?
I thought this comment in the script explained the rationale:
# Flush the kernel I/O buffer before we start to kill
# processes, to make sure the IO of already stopped services to
# not slow down the remaining processes to a point where they
# are accidentily killed with SIGKILL because they did not
# manage to shut down in time.
sync
How can the description be improved to make it clearer?
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]