Volume 2
2004-10-28 by Sutherland, James
Well I'm back at it again with that HUGE mx. I
had to drop this issue for a while to work on some other stuff but now I'm back
to it. Sorry for the delay.
Recap: this is the MX server that takes 200k+
messages per day and I'm having some trouble keeping milter-greylist
running. It tends to exit on me. This is a Slaris 2.9 (SPARC)
system. nofiles is set to 2048
I put the code into milter-greylist-1.5.10 to write
dumpfd to syslog. Then I grepped all the normal-ish stuff out of the log
leaving just the problems:
Anyone have any more ideas as to what to try?
$grep -i milter /var/log/mail.log | grep -v refused | grep -v "error state"
| grep -v "syntax error" | grep -vi "delayed" | grep -v "Greylisting" | grep -vi
"data read" | grep -vi "autowhitelisted" > /tmp/log1
-LOG FROM AROUND THE
CRASH-
Oct 27 19:42:37 hns1 milter-greylist: [ID 799890
mail.info] dumpfd = 144
Oct 27 19:47:47 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 91
Oct 27 19:52:56 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 65
Oct 27 19:58:01 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 87
Oct 27 20:03:06 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 154
Oct 27 20:08:12 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 280
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 milter-greylist: [ID 421540 mail.info] Final database dump: no change to dump
Oct 27 20:08:12 hns1 milter-greylist: [ID 146194 mail.info] Exitting
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 sendmail[24863]: [ID 801593 mail.error] i9S386j7024863: milter_read(greylist): cmd read returned 0, expecting 5
Oct 27 20:08:12 hns1 sendmail[24863]: [ID 801593 mail.error] i9S386j7024863: milter_read(greylist): cmd read returned 0, expecting 5
Oct 27 19:47:47 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 91
Oct 27 19:52:56 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 65
Oct 27 19:58:01 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 87
Oct 27 20:03:06 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 154
Oct 27 20:08:12 hns1 milter-greylist: [ID 799890 mail.info] dumpfd = 280
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 milter-greylist: [ID 421540 mail.info] Final database dump: no change to dump
Oct 27 20:08:12 hns1 milter-greylist: [ID 146194 mail.info] Exitting
Oct 27 20:08:12 hns1 milter-greylist: [ID 525239 mail.error] cannot write dumpfile "/var/milter-greylist/greylist.db-XXYsayUQ": Error 0
Oct 27 20:08:12 hns1 sendmail[24863]: [ID 801593 mail.error] i9S386j7024863: milter_read(greylist): cmd read returned 0, expecting 5
Oct 27 20:08:12 hns1 sendmail[24863]: [ID 801593 mail.error] i9S386j7024863: milter_read(greylist): cmd read returned 0, expecting 5
-MANY OF THESE-
-SNIP-
;
-AND THEN MANY Of THESE-
Oct 27 20:08:12 hns1 sendmail[24762]: [ID 801593
mail.error] i9S37uWg024762: Milter (greylist): write(D) returned -1, expected
23: Broken pipe
Oct 27 20:08:12 hns1 sendmail[24775]: [ID 801593 mail.error] i9S37vgP024775: Milter (greylist): write(R) returned -1, expected 32: Broken pipe
Oct 27 20:08:12 hns1 sendmail[24775]: [ID 801593 mail.error] i9S37vgP024775: Milter (greylist): write(R) returned -1, expected 32: Broken pipe
Oct 27 20:08:12 hns1 sendmail[24775]: [ID 801593 mail.error] i9S37vgP024775: Milter (greylist): write(R) returned -1, expected 32: Broken pipe
Oct 27 20:08:12 hns1 sendmail[24775]: [ID 801593 mail.error] i9S37vgP024775: Milter (greylist): write(R) returned -1, expected 32: Broken pipe
Those temp greylist.db-XXY* files are left in the
directory after milter exits, they're always zero
bytes.