From owner-freebsd-questions@FreeBSD.ORG Tue Feb 10 06:05:22 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 8514A16A4CE for ; Tue, 10 Feb 2004 06:05:22 -0800 (PST) Received: from geminix.org (gen129.n001.c02.escapebox.net [213.73.91.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 405C243D1D for ; Tue, 10 Feb 2004 06:05:22 -0800 (PST) (envelope-from gemini@geminix.org) Message-ID: <4028E51E.7020302@geminix.org> Date: Tue, 10 Feb 2004 15:05:18 +0100 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1AqYVs-000CjT-00; Tue, 10 Feb 2004 15:05:20 +0100 Subject: Re: Out of memory and inactive memory 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: Tue, 10 Feb 2004 14:05:22 -0000 Douwe Osinga wrote: > I'm running Zope under FreeBSD 4. Zope keeps getting memory errors, i.e. > malloc() fails. But top reports lots of inactive memory available. I'm new > to BSD, but I did search around in archives and I think I learned that > inactive memory is only kept around in case it is needed again and should be > given to a process needing it. So why does Zope fail here? Do you happen to have a per-process data size limit? What does ulimit -a or limit show? The former is for sh or bash, the latter for csh or tcsh. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net