> Hello, > Hello
> I am running dspam git version on FreeBSD 6.3 64 bit platfrom (6GB RAM > , 4GB swap) > > I installed dspam last week but getting out of swap space recently. > > pid 1327 (dspam), uid 0, was killed: out of swap space > swap_pager_getswapspace(4): failed > swap_pager_getswapspace(3): failed > swap_pager_getswapspace(3): failed > swap_pager_getswapspace(4): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(4): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): failed > swap_pager_getswapspace(2): f > That's not good. However... that does not mean that DSPAM is the one to blame. It just means that you run out of resources and that DSPAM is/was the first one to be killed. Anyway... I would be interested to hear more about the case. Did you had the issue running out of resources with the old DSPAM too? How fast do you run out of resources? Would it be possible to run without DSPAM and see if you still run out of resources? > Here is the last entry in Changelog(in order to find the version in git > repo) > # more CHANGELOG > Version 3.9.0 > ------------- > [20090606:1043] sbajic: Fixing build problems when building against > SQLite3 3.6 series > * Fixed issues with m4 macro when building against SQLite 3.6.x [Bug > ID #2774657] > > > # dspam --version > > DSPAM Anti-Spam Suite GIT (agent/library) > > Copyright (c) 2002-2009 DSPAM Project > http://dspam.sourceforge.net. > > I am using pgsql (8.3.0) storage (vacuuming every night) > > and running dspam with --daemon --debug parameter and training with > dspam --client --user spammaster --class=spam --source=corpus > > database entries: > > dspam=# SELECT count(*) from dspam_signature_data ; > count > ------- > 1037 > (1 row) > That should not bring DSPAM down. > dspam=# SELECT count(*) from dspam_token_data ; > count > --------- > 6333844 > (1 row) > This too is not high enough to bring DSPAM down. > # dspam_stats -H > spammanager: > TP True Positives: 754 > TN True Negatives: 283 > FP False Positives: 0 > FN False Negatives: 0 > SC Spam Corpusfed: 3979 > NC Nonspam Corpusfed: 3059 > TL Training Left: 0 > SHR Spam Hit Rate 100.00% > HSR Ham Strike Rate: 0.00% > PPV Positive predictive value: 100.00% > OCA Overall Accuracy: 100.00% > > > Here is dspam.conf > > Home /usr/local/var/dspam > StorageDriver /usr/local/lib/dspam/libpgsql_drv.so > Okay. PostgreSQL driver.... > OnFail error > Trust root > Trust dspam > Trust apache > Trust mail > Trust mailnull > Trust smmsp > Trust daemon > > TrainingMode toe > TestConditionalTraining on > Feature noise > Feature whitelist > Algorithm graham burton > Tokenizer chain > PValue bcr > WebStats off > > > Preference "showFactors=off" > Preference "spamAction=deliver" > Preference "whitelistThreshold=20" > Preference "spamSubject=[SPAM]" > > AllowOverride trainingMode > AllowOverride spamAction spamSubject > AllowOverride statisticalSedation > AllowOverride enableBNR > AllowOverride enableWhitelist > AllowOverride signatureLocation > AllowOverride showFactors > AllowOverride optIn optOut > AllowOverride whitelistThreshold > > > PgSQLServer /tmp > PgSQLPort 5432 > PgSQLUser dspamuser > PgSQLPass dspampass > PgSQLDb dspam > > PgSQLConnectionCache 30 > 30 connections to PostgreSQL. Do you really need that much? > PgSQLUIDInSignature on > HashRecMax 98317 > HashAutoExtend on > HashMaxExtents 0 > HashExtentSize 49157 > HashPctIncrease 10 > HashMaxSeek 10 > HashConnectionCache 30 > > Would it be possible for you to run DSPAM over valgrind and look if you have any memory leaks with it? I think most memory leaks are fixed by now but still... if you find one, then please post it here so we can track it down and fix it. Thank you for testing 3.9.0 and reporting here. // Steve -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
