Help! high spamd processes since installing qmail-scanner
Help! high spamd processes since installing qmail-scanner
Hi,
I am having high loads today for these spamd child processes:
961 root 16 0 35036 32M 2216 S 17.7 3.2 0:04 0 spamd child
775 popuser 16 0 35104 33M 2108 S 14.1 3.3 0:03 0 spamd child
One site has gone down already. I rebooted apache but all these spamd child processes are very high, 16, 12, 11, etc.
What do I need to do to keep these down so my sites will stay up?
Thanks!
I am having high loads today for these spamd child processes:
961 root 16 0 35036 32M 2216 S 17.7 3.2 0:04 0 spamd child
775 popuser 16 0 35104 33M 2108 S 14.1 3.3 0:03 0 spamd child
One site has gone down already. I rebooted apache but all these spamd child processes are very high, 16, 12, 11, etc.
What do I need to do to keep these down so my sites will stay up?
Thanks!
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Strange, my spamd child processes are running as user qmailq (using qmail-scanner-1.25). I see you have one running as root and one running as popuser.
Lemonbit Internet Dedicated Server Management
Hi,
What can I do to get this load down? It is way up today also on these spamd processes. I have qmail-scanner-1.25-9.rhel3.art installed plus spamassassin-3.1.0-1
Should I remove the psa-spamassassin?
Do I need to change something to get the spamd child processes to run as user qmailq?
I did not install Art's spamassassin but left the one on there I had.
Please advise...my server is very slow.
32410 qmailq 23 0 22816 22M 480 R 57.0 2.2 0:02 0 clamd
spamd child hovers around 8, 9, 11, 12, 18, 36 and was 55 a little earlier.
More details:
31630 qmailq 16 0 34520 31M 2220 R 20.7 3.1 0:02 0 spamd child
22448 qmailq 15 0 36340 33M 2064 S 7.3 3.3 0:37 0 spamd child
692 qmailq 23 0 5584 5584 1920 R 5.1 0.5 0:00 0 /usr/bin/perl -T /var/qmail/bin/qmail-scanner-queue.pl
673 qmailq 23 0 5608 5608 1936 S 4.7 0.5 0:00 0 /usr/bin/perl -T /var/qmail/bin/qmail-scanner-queue.pl
688 qmailq 22 0 5560 5560 1916 S 4.3 0.5 0:00 0 /usr/bin/perl -T /var/qmail/bin/qmail-scanner-queue.pl
675 qmailq 20 0 22812 22M 480 S 3.1 2.2 0:00 0 clamd
Thanks!
What can I do to get this load down? It is way up today also on these spamd processes. I have qmail-scanner-1.25-9.rhel3.art installed plus spamassassin-3.1.0-1
Should I remove the psa-spamassassin?
Do I need to change something to get the spamd child processes to run as user qmailq?
I did not install Art's spamassassin but left the one on there I had.
Please advise...my server is very slow.
32410 qmailq 23 0 22816 22M 480 R 57.0 2.2 0:02 0 clamd
spamd child hovers around 8, 9, 11, 12, 18, 36 and was 55 a little earlier.
More details:
31630 qmailq 16 0 34520 31M 2220 R 20.7 3.1 0:02 0 spamd child
22448 qmailq 15 0 36340 33M 2064 S 7.3 3.3 0:37 0 spamd child
692 qmailq 23 0 5584 5584 1920 R 5.1 0.5 0:00 0 /usr/bin/perl -T /var/qmail/bin/qmail-scanner-queue.pl
673 qmailq 23 0 5608 5608 1936 S 4.7 0.5 0:00 0 /usr/bin/perl -T /var/qmail/bin/qmail-scanner-queue.pl
688 qmailq 22 0 5560 5560 1916 S 4.3 0.5 0:00 0 /usr/bin/perl -T /var/qmail/bin/qmail-scanner-queue.pl
675 qmailq 20 0 22812 22M 480 S 3.1 2.2 0:00 0 clamd
Thanks!
By chance, are you using CentOS 4? I've had similar problems with high loads on my servers. But I just stumbled upon a post that seems to attribute this to a kernel issue...
http://www.atomicrocketturtle.com/forum ... .php?t=877
I'm gonna try compiling a new kernel tomorrow to see if it solves my problem.
http://www.atomicrocketturtle.com/forum ... .php?t=877
I'm gonna try compiling a new kernel tomorrow to see if it solves my problem.
Hi,
I have centos 3.7 with plesk 8.
I uninstalled psa-spamassassin and now I am receiving all the emails that are marked as *****SPAM***** HIGH * into my inbox only if they are sent to a legitimate email address. Is this the way it is or will this stop later on? I have all my "mail preferences" in plesk admin set to "reject" instead of "bounce".
I am monitoring checking the loads but will be better to check in the morning when it's the highest.
Thanks!
I have centos 3.7 with plesk 8.
I uninstalled psa-spamassassin and now I am receiving all the emails that are marked as *****SPAM***** HIGH * into my inbox only if they are sent to a legitimate email address. Is this the way it is or will this stop later on? I have all my "mail preferences" in plesk admin set to "reject" instead of "bounce".
I am monitoring checking the loads but will be better to check in the morning when it's the highest.
Thanks!
-
- Forum User
- Posts: 46
- Joined: Thu May 12, 2005 3:50 am
- Location: Sunny California
The "reject"/"bounce" option is for handling emails addressed to non-existing mailnames. Emails to your legitimate accounts which score above the SA limit will be marked with ***SPAM*** and be delivered to the legitimate mailbox.modom46 wrote:I uninstalled psa-spamassassin and now I am receiving all the emails that are marked as *****SPAM***** HIGH * into my inbox only if they are sent to a legitimate email address. Is this the way it is or will this stop later on? I have all my "mail preferences" in plesk admin set to "reject" instead of "bounce".
Qmail-scanner does have some options for site/server wide deleting/rejecting of Spam emails. However, use of these options may cause false-positive-flagged-emails ("good" email erroneously marked as Spam) to be rejected or deleted.
I know the qmail-scanner-queue.pl file is a bit daunting to sift through, but look for the sections:
Use at your own discretion/risk. I am not recommending the use of any of these options, just detailing where you can set them.# st: Spam messages with a score higher than
# (required_hits + sa_quarantine) should be quarantined.
# Only relevant if SpamAssassin is used.
# Score of 0 means deliver all messages. Defaults to 0.
my $sa_quarantine_site='0';
# st: If you enable sa-reject and sa-delete is properly set,
# messages with a score higher than (required_hits + sa_delete)
# will be rejected before the smtp session is closed.
# Otherwise they are just dropped silently. (1/0)
my $sa_reject_site='0';
# st: Spam messages with a score higher than
# (required_hits + sa_delete) should be deleted (or rejected).
# Only relevant if SpamAssassin is used. Score of 0
# means deliver all messages. Defaults to 0.
# If sa-quarantine is set, sa-delete must be greater.
my $sa_delete_site='0';
Hi,
I am getting a little further with this.
I set these settings in qmail-scanner-queue.pl file:
my $sa_quarantine_site='2';
my $sa_delete_site='8';
my $sa_reject_site='1';
Everything was working fine until my server loads increased because of apache processes and child spamd and I had the plesk spamassassin (SpamAssassin support) installed but turned off. When the server slowed down I stopped httpd and restarted it and then the spamassassin in plesk showed it was running instead of off.
I uninstalled psa-spamassassin so it is greyed out now in plesk admin.
I just received a spam email that should have been stopped but the header showed "hits=5.6 required=5.0". Before I uninstalled the plesk spamassassin the spam number was set to "5" so according to the quarantine rules above it should have been "hits=5.6 required=7.0".
So is the plesk admin spamassassin that says "SpamAssassin support" in the updater section suppose to be installed along with the spamassassin-3.1.0-1
listed on the server?
Also in the plesk updater section there is one called:
"SPAM blocker for QMail daemon" which shows it is installed.
What is happening?
Thanks!
I am getting a little further with this.
I set these settings in qmail-scanner-queue.pl file:
my $sa_quarantine_site='2';
my $sa_delete_site='8';
my $sa_reject_site='1';
Everything was working fine until my server loads increased because of apache processes and child spamd and I had the plesk spamassassin (SpamAssassin support) installed but turned off. When the server slowed down I stopped httpd and restarted it and then the spamassassin in plesk showed it was running instead of off.
I uninstalled psa-spamassassin so it is greyed out now in plesk admin.
I just received a spam email that should have been stopped but the header showed "hits=5.6 required=5.0". Before I uninstalled the plesk spamassassin the spam number was set to "5" so according to the quarantine rules above it should have been "hits=5.6 required=7.0".
So is the plesk admin spamassassin that says "SpamAssassin support" in the updater section suppose to be installed along with the spamassassin-3.1.0-1
listed on the server?
Also in the plesk updater section there is one called:
"SPAM blocker for QMail daemon" which shows it is installed.
What is happening?
Thanks!
Ok I changed sa_delete
A few questions ...
1. In /var/qmail/.spamassassin none of the listings are set including:
# How many points before a mail is considered spam.
# required_score
Should this be enabled for the "required hits" now that I don't have psa-spamassassin in plesk anymore?
The email header spam listing says it is "5" but have no idea where it gets that figure.
2. If an email is marked as spam and it is not spam how do you remove it being marked as spam?
3. Why am I getting these all the time still by "root"?
10370 root 16 0 37752 36M 1928 S 14.6 3.6 2:04 0 spamd child
This is the only thing that is showing as installed in the plesk updater section:
SPAM blocker for QMail daemon
Is this related to the spamd child listing and should it be removed?
4. I got this spam email this morning which should have been deleted automatically:
X-Spam-Status: No, hits=-76.5 required=5.0
76.5? How did this get through?
A few questions ...
1. In /var/qmail/.spamassassin none of the listings are set including:
# How many points before a mail is considered spam.
# required_score
Should this be enabled for the "required hits" now that I don't have psa-spamassassin in plesk anymore?
The email header spam listing says it is "5" but have no idea where it gets that figure.
2. If an email is marked as spam and it is not spam how do you remove it being marked as spam?
3. Why am I getting these all the time still by "root"?
10370 root 16 0 37752 36M 1928 S 14.6 3.6 2:04 0 spamd child
This is the only thing that is showing as installed in the plesk updater section:
SPAM blocker for QMail daemon
Is this related to the spamd child listing and should it be removed?
4. I got this spam email this morning which should have been deleted automatically:
X-Spam-Status: No, hits=-76.5 required=5.0
76.5? How did this get through?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
The messages got negative hit points. Since -67.2 is not bigger than 5.0 it's not being tagged as spam.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 46
- Joined: Thu May 12, 2005 3:50 am
- Location: Sunny California