Date: Mon, 14 Nov 2005 13:59:29 -0500 From: Chuck Swiger <cswiger@mac.com> To: Vladimir Dvorak <dvorakv@vdsoft.org> Cc: freebsd-questions@freebsd.org Subject: Re: system lacks resources Message-ID: <4378DE91.10706@mac.com> In-Reply-To: <43788716.7010305@vdsoft.org> References: <43788716.7010305@vdsoft.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4378DE91.10706>