I actually begn using cyclog just recently and the problem seems to have gone
away...
--
Doug Lumpkin
Richard Letts wrote:
> On Sat, 3 Jul 1999, Robbie Walker wrote:
>
> > Doug,
> >
> > This is a stumper. The lack of responses means "I don't know what's going
> > on here. I'm not going to speculate!"
> >
> > There is (most likely!!!) an obvious solution, but it's not apparent to me.
> >
> > Exactly what OS are you running? How often does the hang occur? When the
> > hang occurs, can you kill -ALRM qmail-send or kill -TERM qmail-send? (You
> > said you killed it, right? kill -9 or what?) What happens if you kill -9
> > qmail-smtpd instead of qmail-send?
> >
> how I start tcpserver: (all one line)
> /usr/local/bin/supervise /var/lock/smptd /usr/local/bin/tcpserver
> -v -u 7791 -g 2108 -c 400 -R 0 smtp /usr/sbin/tcpcontrol /etc/smtp.cdb
> /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd &
>
> I've finally had qmail-smtpd stop working on me, and I've done some
> straces. when tcpcontrol writes its log message to #2 it gets a SIGPIPE
> and aborts. Killing tcpserver didn't recusitate inbound SMTP connections.
>
> I tested this hypothesis by replacing the tcpserver with a shell script:
> -----------
> #!/bin/sh
>
> exec /usr/local/bin/tcpserver.true $* 2>/tmp/straceout
> -----------
> Inbound tcp connections now work again...
>
> if splogger dies it won't get restarted, all of the processes ignore the
> fact they can't write logging information, except tcpcontrol and so
> things appear to be working. why splogger died is a mystery I'll look into
> next.
>
> For now, I'd suggest looking at using cyclog instead
>
> regards,
>
> Richard