From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 20:10:29 2004 Return-Path: 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 AD0AF16A4CE for ; Thu, 11 Mar 2004 20:10:29 -0800 (PST) Received: from ms-smtp-03.nyroc.rr.com (ms-smtp-03.nyroc.rr.com [24.24.2.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6108843D2D for ; Thu, 11 Mar 2004 20:10:29 -0800 (PST) (envelope-from baughj@discordians.net) Received: from discordians.net (alb-24-194-42-195.nycap.rr.com [24.194.42.195])i2C4AQXg017473 for ; Thu, 11 Mar 2004 23:10:27 -0500 (EST) Message-ID: <40513836.9000603@discordians.net> Date: Thu, 11 Mar 2004 23:10:30 -0500 From: "Justin Baugh, KSC" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <40512A99.3050508@discordians.net> <388938962.20040311215730@mygirlfriday.info> In-Reply-To: <388938962.20040311215730@mygirlfriday.info> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Pernicious problem with vfork / qmail / qmail-scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 04:10:29 -0000 > This error means means you`ve run out of memory (RAM + swap). Add RAM or > swap, or lower your concurrencies or stop unneeded processes. Have you > checked your memory? Qmail-scanner is *very* resource intensive as it is a > huge perl program, which then calls KAV, and I have a feeling this is > where the problem is.. are you running KAV in daemon mode? I think KAV is > where to look.. You can also set up your server to relay mail to a > separate server which has KAV and/or spamd and have it run over these, and > back to the main server for delivery. This machine has 2 gigabytes of RAM and 4 gigabytes of swap. I would have to run several hundred simultaneous processes to even get close to that limit. Even when the problem is occuring I have about 1400mb of inactive RAM and I have had no swap usage. In the past I ran 10, 15, 20 deliveries concurrently on smaller footprints with no problems, albeit under 4.x. Even assuming every mail delivery took up 50mb (we'll take some kind of ridiculous worst case, it's more like 8-12mb), I would think I'd still be able to have at least 20 concurrent deliveries since there are no ulimits, right? -Justin