Fedora Linux Support Community & Resources Center
Old 29th March 2012, 09:54 PM
Posts: n/a
Spamassassin as memory hog

I've been running spamassassin on a mailserver and ... frankly the spamd processes are eating up a lot of memory, like 256MB virtual and ~57M resident times 3-5 processes.

I've googled and I suppose I can reduce the number of child processes given the low load but ... it's still a hog.

Anyone have a better alternative & some setup advise (postfix here).
Reply With Quote
Old 29th March 2012, 10:34 PM
William Haller Offline
Registered User
Join Date: Jul 2005
Age: 57
Posts: 1,181
Re: Spamassassin as memory hog

Losing the functionality of spamassassin is something we would consider a real blow as we filter a bunch of junk automatically to user spam directories with its information. I'd recommend just restarting the mail task with a cron job once a day. Works for us. Let the backup mail server handle things for a few seconds in the middle of the night.

---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------

Sorry for the late addition. I'd also seriously recommend milter-greylist running ahead of everything else. It's not an ideal solution as there are a small number of badly configured (ahem - exchange) servers that don't properly handle the reply code and won't retry, but you drastically cut down the number of messages you have to deal with in clamav and spamassassin which might help.
Reply With Quote
Old 31st March 2012, 06:17 PM
Posts: n/a
Re: Spamassassin as memory hog

Sincere thanks William. I'm just running an internal soho server with half a dozen accounts - probably orders of magnitude less that you. Spamassassin does a good job, but I seem to get ~160MB of resident memory in use as soon as inbound mail is processed. My intention is to virtualize the mail service and I'd like to minimize the memory profile.
Reply With Quote

hog, memory, spamassassin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory map or physical address of some memory allocated by malloc demon007 Programming & Packaging 2 3rd February 2012 06:37 PM
Fedora 10: Evolution/Spamassassin: Pipe to SpamAssassin failed, error code: 1 A. Gideon Using Fedora 3 23rd December 2008 12:41 PM
firefox - memory problems related to browser.cache.memory.capacity? slade17 Using Fedora 0 23rd September 2008 03:22 PM

Current GMT-time: 18:48 (Friday, 22-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat