amavisd - exited on signal 11 - FreeBSD 8 with Perl 5.10

Hans F. Nordhaug Hans.F.Nordhaug at hiMolde.no
Thu Apr 29 20:58:44 UTC 2010


Hi!

I have been happily running Postfix with amavisd-new (and Clamav 
and SpamAssassin) on FreeBSD 7 with Perl 5.8 for a long time. 
Recently, I upgraded to FreeBSD 8 and rebuilt all ports (after
updating). Suddenly I saw many 
    kernel: pid xxxxx (perl), uid 110: exited on signal 11
lines in /var/log/messages and mailq returns some messages
with comments like:

    (lost connection with 127.0.0.1[127.0.0.1] while sending end 
    of data -- message may be sent more than once)

I Googled and found that this could be related to do_ascii/UUlib
and disabled do_ascii in /usr/local/etc/amavisd.conf. That didn't fix
it. Then I read somewhere that this could be caused by problems with
nested regexp and that Perl 5.10 didn't have that problem. I upgraded
to Perl 5.10.1 (and rebuild all ports depending on it) and that also
didn't fix it. Currently all my port are up-to-date.

I'm trying to log everything - "$sa_debug = 'all';" and 
"$log_level = 5;" in amavisd.conf, but I don't really see the problem.
Recent example:

/var/log/messages
==================
Apr 29 22:49:21 nordhaug kernel: pid 74726 (perl), uid 110: exited on signal 11

/var/log/debug.log
==================
Apr 29 22:49:20 nordhaug amavis[74726]: Net::Server: 2010/04/29-22:49:20 CONNECT TCP Peer: "127.0.0.1:32829" Local: "127.0.0.1:10024"
Apr 29 22:49:20 nordhaug amavis[74726]: loaded base policy bank
[ ... skipped many debug lines from amavis[74726] ... ]
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) SpamControl: calling spam scanner SpamAssassin
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) timer set to 320 s for SA (was 480 s)
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) calling SA parse, SA version 3.3.1, 3.003001, data as GLOB
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) CALLING SA check
Apr 29 22:49:21 nordhaug amavis[10435]: Net::Server: Starting "1" children
Apr 29 22:49:21 nordhaug amavis[75502]: Net::Server: Child Preforked (75502)
Apr 29 22:49:21 nordhaug amavis[75502]: entered child_init_hook
Apr 29 22:49:21 nordhaug amavis[75502]: SpamControl: init_child on SpamAssassin done

So, is anyone else seeing this? Can you give me any hints? I'm happy to give you more
input if it is possible to turn on more debugging.

Best regards,
Hans

PS! The message is sent eventually - the mail queue doesn't grow. And the server
has a very light load.


More information about the freebsd-questions mailing list