dccm dying once a day

Vernon Schryver vjs@calcite.rhyolite.com
Tue Jun 29 14:06:56 UTC 2004


>From: Krzysztof Snopek <ksnopek@ely.pg.gda.pl>

> I Couldn't find similar cases in archives, sorry if haven't look
> deep enough. Anyway, since some time (maybe after upgrading to
> dcc-1.2.50 , not sure) , I see one or two times a day messages like that:
> 
> Jun 29 13:18:11 topaz sendmail[7196]: [ID 801593 mail.error]
> i5TBIAXs007196: milter_read(dcc): cmd read returned 0, expecting 5
> Jun 29 13:18:11 topaz sendmail[7196]: [ID 801593 mail.info]
> i5TBIAXs007196: Milter (dcc): to error state
> ...next mail message..
> Jun 29 13:18:44 topaz sendmail[7192]: [ID 801593 mail.error]
> i5TBHeQl007192: Milter (dcc): write(A) returned -1, expected 5: Broken
> pipe
> Jun 29 13:18:44 topaz sendmail[7192]: [ID 801593 mail.info]
> i5TBHeQl007192: Milter (dcc): to error state
> ...next mail....
> Jun 29 13:19:26 topaz sendmail[7360]: [ID 801593 mail.error]
> i5TBJQgu007360: Milter (dcc): error connecting to filter: Connection
> refused by /var/run/dcc/dccm
> Jun 29 13:19:26 topaz sendmail[7360]: [ID 801593 mail.info]
> i5TBJQgu007360: Milter (dcc): to error state
> 
> ..and at this point dccm is not running. As I'm using 'monit' program
> to periodically check various services, it restarts dccm soon
> and it works without problems for next several hours. What a reason
> could it be?
> Dccm command line is:
> dccm -W -Gon -SHELO -Smail_host -SList-ID
> 
> and it runs on SUN SparcIII machine, Solaris9 . The 'grey' dccd server
> runs on the same machine.
 
(That message got caught by a bug in a sendmail.cf rule I'm play
with that rejects mail from systems with blacklisted or otherwise
objectionable MX servers such as "127.0.1.8"  My main purpose with
the rule is to shrink or at least control the growth of my list of
free providers.)

Those sendmail log messages suggest that dccm crashed.  Is there
a core file in /var/dcc? 

If there is a core file, then rebuilding dccm with -g and then
getting the stack trace with gdb would be very helpful.
Dccm can be built with -g by running 
    /var/dcc/libexec/updatedcc  -e DBGFLAGS=-g

gdb can be aplied to a core file after dccm has been rebuilt by

   gdb dccm core
   bt


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.