Thanks Mark,

Now is all more clear..

But I still don't understand how I have to do to increase the resource limits 
on amavis-milter process.. 

Another think that I think that is related is that in $TEMPDIR often the 
temporary dir containing the message to be scanned, was not deleted after 
messages is scanned. Yesterday is happened that I reach the limit of 32000 
files in that dir, and amavis-milter returns to me the error messages below 
(Too many open files). Why this happens (Expecially when there is an heavy 
traffic)?

Can be a possible cause due to the restart of amavisd/amavis-milter that force 
stop (kill) of both processes, so leaving temporary files in $TEMPDIR and it is 
never cleared?

Thanks,

rocsca


-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Mark Martinec
Inviato: martedì 7 novembre 2006 14.39
A: [email protected]
Oggetto: Re: [AMaViS-user] Milter errors

Rocco,

> I've a sendmail-milter configuration for amavisd-new. During this days I
> get errors like this in my milter log:
>
> Nov  7 10:41:54 av4 amavis-milter[26836]: kA79fr2Z025517: (mlfi_envfrom)
> creating file /var/amavis/tmp/amavis-milter-kA79fr2Z025517/email.txt
> failed: Too many open files

You may need to increase resource limits on amavis-milter process
if your sendmail is handling a large number of concurrent SMTP sessions.

> Nov  7 10:43:18 av4 amavis-milter[26836]:
> (amavis_mkdtemp) creating directory
>   /var/amavis/tmp/amavis-milter-kA79hFZu026786
> failed: File exists

I believe it falls back to inventing a temporary directory name
not based on queue-id, so I think it should be regarded as informational
error report only. Nevertheless, it would be interesting to know
when that directory was created in the first place (probably in
some previous milter session), and what happened to that session.
Could be a consequence of the first problem.

  Mark

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

-------------------------------------------------------------------------
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
[email protected]
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