[Pkg-dspam-misc] Bug#408455: dspam: Dspam crashes when history
grows in size - fail to analyse mail
Ka Teznik
kateznik at free.fr
Thu Jan 25 23:56:11 CET 2007
Package: dspam
Version: 3.6.8-5
Severity: grave
Justification: renders package unusable
I installed dspam a while ago, in the following config :
[Postfix]->[DSPAM]->[Cyrus].
All worked well for a while, but since some times I had dspam crashing
without any log.
I tried serveral tweakings in order to get some logs, but didn't find
any.
I finally changed config this morning and obtained a new working config,
dspam being set as a content filter for postfix.
This evening dspam began to crash again, but this time I had the
following error message bounced to senders :
The mail system <user at localhost>: Command died with signal 8:
"/usr/bin/dspam"
My content filter is just set as :
**Master.cf**
8<-----------------
smtp inet n - - - - smtpd
-o content_filter=dspam:
-+-------+-
dspam unix - n n - 10 pipe
flags=Ru user=dspam argv=/usr/bin/dspam --client --deliver=innocent --user $user -i -f $sender -- $recipient
8<-----------------
My users begin to have a somehow big database (hash format) :
user TP: 1449 TN: 6436 FP: 0 FN: 954
SC: 1123 NC: 0
-- Hardware is :
* Pentium II (deschute) 300Mhz
* 256 Mo RAM (free 16 Mo; no swap used)
* worst occupied partition is at 42% (/var has 1.1Go free)
-- /var/log/dspam.debug says :
10944: [01/25/2007 23:16:23] DSPAM Instance Startup
10944: [01/25/2007 23:16:23] input args: /usr/bin/dspam --client --deliver=innocent --user kateznik -i -f linux-nantes-bounces at listes.univ-nantes.fr -- kateznik at kateznik.mynet
10944: [01/25/2007 23:16:23] pass-thru args: /usr/sbin/sendmail -i -f linux-nantes-bounces at listes.univ-nantes.fr -- kateznik at kateznik.mynet
10944: [01/25/2007 23:16:23] processing user kateznik
10944: [01/25/2007 23:16:23] uid = 110, euid = 110, gid = 110, egid = 110
10944: [01/25/2007 23:16:23] loading preferences for user kateznik
10944: [01/25/2007 23:16:23] Loading preference 'trainingMode' = 'TEFT'
10944: [01/25/2007 23:16:23] Loading preference 'spamAction' = 'quarantine'
10944: [01/25/2007 23:16:23] Loading preference 'spamSubject' = '[SPAM]'
10944: [01/25/2007 23:16:23] Loading preference 'enableBNR' = 'on'
10944: [01/25/2007 23:16:23] Loading preference 'enableWhitelist' = 'on'
10944: [01/25/2007 23:16:23] Loading preference 'statisticalSedation' = '5'
10944: [01/25/2007 23:16:23] Loading preference 'signatureLocation' = 'headers'
10944: [01/25/2007 23:16:23] Loading preference 'whitelistThreshold' = '10'
10944: [01/25/2007 23:16:23] Loading preference 'showFactors' = 'off'
10944: [01/25/2007 23:16:23] Loading preference 'trainingMode' = 'TEFT'
10944: [01/25/2007 23:16:23] Loading preference 'spamAction' = 'quarantine'
10944: [01/25/2007 23:16:23] Loading preference 'spamSubject' = '[SPAM]'
10944: [01/25/2007 23:16:23] Loading preference 'enableBNR' = 'on'
10944: [01/25/2007 23:16:23] Loading preference 'enableWhitelist' = 'on'
10944: [01/25/2007 23:16:23] Loading preference 'statisticalSedation' = '5'
10944: [01/25/2007 23:16:23] Loading preference 'signatureLocation' = 'headers'
10944: [01/25/2007 23:16:23] Loading preference 'whitelistThreshold' = '10'
10944: [01/25/2007 23:16:23] Loading preference 'showFactors' = 'off'
10944: [01/25/2007 23:16:23] loaded default preferences externally
10944: [01/25/2007 23:16:23] using /var/spool/dspam/opt-in/local/kateznik.dspam as path
10944: [01/25/2007 23:16:23] using /var/spool/dspam/opt-out/local/kateznik.nodspam as path
10944: [01/25/2007 23:16:23] sedation level set to: 5
10944: [01/25/2007 23:16:23] Connecting to 127.0.0.1:3310 for virus check
10944: [01/25/2007 23:16:23] Connecting to 127.0.0.1:1127 for virus stream transmission
It ends here, without any other notification.
-- /var/log/syslog says :
Jan 25 23:16:23 hostname postfix/pipe[10936]: E010A2E001: to=<kateznik>,
orig_to=<kateznik>, relay=dspam, delay=0.4, delays=0.12/0.01/0/0.27,
dsn=5.3.0, status=bounced (Command died with signal 8: "/usr/bin/dspam")
-- /etc/dspam/dspam.conf
#Here's the active lines of dspam.conf :
Home /var/spool/dspam
StorageDriver /usr/lib/dspam/libhash_drv.so
TrustedDeliveryAgent "/usr/sbin/sendmail"
OnFail error
Trust root
Trust dspam
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust postfix
Trust www-data
Debug *
DebugOpt process spam fp
TrainingMode teft
TestConditionalTraining on
Feature chained
Feature whitelist
Algorithm graham burton
PValue graham
Preference "spamAction=tag"
Preference "signatureLocation=header" # 'message' or 'headers'
Preference "showFactors=on"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
HashRecMax 98317
HashAutoExtend on
HashMaxExtents 0
HashExtentSize 49157
HashMaxSeek 100
HashConnectionCache 10
Notifications off
PurgeSignatures 14 # Stale signatures
PurgeNeutral 90 # Tokens with neutralish probabilities
PurgeUnused 90 # Unused tokens
PurgeHapaxes 30 # Tokens with less than 5 hits (hapaxes)
PurgeHits1S 15 # Tokens with only 1 spam hit
PurgeHits1I 15 # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog on
UserLog on
Opt out
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse full
ClamAVPort 3310
ClamAVHost 127.0.0.1
ClamAVResponse spam
ServerPID /var/run/dspam/dspam.pid
ServerMode auto
ServerParameters "--deliver=innocent"
ServerIdent "localhost.localdomain"
ServerDomainSocketPath "/var/run/dspam/dspam.sock"
ProcessorBias on
I'm ready to help, but I don't know how to find any more clues.
Thanks for the work done,
KaTeznik <kateznik at free.fr>
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages dspam depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libdspam7 3.6.8-5 DSPAM is a scalable and statistica
ii libldap2 2.1.30-13.2 OpenLDAP libraries
ii procmail 3.22-16 Versatile e-mail processor
Versions of packages dspam recommends:
ii clamav-daemon 0.88.7-1 antivirus scanner daemon
ii dspam-doc 3.6.8-5 Documentation for dspam
-- no debconf information
More information about the Pkg-dspam-misc
mailing list