On Sun, Jul 25, 1999 at 12:13:48PM -0400, Alex Miller wrote:
> I have noticed that my hard disk light clicks on every 2/3 second or so.
>
> It seems that a new process that supervises the tcpserver is created, then
> destroyed and created again with a new process number.
>
> the "status" file in /var/lock/qmail-qmtpd keeps getting recreated, even if
> I delete it.
>
> The "solution", for lack of a better term, maybe "diagnostic cure", is to
> delete the stable process that seems to be spawning the flashing process.
>
> ps -axw yielded 2 processes almost identical.
>
> I kill the one that is stable (and earlier)
> it'll be something like where 12345 is the PID
>
> 12345 supervise /var/lock/qmail-qmtpd tcpserver -u -c40 -u81 -g80 0 qmtp
> qmail-qmtpd
Look at how you're calling tcpserver: you're not providing an argument to the
-u (the first one), so tcpserver prints an error message (which you're not
seeing) and exits. supervise notices tcpserver's death and starts it again,
which is what it's supposed to do.
Fix your tcpserver invocation and everything will be okay.
Chris