[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] kill -TERM on freebsd
Quoting interch (interch@web3.valley-internet.com):
>
>
> The restart script won't work for me on freebsd. Kill -TERM doesn't seem
> to do the job. Kill -KILL works fine. Since the intent is to kill
> interchange and restart it instead of using a -HUP and rereading config
> info, why is this not set to -KILL by default anyways? Especially since
> perl programs seem to be notorious for not catching signals correctly.
I bet your FreeBSD is on a "virtual server" from Verio or Iserver. Is
that correct? I have observed that the TERM signal doesn't work on those
servers, but it should work fine on real FreeBSD.
We don't use KILL because that cannot be trapped. It is a last resort
because it doesn't allow for graceful termination. If it happens
in the midst of a database update you might not like the result.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun