Mark,

* Mark Martinec <[email protected]>:
> > 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
> >  
> > /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.
> 
> /usr/include/errno.h
> #define ENOMEM 12 /* Cannot allocate memory */
> 
> man 2 fork
>   [ENOMEM] There is insufficient swap space for the new process.

it seems your diagnosis hit the spot. The filter seems to run stable now.

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

Reply via email to