You can settings for how many incoming connections will be handled simultaneously, or how many deliveries to dbmail, etc. (see the comments in main.cf, master.cf and maybe check TUNING_README). For the mysql connection exhaustion problem, look at using proxymaps (man proxymap).
---- Original Message ---- From: <[email protected]> To: [email protected] Subject: [Dbmail] Bombing... Sent: Thu, 10 Feb 2005 10:45:13 -0500 > It looks to me like one of my mail servers is getting bombarded with > incoming connections. It is causing MailScanner and db-mail and postfix > to fail due to the overwhelming connections coming. > > This is a mail server that has very low traffic so I am not sure what is > happening. It has been fine for months and months and then today this is > what I am seeing in my /var/log/maillog > > Feb 10 10:42:22 mail postfix/smtpd[5439]: connect from > austtx-mx-04.mgw.rr.com[24.93.40.211] > Feb 10 10:42:25 mail postfix/smtpd[5440]: connect from > hrndva-mx-04.mgw.rr.com[24.28.204.23] > Feb 10 10:42:25 mail postfix/smtpd[5442]: connect from > clmboh-mx-02.mgw.rr.com[65.24.7.11] > Feb 10 10:42:26 mail postfix/smtpd[5444]: connect from > mail1.dynavax.com[63.202.217.164] > Feb 10 10:42:26 mail postfix/smtpd[5443]: connect from > ata.attmil.ne.jp[165.76.4.117] > Feb 10 10:42:27 mail postfix/smtpd[5445]: connect from > gumby.apid.com[63.238.52.8] > Feb 10 10:42:29 mail postfix/smtpd[5446]: connect from > im.cliffordlaw.com[12.160.0.42] > Feb 10 10:42:30 mail postfix/smtpd[5441]: connect from > clmboh-mx-04.mgw.rr.com[65.24.7.13] > > Lots of these, and then tonnes of errors from postfix. > > Feb 10 10:42:40 mail postfix/smtpd[5447]: warning: premature end-of-input > on private/rewrite socket while reading input attribute name > Feb 10 10:42:40 mail postfix/smtpd[5447]: warning: problem talking to > service rewrite: Success > Feb 10 10:42:40 mail postfix/master[5011]: warning: process > /usr/libexec/postfix/trivial-rewrite pid 5583 exit status 1 > > Feb 10 10:42:39 mail postfix/smtpd[5059]: warning: premature end-of-input > on private/rewrite socket while reading input attribute name > Feb 10 10:42:39 mail postfix/trivial-rewrite[5580]: fatal: > mysql:/etc/postfix/relaydomain.cf(0,100): table lookup problem > Feb 10 10:42:39 mail postfix/smtpd[5045]: warning: premature end-of-input > on private/rewrite socket while reading input attribute name > Feb 10 10:42:39 mail postfix/smtpd[5047]: warning: problem talking to > service rewrite: Connection reset by peer > Feb 10 10:42:39 mail postfix/smtpd[5042]: warning: premature end-of-input > on private/rewrite socket while reading input attribute name > Feb 10 10:42:39 mail postfix/smtpd[5041]: warning: problem talking to > service rewrite: Success > Feb 10 10:42:39 mail postfix/smtpd[5043]: warning: problem talking to > service rewrite: Connection reset by peer > > I know why the error about the table lookup is happening and that's > because I've exceeded my conneciton limit to MySQL which is set at 100. I > think this is because of the constant incoming connections. > > I really need some help here.... > > Bryan > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- End Original Message -- -- Jesse Norell jesse @ kci.net
