We regularly experience SA crashes on a Ubuntu Hardy machine. The setup is as follows:
Postfix (2.5.1) -> SpamAssassin Milter (0.3.1-6) -> SpamAssassin (3.2.4-1ubuntu1.1) The milter is run like this: /usr/sbin/spamass-milter -P /var/run/spamass/spamass.pid -f \ -p /var/spool/postfix/spamass/spamass.sock \ -u spamass-milter -i 127.0.0.1 -r 10 SpamAssassin is run like this: /usr/bin/perl -T -w /usr/sbin/spamd -s local5 -u spamassassin \ --nouser-config --max-children 10 --debug=spamd -d \ --pidfile=/var/run/spamd.pid It crashed again this weekend. This is what I found in the log: Oct 29 08:01:51 mail01 spamd[10249]: spamd: fork: Cannot allocate memory at /usr/sbin/spamd line 999. Oct 29 08:01:53 mail01 spamd[301]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lo ck.mail01.example.com.301 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory Oct 29 08:01:53 mail01 spamd[301]: spamd: clean message (1.1/5.0) for singer-paf:65534 in 2.3 seconds, 28868 bytes. Oct 29 08:01:53 mail01 spamd[301]: spamd: result: . 1 - EXTRA_MPART_TYPE,HTML_MESSAGE,RDNS_NONE scantime=2.3,size=28868,user=singer-paf,uid=65534,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=42576,mid=<[email protected]>,autolearn=no Oct 29 08:01:53 mail01 spamd[301]: syswrite() to parent failed: Broken pipe at /usr/share/perl5/Mail/SpamAssassin/SpamdForkScaling.pm line 576. Something that annoys me, is that it keeps complaining "cannot create tmp lockfile /nonexistent/.spamassassin/", while I keep it running as user "spamassassin". I am purley speculating: Could this be in relation to my crash problem? Thanks, p...@rick -- state of mind Digitale Kommunikation http://www.state-of-mind.de Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666 Amtsgericht München Partnerschaftsregister PR 563
