<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Spam Filter ISP Forums : Memory leak or a feature of Windows 2008?</title>
  <link>https://www.logsat.com/spamfilter/forums/</link>
  <description><![CDATA[This is an XML content feed of; Spam Filter ISP Forums : Spam Filter ISP Support : Memory leak or a feature of Windows 2008?]]></description>
  <pubDate>Mon, 14 Sep 2026 02:14:01 +0000</pubDate>
  <lastBuildDate>Fri, 24 Jul 2009 09:45:55 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.logsat.com/spamfilter/forums/RSS_post_feed.asp?TID=6712</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Spam Filter ISP Forums]]></title>
   <url>https://www.logsat.com/spamfilter/forums/forum_images/web_wiz_forums.png</url>
   <link>https://www.logsat.com/spamfilter/forums/</link>
  </image>
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : Well, until it was using the most...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13056&amp;title=memory-leak-or-a-feature-of-windows-2008#13056</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1238">Neolisk</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 24 July 2009 at 9:45am<br /><br />Well, until it was using the most CPU and RAM, but the values were generally low, I didn't care about it being enabled. Any additional protection is never odd, but now... again, it depends on how big it will grow. Currently 75% of memory is occupied. I also noticed that when it comes to 90%, huge lags happen, so the antispam gateway is in kind of critical state.<br><br>Anyway, thanks for looking!<br>]]>
   </description>
   <pubDate>Fri, 24 Jul 2009 09:45:55 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13056&amp;title=memory-leak-or-a-feature-of-windows-2008#13056</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : The Bayesian database holds statistical...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13055&amp;title=memory-leak-or-a-feature-of-windows-2008#13055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 23 July 2009 at 7:06pm<br /><br />The Bayesian database holds statistical information about the various "tokens" (words/symbols) that your incoming emails contain. As email arrives, and it's categorized by the other filters as "spam" or "clean", the bayesian filter "learns" about the various token patterns, and is, statistically, able to distinguish similar patterns in the future to help identify emails as spam. As spam emails are dynamic (the type of spam you receive today will usually be different from the one you'll receive next week), these statistical "tokens" are set to expire after a few days if during that time new emails doe not contain them any more.<br /><br />....however<br /><br />The answer to your  question  <em>is there any point to store Bayesian database</em> was in a way already answered earlier in this thread <img src="https://www.logsat.com/spamfilter/forums/smileys/smiley1.gif" border="0" align="middle" /><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by LogSat" alt="Originally posted by LogSat" style="vertical-align: text-bottom;" /> <strong>LogSat wrote:</strong><br /><br />the Bayesian filters were "the thing" 5 years ago, and for a while this was the "star" filter in our SpamFilter. However the spammers have since learned how to easily bypass them, making the Bayesian filter even less effective.<br />As the Bayesian filter is the one that uses the most CPU and the most RAM, if that is affecting your server you may want to consider disabling it as well.</td></tr></table> <br /><br />We've received your log and will be looking over it shortly.<br /><br /><span style="font-size:10px"><br /><br />Edited by LogSat - 23 July 2009 at 7:07pm</span>]]>
   </description>
   <pubDate>Thu, 23 Jul 2009 19:06:41 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13055&amp;title=memory-leak-or-a-feature-of-windows-2008#13055</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : Now it&amp;#039;s even bigger: 1287MB!...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13054&amp;title=memory-leak-or-a-feature-of-windows-2008#13054</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1238">Neolisk</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 23 July 2009 at 4:11pm<br /><br />Now it's even bigger: 1287MB! And it wasn't like this yesterday: only ~70MB was occupied although the corpus DB was about the same size. That's weird!<br><br>We can allocate any reasonable amount of memory. The question is: How much do we need to forget about this problem?<br><br>CleanUpCorpusIntervalDays=7<br><br>I uploaded today's current logs on your FTP.<br><br>Another question: since we don't manage spam emails and delete everything that is considered spam at any level of protection, is there any point to store Bayesian database? How does it work after all?<br>]]>
   </description>
   <pubDate>Thu, 23 Jul 2009 16:11:11 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13054&amp;title=memory-leak-or-a-feature-of-windows-2008#13054</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : As we mentioned in the previous...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13053&amp;title=memory-leak-or-a-feature-of-windows-2008#13053</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 23 July 2009 at 3:52pm<br /><br />As we mentioned in the previous post, SpamFilter keeps the bayesian database in memory (we're actually storing two copies of the database to optimize performance as both read/write access are required on it at any time). If the files total 400MB, that would add up to 800MB of RAM, plus a small percentage for overhead memory swaps. In this case, 1GB of RAM are thus legitimate.<br /><br />The issue is thus not with a memory leak, but rather to see if this database size is justified. The more emails/day are received, and the longer the statistical tokens (words) in the emails are kept, will cause the database to increase.<br /><br />Can you please let us know ballpark how many emails per day you receive, and what value the setting above mentioned in the SpamFilter.ini file - CleanUpCorpusIntervalDay - has?<br /><br />In addition, if you can please zip and email us one of your latest SpamFilter's activity logfile for an entire day we'll debug them to ensure there are no errors occurring while cleaning up the bayesian database. IF the zip is over 8MB in size, I'll send you a PM with the login info for our FTP site.]]>
   </description>
   <pubDate>Thu, 23 Jul 2009 15:52:15 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13053&amp;title=memory-leak-or-a-feature-of-windows-2008#13053</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : Now it eats 1.18 GB! Even after...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13050&amp;title=memory-leak-or-a-feature-of-windows-2008#13050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1238">Neolisk</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 23 July 2009 at 10:22am<br /><br />Now it eats 1.18 GB! Even after I restarted the service. Corpus files are smaller than 400MB, if taken together. What's wrong with it?<br>]]>
   </description>
   <pubDate>Thu, 23 Jul 2009 10:22:53 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13050&amp;title=memory-leak-or-a-feature-of-windows-2008#13050</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : CPU hovers around 20% while running...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13043&amp;title=memory-leak-or-a-feature-of-windows-2008#13043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1238">Neolisk</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 20 July 2009 at 9:43am<br /><br />CPU hovers around 20% while running on 1 core. Spam gate is the only role of that server. So it's acceptable.<br><br>It looks like we had a power outage at the weekend (or the server randomly rebooted or the program did something to its memory consumption), so now it's just 67MB.<br><br>Anyway, thanks for a suggestion. We'll see its behavior this week and decide if we really need to do anything. But even if one service restart per week is necessary, I think it's not a big problem. We're not an ISP and don't need Exchange running 24/7.<br>]]>
   </description>
   <pubDate>Mon, 20 Jul 2009 09:43:05 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13043&amp;title=memory-leak-or-a-feature-of-windows-2008#13043</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : Actually the Bayesian database...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13041&amp;title=memory-leak-or-a-feature-of-windows-2008#13041</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 17 July 2009 at 5:54pm<br /><br />Actually the Bayesian database should be loaded within about a minute or two after SpamFilter is started, so you should see the RAM usage go up within a few minutes.<br /><br />Please note that the Bayesian filter is the last one to be used by SpamFilter, and thus will catch a very small percentage of spam compared to the other filters. In our own ISP for example, the Bayesian filter used to catch only about 0.1% of spam, compared to 99.9% of the other filters (we disabled this filter about a year ago on our own live server). Adding to this, the Bayesian filters were “the thing” 5 years ago, and for a while this was the “star” filter in our SpamFilter. However the spammers have since learned how to easily bypass them, making the Bayesian filter even less effective.<br /><br />As the Bayesian filter is the one that uses the most CPU and the most RAM, if that is affecting your server you may want to consider disabling it as well.<br />If you wish to instead reset the Bayesian database, you can stop SpamFilter, delete (or rename) the SpamFilter/corpus directory, and then restart SpamFilter. Please note however that the database size will grow again. You can however have SpamFilter cleanup the database more frequently, thus reducing in size, by reducing this parameter in the SpamFilter.ini file:<br /><br />;Remove any stale token in the corpus db.dat file that did not appear in incoming emails for the past n days<br />CleanUpCorpusIntervalDays=7]]>
   </description>
   <pubDate>Fri, 17 Jul 2009 17:54:44 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13041&amp;title=memory-leak-or-a-feature-of-windows-2008#13041</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? :  db.dat ~ 127 MBdb.dat.prb ~...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13040&amp;title=memory-leak-or-a-feature-of-windows-2008#13040</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1238">Neolisk</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 17 July 2009 at 4:15pm<br /><br />db.dat ~ 127 MB<br>db.dat.prb ~ 103 MB<br><br>Current memory consumption = 829 MB. If it goes up that fast, we'll have to restart the service quite often.<br><br>P.S. I wanted to post a screenshot of the whole folder, but the forum engine would not allow that.<br><span style="font-size:10px"><br /><br />Edited by Neolisk - 17 July 2009 at 4:17pm</span>]]>
   </description>
   <pubDate>Fri, 17 Jul 2009 16:15:48 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13040&amp;title=memory-leak-or-a-feature-of-windows-2008#13040</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? : Neolisk,  All the blacklists/whitelists...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13039&amp;title=memory-leak-or-a-feature-of-windows-2008#13039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 17 July 2009 at 3:57pm<br /><br />Neolisk,<br /><br />All the blacklists/whitelists and the Bayesian database are kept in RAM to optimize lookups. Usually the bayesian database is the one that grows the larger. Can you please let us know what the filesize is for the corpus.data and the corpus.dat.prb files in the \SpamFilter\corpus directory?]]>
   </description>
   <pubDate>Fri, 17 Jul 2009 15:57:36 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13039&amp;title=memory-leak-or-a-feature-of-windows-2008#13039</guid>
  </item> 
  <item>
   <title><![CDATA[Memory leak or a feature of Windows 2008? :  After about 2 days runtime,...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13035&amp;title=memory-leak-or-a-feature-of-windows-2008#13035</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1238">Neolisk</a><br /><strong>Subject:</strong> 6712<br /><strong>Posted:</strong> 17 July 2009 at 10:54am<br /><br />After about 2 days runtime, memory usage of SpamFilterSvc.exe is 728MB. Isn't it too much for such a small program? Will it grow even bigger?<span style="font-size:10px"><br /><br />Edited by Neolisk - 17 July 2009 at 10:54am</span>]]>
   </description>
   <pubDate>Fri, 17 Jul 2009 10:54:13 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6712&amp;PID=13035&amp;title=memory-leak-or-a-feature-of-windows-2008#13035</guid>
  </item> 
 </channel>
</rss>