From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 18:59:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FE9016A41F for ; Mon, 14 Nov 2005 18:59:27 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1140943D4C for ; Mon, 14 Nov 2005 18:59:26 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 3CB4E5F78; Mon, 14 Nov 2005 13:59:26 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11680-06; Mon, 14 Nov 2005 13:59:25 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 065745C20; Mon, 14 Nov 2005 13:59:24 -0500 (EST) Message-ID: <4378DE91.10706@mac.com> Date: Mon, 14 Nov 2005 13:59:29 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vladimir Dvorak References: <43788716.7010305@vdsoft.org> In-Reply-To: <43788716.7010305@vdsoft.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: system lacks resources X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 18:59:27 -0000 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, 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