Fedora Linux Support Community & Resources Center
  #1  
Old 29th March 2012, 09:54 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,552
linuxfedorafirefox
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).
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #2  
Old 29th March 2012, 10:34 PM
William Haller Offline
Registered User
 
Join Date: Jul 2005
Age: 53
Posts: 1,076
linuxchrome
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
  #3  
Old 31st March 2012, 06:17 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,552
linuxfedorafirefox
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.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
Reply

Tags
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 05:37 PM
Fedora 10: Evolution/Spamassassin: Pipe to SpamAssassin failed, error code: 1 A. Gideon Using Fedora 3 23rd December 2008 11:41 AM
firefox - memory problems related to browser.cache.memory.capacity? slade17 Using Fedora 0 23rd September 2008 03:22 PM


Current GMT-time: 08:05 (Friday, 18-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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