You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/20 00:06:25 UTC

[Spamassassin Wiki] Update of "OutOfMemoryProblems" by JustinMason

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/OutOfMemoryProblems

------------------------------------------------------------------------------
  = I keep running out of memory every now and again. What's happening? =
+ 
+ == Simultaneous Scans ==
  
  If you're using spamassassin to filter all mail on your domain, you will run out of memory, unless you impose a limit on simultaneous scans.
  
@@ -20, +22 @@

  
  This helps throttle down the load further upstream, and is very beneficial.
  
+ == Very large mails ==
+ 
  You should also ensure you do not scan very large mails, as described in SpamdKillingServer.
  
- You should also avoid using very large custom rules files. The larger custom rules files available from the SA community will exacerbate this problem. A prime example is sa-blacklist.cf or sa-blacklist-uri.cf by Bill Stearns (See CustomRulesets). If you have memory problems using these rulesets, consider using [http://wiki.apache.org/spamassassin/SURBL] instead.
+ == Very large mails ==
  
- If you're doing the above and still running out of memory, check the size of your AWL databases. Version 3.0.3 fixes an AWL specific bug that can cause memory bloat from large AWL db files. You can also use the --clean switch of the tools/check_whitelist utility to remove entries with < n hits, providing a way to clean out the db. This should resolve this specific problem.
+ You should also avoid using very large custom rules files. The larger custom rules files available from the SA community will exacerbate this problem.  The following CustomRulesets ''will'' kill your server:
  
+  * sa-blacklist.cf or sa-blacklist-uri.cf 
+  * bigevil.cf
+  
+ If you are using these rulesets, consider using [http://wiki.apache.org/spamassassin/SURBL] instead.
+ 
+ == AWL ==
+ 
+ If you're doing the above and still running out of memory, check the size of your AWL databases. Version 3.0.3 fixes an AWL specific bug that can cause memory bloat from large AWL db files.
+ 
+ You can also use the --clean switch of the tools/check_whitelist utility to remove entries with < n hits, providing a way to clean out the db. This should resolve this specific problem.
+