system lacks resources
Chuck Swiger
cswiger at mac.com
Mon Nov 14 18:59:27 GMT 2005
Vladimir Dvorak wrote:
> When the server is under mail load, these messages appears in logs:
>
> (host 127.0.0.1[127.0.0.1] said: 450 4.4.1 Can't connect to 127.0.0.1
> port 10025, Net::SMTP: connect: Operation not permitted (Operation not
> permitted) at /usr/local/sbin/amavisd line 4323, <GEN4> line 839.,
> MTA([127.0.0.1]:10025), id=63072-10 (in reply to end of DATA command))
>
> When the load decreases, these messages are delivered.
>
> I thing this is problem related to allowed system resources. Has anyone
> met this problem ? How can I increase or where to tune system variables
> ? /etc/login.conf ?
You should adjust the delivery concurrency of postfix in master.cf to match how
many amavis/virus scanner tasks you are able to run on your system.
For example, if you limit amavis to three children, you should have this:
# virus scanning
scan unix - - n - 3 smtp
Remember that each amavis or virus-scanner process can require 30-50MB of RAM,
depending on just how big the email going by is...
--
-Chuck
More information about the freebsd-questions
mailing list