From owner-freebsd-questions@FreeBSD.ORG Tue Oct 31 16:29:42 2006 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 26BBC16A415 for ; Tue, 31 Oct 2006 16:29:42 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8172343D76 for ; Tue, 31 Oct 2006 16:29:41 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 31 Oct 2006 11:29:40 -0500 id 00056413.454779F4.00002294 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 31 Oct 2006 11:22:47 -0500 Date: Tue, 31 Oct 2006 11:29:39 -0500 From: Bill Moran To: Per olof Ljungmark Message-Id: <20061031112939.36cbc714.wmoran@collaborativefusion.com> In-Reply-To: <45476E4E.4050107@intersonic.se> References: <45476E4E.4050107@intersonic.se> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help increase process/kernel memory please 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: Tue, 31 Oct 2006 16:29:42 -0000 In response to Per olof Ljungmark : > Hi, > > I clearly have a problem figuring out how to increase the limits for > memory available to a process and the kernel. > > I'm running a Perl app that need lots of memory and I would like to make > around 2G available to it, the box has 4G physical RAM. > > Which knob(s) should be tweaked? System is running 6-STABLE from around > 1st of October. > > This is what I see when the process exits: > Out of memory during "large" request for 528384 bytes, total sbrk() is > 536416256 bytes > > I'm depending on a solution to this and would be a really happy person > if someone could please guide me. What does 'ulimit -a' as the user running the process say? If the problem is apparent there, the associated docs should help. -- Bill Moran Collaborative Fusion Inc.