On Wed, May 25, 2016 at 04:28:59PM -0400, Andrew Ruscica wrote: > Not sure if the issue lies with the spamassassin daemon or the > opensmtp-filter. > > During a surge of incoming email, the following errors were logged. > OpenSMTP stopped relaying mail during this time: > > May 25 15:57:50 mxgw3 filter-spamassassin-reject[32220]: warn: response: > shutdown: Bad file descriptor > > May 25 15:57:50 mxgw3 smtpd[25777]: smtp-in: Failed command on session > 627872db6e9c0dc0: "DATA" => 451 4.7.1 Spam filter failed > > > The immediate resolution was to temporarily disable the filter and restart > smtpd, although I think I probably could have resolved by restarting > spamassassin as well.. > > I'm pre-forking 20 spamassassin children, with max of 40, and limiting > incoming connections to opensmtpd using pf max states rules. > > While this was occurring the spamd-child processes surged to about 30 and > were starting to be released and returning back to normal as I was forcing > down connections at pf. > > using opensmtpd-extras from May 23 on OpenBSD 5.9/amd64 with spamassassin > from openbsd packages. > > > Please let me know what other system details may be relevant here...
Can you provide smtpctl show stats and fstat -u _smtpd output? You can try the latest -extras snapshot and especially the limit option. -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org