Bug 4422 - [review] spamd consumes all memory on server
Summary: [review] spamd consumes all memory on server
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 3.0.4
Hardware: HP Linux
: P5 normal
Target Milestone: 3.1.1
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard: can be committed
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-22 08:48 UTC by LDB
Modified: 2006-12-11 11:15 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status
Proposed patch to Conf.pm for invalid path to certain options patch None LDB [NoCLA]
updated patch for 3.1 patch None Theo Van Dinter [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description LDB 2005-06-22 08:48:16 UTC
I accidently discovered that using 

   dcc_path /usr/local/bin

in /etc/mail/spamassassin was very destructive and caused spamd memory consumption.
The daemon spawned copies of itself until there was no more resources available.

I have hopefully solved the problem with the patches that will follow.

LDB
Comment 1 LDB 2005-06-22 08:56:46 UTC
Created attachment 2948 [details]
Proposed patch to Conf.pm for invalid path to certain options
Comment 2 Bob Menschel 2005-07-03 18:41:59 UTC
Triage: I believe there's probably not enough time to validate this patch for
3.1.0, but it should be a good fix for 3.1.1
Comment 3 Theo Van Dinter 2006-02-22 23:22:00 UTC
Created attachment 3385 [details]
updated patch for 3.1

the original patch was against 3.0 which doesn't apply to 3.1 and later. 
here's my version for 3.1, as applied to 3.2 in r379942.
Comment 4 Justin Mason 2006-02-22 23:38:09 UTC
+1
Comment 5 Daryl C. W. O'Shea 2006-02-28 03:27:36 UTC
+1
Comment 6 Theo Van Dinter 2006-02-28 04:59:36 UTC
Sending        lib/Mail/SpamAssassin/Plugin/DCC.pm
Sending        lib/Mail/SpamAssassin/Plugin/Pyzor.pm
Transmitting file data ..
Committed revision 381555.

:)