> > Amavisd-new goes in error after a few time that it starts..
> 
> Process amavisd or process amavis-milter?  Looks like the later.

It seems to me amavis-milter.. I start it through a startup script which
contains the following line...

        su - ${AMAVIS_ACCOUNT} -c "/usr/local/sbin/amavis-milter
${MILTER_FLAGS}
 -p local:${MILTER_SOCKET}"

where

        AMAVIS_ACCOUNT=amavis
        MILTER_FLAGS=""         # Set the options you want passed to
amavis-milter
        MILTER_SOCKET=/var/amavis/amavis-milter.sock

This happens after I reload sendmail with a startup script that contain
the following line

        killproc -p $srvpid -HUP /usr/sbin/sendmail

where

          srvpid=/var/run/sendmail.pid

In maillog I see lines like this..

Oct 26 12:51:24 av3 sendmail[26210]: k9QAoK5l026210: Milter
(milter-amavis): read returned -1: Connection reset by [10.70.2.241]
Oct 26 12:51:24 av3 sendmail[26210]: k9QAoK5l026210: Milter
(milter-amavis): to error state
Oct 26 12:51:24 av3 sendmail[26210]: k9QAoK5l026210: Milter
(milter-amavis): init failed to open
Oct 26 12:51:24 av3 sendmail[26210]: k9QAoK5l026210: Milter
(milter-amavis): to error state
Oct 26 12:51:24 av3 sendmail[26210]: k9QAoK5l026210: Milter:
initialization failed, temp failing commands

> 
> > After raising verbosity of amavis-milter I have seen the following 
> > entries in milter logs:
> >
> > Oct 23 18:59:51 av3 amavis-milter[4149]: amavis-milter: 
> > thread_create()
> > failed: 11, try again
> >
> > What it means? It is this the cause of my problems?
> 
> thread_create is called by libmilter library.  The 11 looks 
> like a signal number, in this case SIGSEGV, segmentation 
> violation. This seems to happen before code in amavis-milter 
> gains control, so it looks like there is something wrong with 
> the environment or building of amavis-milter - don't know, 
> just guessing. Perhaps running out of some resource.
> 
> Just in case, take a look a amavisd log, perhaps there is 
> some cause and effect between the two.

there is nothing inside (LOG verbosity in amavisd_new is 0) that point
out amavis-milter..

rocsca

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to