Michael Monnerie wrote: > On Samstag, 24. Juni 2006 02:30 Michael Parker wrote: >> Add --debug dbiplugin to your starup command line. > > Sorry I checked that already, but forgot to post it: > # spamd -D dbiplugin -q -c -l -r /var/run/spamd.pid --min-children=2 > --max-children=15 --min-spare=2 > [27733] dbg: dbiplugin: Creating uncached database handle to > 'dbname=zmi_sa_bayes;host=localhost_zmi_sa_bayes_bayes_AutoCommit=0_PrintError=0_Username=zmi_sa_bayes' > [27733] info: spamd: server started on port 783/tcp (running version 3.1.3) > [27733] info: spamd: server pid: 27733 > [27746] dbg: dbiplugin: In spamd_child_init > [27733] info: spamd: server successfully spawned child process, pid 27746 > [27747] dbg: dbiplugin: In spamd_child_init > [27733] info: spamd: server successfully spawned child process, pid 27747 > [27733] info: prefork: child states: II > > # spamassassin --debug dbiplugin --lint 2>&1 > [27929] dbg: dbiplugin: Creating uncached database handle to > 'dbname=zmi_sa_bayes;host=localhost_zmi_sa_bayes_bayes_AutoCommit=0_PrintError=0_Username=zmi_sa_bayes' > > Looks good? > > mfg zmi
The first one in spamd will not be cached (really anything that isn't in a child), and will never be cached in spamassassin. So you'd have to look at the subsequent accesses in spamd to know for sure. Michael