LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-01-2022, 05:13 AM   #1
AsgAnquietas
Member
 
Registered: Oct 2008
Posts: 82

Rep: Reputation: 1
Exclamation SpamAssassin - 2 problems


Hello,

I use Logwatch and it daily mails me about what happened on the server a day ago.
I have SpamAssassin with Amavis on Ubuntu Server with Dovecot and Postfix email software.

The first error that shows me is this: "spamd internal error, python traceback seen in response" - what is this about ?
The second error that shows me is this: "idle children more than 2 maximum idle children. decreasing spamd children:"

What can I do to resolve these ?

And most importantly: we receive and send a lot of important mails !
Can any of the above errors lead to the emails not being delivered ?

Thank you !
 
Old 01-01-2022, 06:00 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,412

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Has Spam Assassin migrated to python? Thank goodness.

spamd/spamc is a server/client pair. One (Probably spamd) is exiting on the python tailspin by the sound of it, and leaving orphaned processes. You have a mess on your hands.

Yes, important emails could go awol, and you need to spend time there. The mail system pipes mail along the chain, and if one of the pipes is broken …

I found it useful to have a test mailbox of spam and cat it at 127.0.0.1:25 or somesuch (It was a long time ago). You should get all your test mail in the spam, all things being equal.

Get digging, and find out what's going on.
 
Old 01-01-2022, 06:52 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Cross-posted @Ubuntu Forums
 
Old 01-01-2022, 09:51 AM   #4
AsgAnquietas
Member
 
Registered: Oct 2008
Posts: 82

Original Poster
Rep: Reputation: 1
I already tested it by sending 32 emails in a matter of 1-2 minutes, enough to trigger that child kill message again.

However, all 32 emails were delivered with no problem.

Are you absolutely sure that emails are dropped?

Would it help if I posted the email server configurations or a basic schema of my layout?
 
Old 01-01-2022, 12:08 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,412

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Quote:
Originally Posted by AsgAnquietas View Post
I already tested it by sending 32 emails in a matter of 1-2 minutes, enough to trigger that child kill message again.

However, all 32 emails were delivered with no problem.

Are you absolutely sure that emails are dropped?

Would it help if I posted the email server configurations or a basic schema of my layout?
No, don't post configs for me anyhow. My experience was 20 years back, SpamAssassin was in Perl, and I don't need reading material.

What's "enough to trigger that child kill message again?" Is there a resource or loading issue here? I ran email on a puny box (AMD i586 = a '486 with Pentium instructions added, iirc) and laughable memory by today's standards, I could fire ≅100 emails at it together and never had resource issues. My chain was
Incoming -->Vipul's Razor --> DCC --> SpamAssassin with procmail passing the parcels. Postfix was doing something too …

Find a way of trapping that spamd error. Your should not lose child processes and you've no way of telling where the data it's handling goes. The fact that you got 32/32 doesn't mean you'll get 100/100. It's your job to do this, by the sound of it.

Last edited by business_kid; 01-01-2022 at 12:17 PM.
 
Old 03-08-2022, 01:47 AM   #6
AsgAnquietas
Member
 
Registered: Oct 2008
Posts: 82

Original Poster
Rep: Reputation: 1
I also have this problem: " spamd: child [___] killed successfully: interrupted, signal ___ (___): 2 Time(s)" ... what could be the problem ?
 
Old 03-08-2022, 06:43 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,412

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Am I the only one here? spamd killing a spamc child isn't necessarily a problem - every message gets a spamc child.
 
  


Reply

Tags
spamassassin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix - Changing to Clamsmtp THEN SpamAssassin (from spamassassin then clamsmtp) Thratchen Linux - Server 0 10-10-2014 02:45 PM
spamassassin sa-update does not update the rules in /usr/share/spamassassin Ladowny Linux - Server 3 05-14-2010 03:10 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
Exim/spamassassin problems tensigh Linux - Software 1 04-27-2004 05:01 AM
Problems with Procmail + Spamassassin timread Linux - Software 2 01-15-2004 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration