Starting Nov 8, I’ve been seeing fairly consistent segfaults from amavisd. I’m unable to determine what is causing it. Below is a listing of occurances in /var/log/messages. The server has been running fine (normal load – mail traffic is normal). Also I checked uptime (reboot was Nov.1) and recent emerges. The only emerges close Nov.8 was rrdtool and cacti (11/5 and 11/6). I posted this on the Gentoo forums to see if someone can point me in the right direction. I saw mention that this could be related to hardware. I’m hoping this is not the case, especially since it seems to point to perl5.8.8.
Starting Nov 8, I’ve been seeing fairly consistent segfaults from amavisd. I’m unable to determine what is causing it. Below is a listing of occurances in /var/log/messages. The server has been running fine (normal load – mail traffic is normal). Also I checked uptime (reboot was Nov.1) and recent emerges. The only emerges close Nov.8 was rrdtool and cacti (11/5 and 11/6). I posted this on the Gentoo forums to see if someone can point me in the right direction. I saw mention that this could be related to hardware. I’m hoping this is not the case, especially since it seems to point to perl5.8.8.
Nov 8 04:12:34 comp amavisd[32519]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 8 04:20:42 comp amavisd[914]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 8 04:30:50 comp amavisd[32641]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 8 04:52:01 comp amavisd[2720]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 8 05:35:41 comp amavisd[5006]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 8 06:45:37 comp amavisd[16413]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 8 07:55:40 comp amavisd[23476]: segfault at 5f1e9f40 ip 0813622a sp 5f1e9f40 error 6 in perl5.8.8[8048000+144000]
Nov 12 17:18:18 comp amavisd[12686]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 17:26:55 comp amavisd[14167]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 17:36:52 comp amavisd[14891]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 17:56:53 comp amavisd[18258]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 18:36:53 comp amavisd[21351]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 19:46:54 comp amavisd[28790]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 20:56:53 comp amavisd[7876]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 22:06:55 comp amavisd[16099]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 12 23:16:55 comp amavisd[20916]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 00:06:17 comp amavisd[27597]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 00:11:55 comp amavisd[28923]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 00:21:51 comp amavisd[26905]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 00:26:54 comp amavisd[30292]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 00:41:53 comp amavisd[28971]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 01:21:54 comp amavisd[30683]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 01:37:01 comp amavisd[4601]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 02:31:51 comp amavisd[7793]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 02:46:51 comp amavisd[9828]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 03:41:53 comp amavisd[32020]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 03:56:55 comp amavisd[2010]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 04:51:55 comp amavisd[6267]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 05:06:54 comp amavisd[6250]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 06:01:51 comp amavisd[12024]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
Nov 13 06:16:54 comp amavisd[15511]: segfault at 5de9bea0 ip 0813622a sp 5de9bea0 error 6 in perl5.8.8[8048000+144000]
I was able to analyze the last segfault (15511) which happened to be a logcheck message to me. Nothing out of the ordinary with that message. It was a plain text message and not too large. I also have the domain whitelisted, so it should have zipped through amavis just fine. Interesting that things improved from Nov 9 to Nov 11? I’ll keep you posted as I find answers.