Re: Sophie half-dead after HUP
"David Mitchell" <[email protected]> Fri, 12 Mar 2004 10:28:07 +1100
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Organization | Alphalink (Australia) Pty Ltd |
| Message-ID | <[email protected]> |
----- Original Message ----- From: <[email protected]> > I'm running sophie under svscan (from the djb tools collection). When I > receive a pattern update from sophos, I kill running sophie instances with > a SIGHUP, which causes them to reload. Last night an update put sophie in > a state such that it was up and running but hadn't created the socket. Is > SIGHUP the wrong way to handle these updates? Sophie's README says "Sophie will reload patterns/configuration if it receives HUP signal" (version 3.0x), so yes. On my Linux systems, after getting any updates I HUP Sophie with: kill -HUP `head -n1 /var/run/sophie.pid` ..which hasn't ever caused a problem that I can remember :) Cheers, Dave