Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 583523
Summary: | spamass-milter stops working, causing mail rejects | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Solomon Peachy <pizza> |
Component: | spamass-milter | Assignee: | Paul Howarth <paul> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | paul |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | spamass-milter-0.3.1-19.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-04-28 01:14:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Solomon Peachy
2010-04-19 02:17:16 UTC
I also see these: Apr 18 21:37:56 stuffed spamass-milter[24192]: SpamAssassin: thread_create() failed: 11, try again This regression was probably introduced with the fix for CVE-2010-1132, in which calls to popen() to support the -b and -x options was replaced by a new, local function using fork() and exec(). I'll take a look and see if I can spot what's wrong with the patch. In the meantime, a few comments: 1. Does the failure happen when you get a burst of emails at around the same time? 2. Once it's broken, does it stay broken - the error messages appear to suggest a resource limit being hit that could go away if tried again? 3. The -x option does not work unless you run the milter as root, which wasn't possible using the supplied initscript until the last update - do you really need this option? You may find that the problem doesn't happen if you don't use that option. 4. You should add the `b' macro to confMILTER_MACROS_ENVRCPT (see the spamass-milter README). The milter appears to be creating zombie (defunct) processes and eventually running out of threads I believe. You can see these if you do: # ps -dfa I'll see if I can figure out what's going wrong. (In reply to comment #2) > 1. Does the failure happen when you get a burst of emails at around the same > time? I can't say; I haven't tried to correlate the mail rate vs when it fails, but after I restart the milter a whole bunch of backlogged mail comes through pretty quickly. > 2. Once it's broken, does it stay broken - the error messages appear to suggest > a resource limit being hit that could go away if tried again? It stays broken until I restart it -- eventually sendmail gives up on the milter and bypasses it altogether. > 3. The -x option does not work unless you run the milter as root, which wasn't > possible using the supplied initscript until the last update - do you really > need this option? You may find that the problem doesn't happen if you don't use > that option. If it wasn't working properly before, that may be why things started failing now.. I thought I saw some benefit from that option, but if it wasn't working before I may have been mistaken about its "benefit" > 4. You should add the `b' macro to confMILTER_MACROS_ENVRCPT (see the > spamass-milter README). Okay, added -- for what it's worth I cut-n-paste the existing macro line from the spamass-milter documentation once upon a time. The same problem has been reported in Debian; the suggested fix there works for me too so I'll update the Fedora package similarly. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575019 (In reply to comment #3) > The milter appears to be creating zombie (defunct) processes and eventually > running out of threads I believe. You can see these if you do: > > # ps -dfa > > I'll see if I can figure out what's going wrong. Ah, you're correct: sa-milt 16810 0.0 0.0 0 0 ? Z 08:32 0:00 [sendmail] <defunct> sa-milt 16857 0.0 0.0 0 0 ? Z 08:33 0:00 [sendmail] <defunct> since the last restart of the milter about 30 minutes ago, I have 26 of these zombies. I've nuked my auto-restart cron job and reduced the EXTRA_FLAGS to '-I -r 9' and I'll see how this goes... spamass-milter-0.3.1-19.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-19.fc13 spamass-milter-0.3.1-19.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-19.fc12 spamass-milter-0.3.1-19.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-19.fc11 spamass-milter-0.3.1-19.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-19.el5 spamass-milter-0.3.1-19.el4 has been submitted as an update for Fedora EPEL 4. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-19.el4 spamass-milter-0.3.1-19.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update spamass-milter'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-19.fc11 spamass-milter-0.3.1-19.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. spamass-milter-0.3.1-19.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. spamass-milter-0.3.1-19.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping spamass-milter-0.3.1-19.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. spamass-milter-0.3.1-19.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report. |