From owner-freebsd-questions Tue Jan 14 19:12:29 2003 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 7F1A137B401 for ; Tue, 14 Jan 2003 19:12:28 -0800 (PST) Received: from mailout5-0.nyroc.rr.com (mailout5-0.nyroc.rr.com [24.92.226.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA35C43F1E for ; Tue, 14 Jan 2003 19:12:27 -0800 (PST) (envelope-from tparquet@twcny.rr.com) Received: from twcny.rr.com (syr-66-24-56-65.twcny.rr.com [66.24.56.65]) by mailout5-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id h0F3CMF25135; Tue, 14 Jan 2003 22:12:22 -0500 (EST) Message-ID: <3E24D198.6070409@twcny.rr.com> Date: Tue, 14 Jan 2003 22:12:24 -0500 From: Tom Parquette User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021220 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lowell Gilbert Cc: freebsd-questions@FreeBSD.ORG Subject: Re: port/ftp/mirror-2.9 "Out of memory!" message--some progress References: <3E1D0198.9040104@twcny.rr.com> <44wule9gfy.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lowell Gilbert wrote: > Tom Parquette writes: > > >>I'm getting an "Out of memory!" message from the mirror >>(/usr/ports/ftp/mirror-2.9) port trying to update a large archive. >>I've tried a number of things but I can't resolve this. >>Any suggestions? > > > hitting a limits(1) limit? > Lowell, I've been playing with this on and off for a few days. Your question, I think, put me onto something. I've been rerunning the mirror command with top running. mirror fails with the memory size around 520m consistantly. Limits gives me a datasize limit of 524288kb. (Close enough for me!) I've come to the conclusion that the man page would benefit from some examples. I've been trying to raise the datasize limit but it does not seem to take. Example: limits -B -d 4g mirror.sh... still blows up with memory values, from top, around 520m (give or take a little.) You've gotten me looking in the right area. All I have to do now is get the override to work. Can anybody provide any insights on how to actually do this? Cheers... -- Try not. Or. Or do not. There is no try.--Yoda To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message