Bug 198081
Summary: | spamd is SO slow | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Need Real Name <lsof> |
Component: | spamassassin | Assignee: | Warren Togami <wtogami> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | jm, parkerm, perl-devel, reg+redhat, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-07-13 16:24:13 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
Need Real Name
2006-07-09 09:43:59 UTC
This is not enough information to possibly diagnose the problem. Are you having long DNS timeouts by chance? I doubt it, but I'll check. In the meantime: Time to download 100 test e-mails without spamd: about 1 second. With spamd: about 10 seconds. Each mail seems to be passed to spamd before the next one is downloaded, which is a bit bizarre. Wouldn't you consider this undesirable behaviour by evolution, instead of unsuspected behaviour by spamassassin? Good point, yes, but it was more of a side comment. spamd is still hogging the cpu, the db is only ten megs. It's not a dns problem. I added the mail server to /etc/hosts before checking e-mail, and it's not any faster. (In reply to comment #5) > It's not a dns problem. I added the mail server to /etc/hosts before checking > e-mail, and it's not any faster. Which won't help a bit with spamassassin's DNSBL checks... Okay, so six comments in we're at where comment number 2 should have been. "Have you tried turning off DNS checks by adding -L to SPAMDOPTIONS in /etc/sysconfig/spamassassin ?" And the answer is no, I haven't, but I'll try it. Hurrah! Disabling non-local checks, did make spamd eat less CPU - MUCH less CPU. Which makes me wonder what on earth it was doing.. I have filed a separate bug 198767 about evolution seeming to pass each individual mail to spamd before downloading the next. There is something wrong with your network, it is not slow on a properly configured network. |