Should be fine. I originally used SDBM_File, switched to DB_File to
experiment with a DB_BTREE server scheduling database and then forgot to
switch back to SDBM_File when I went back to just using DB_HASH for
everything.
Also to do... add the small bit of code to make AI cache work for the
client cache scan.
Daryl
Justin Mason wrote:
right -- I think this is fixed now. I switched it to using
SDBM_File -- will this cause any trouble? it's a lot more widely
available (and faster) than DB_File.
--j.
Daryl C. W. O'Shea writes:
Non --cs_paths_only clients require that the clients and server use
--cs_schedule_cache, otherwise the server won't know which messages to
send to the clients (and will instead send all messages anyway).
Without --cs_paths_only and using --cs_cache, the clients will build a
cache, but the server won't know about it.
Daryl
[EMAIL PROTECTED] wrote:
Author: jm
Date: Mon Nov 12 16:00:26 2007
New Revision: 594354
URL: http://svn.apache.org/viewvc?rev=594354&view=rev
Log:
use --cs_cache on nightly mass-check server-side
Modified:
spamassassin/trunk/build/nightlymc/corpus.fredt
spamassassin/trunk/build/nightlymc/corpus.jm
spamassassin/trunk/build/nightlymc/corpus.zmi
Modified: spamassassin/trunk/build/nightlymc/corpus.fredt
URL:
http://svn.apache.org/viewvc/spamassassin/trunk/build/nightlymc/corpus.fredt?rev=594354&r1=594353&r2=594354&view=diff
==============================================================================
--- spamassassin/trunk/build/nightlymc/corpus.fredt (original)
+++ spamassassin/trunk/build/nightlymc/corpus.fredt Mon Nov 12 16:00:26 2007
@@ -1,5 +1,5 @@
-opts_weekly="--net --cache --cachedir=/tmpfs/aicache_nightly --restart=500
--after="15552000" --tail=15000 --net -j 8 -f /home/bbmass/mc-nightly/targets.fredt"
-opts_nightly="--cache --cachedir=/tmpfs/aicache_nightly --restart=500
--after="15552000" --tail=15000 -f /home/bbmass/mc-nightly/targets.fredt"
+opts_weekly="--net --cache --cachedir=/tmpfs/aicache_nightly --cs_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500 --after="15552000" --tail=15000
--net -j 8 -f /home/bbmass/mc-nightly/targets.fredt"
+opts_nightly="--cache --cachedir=/tmpfs/aicache_nightly --cs_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500 --after="15552000" --tail=15000 -f
/home/bbmass/mc-nightly/targets.fredt"
tmp=$HOME/tmp
tree=$HOME/svn
prefs_weekly=$HOME/user_prefs.weekly
Modified: spamassassin/trunk/build/nightlymc/corpus.jm
URL:
http://svn.apache.org/viewvc/spamassassin/trunk/build/nightlymc/corpus.jm?rev=594354&r1=594353&r2=594354&view=diff
==============================================================================
--- spamassassin/trunk/build/nightlymc/corpus.jm (original)
+++ spamassassin/trunk/build/nightlymc/corpus.jm Mon Nov 12 16:00:26 2007
@@ -1,5 +1,5 @@
-opts_weekly="--net --cache --cachedir=/tmpfs/aicache_nightly --restart=500
ham:detect:/home/bbmass/rawcor/jm/ham/* --after="15552000" --tail=25000 --scanprob=0.3
spam:detect:/home/bbmass/rawcor/jm/spam/*"
-opts_nightly="--cache --cachedir=/tmpfs/aicache_nightly --restart=500
ham:detect:/home/bbmass/rawcor/jm/ham/* --after="15552000" --tail=25000 --scanprob=0.3
spam:detect:/home/bbmass/rawcor/jm/spam/*"
+opts_weekly="--net --cache --cachedir=/tmpfs/aicache_nightly --cs_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500 ham:detect:/home/bbmass/rawcor/jm/ham/*
--after="15552000" --tail=25000 --scanprob=0.3
spam:detect:/home/bbmass/rawcor/jm/spam/*"
+opts_nightly="--cache --cachedir=/tmpfs/aicache_nightly --cs_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500 ham:detect:/home/bbmass/rawcor/jm/ham/*
--after="15552000" --tail=25000 --scanprob=0.3
spam:detect:/home/bbmass/rawcor/jm/spam/*"
tmp=$HOME/tmp
tree=$HOME/svn
prefs_weekly=$HOME/user_prefs.weekly
Modified: spamassassin/trunk/build/nightlymc/corpus.zmi
URL:
http://svn.apache.org/viewvc/spamassassin/trunk/build/nightlymc/corpus.zmi?rev=594354&r1=594353&r2=594354&view=diff
==============================================================================
--- spamassassin/trunk/build/nightlymc/corpus.zmi (original)
+++ spamassassin/trunk/build/nightlymc/corpus.zmi Mon Nov 12 16:00:26 2007
@@ -1,5 +1,5 @@
-opts_weekly="--net --cache --cachedir=/tmpfs/aicache_nightly --restart=500
--after="15552000" --tail=15000 --net -j 8 -f /home/bbmass/mc-nightly/targets.zmi"
-opts_nightly="--cache --cachedir=/tmpfs/aicache_nightly --restart=500
--after="15552000" --tail=15000 -f /home/bbmass/mc-nightly/targets.zmi"
+opts_weekly="--net --cache --cachedir=/tmpfs/aicache_nightly --cs_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500 --after="15552000" --tail=15000
--net -j 8 -f /home/bbmass/mc-nightly/targets.zmi"
+opts_nightly="--cache --cachedir=/tmpfs/aicache_nightly --cs_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500 --after="15552000" --tail=15000 -f
/home/bbmass/mc-nightly/targets.zmi"
tmp=$HOME/tmp
tree=$HOME/svn
prefs_weekly=$HOME/user_prefs.weekly