From owner-freebsd-questions@FreeBSD.ORG Fri May 25 13:50:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07B1A16A400 for ; Fri, 25 May 2007 13:50:33 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id CB32213C4BD for ; Fri, 25 May 2007 13:50:32 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from cherubino.3dresearch.com (27.mars6.xdsl.nauticom.net [209.195.153.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 2B06E863A6 for ; Fri, 25 May 2007 09:50:32 -0400 (EDT) Received: from doncurzio.3dresearch.com (doncurzio.3dresearch.com [10.61.70.3]) by cherubino.3dresearch.com (Postfix) with ESMTP id 7A135550D for ; Fri, 25 May 2007 09:50:30 -0400 (EDT) Message-Id: <6.2.1.2.0.20070525094720.065040b0@imap.telissant.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Fri, 25 May 2007 09:52:51 -0400 To: freebsd-questions@freebsd.org From: web@3dresearch.com In-Reply-To: <46560AC3.8010909@intersonic.se> References: <46560AC3.8010909@intersonic.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Out of memory during request 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: Fri, 25 May 2007 13:50:33 -0000 At 05:59 PM 5/24/2007, you wrote: >Janos Dohanics wrote: >>I'm using imapsync to transfer maildirs to a new server. One of the >>mailboxes is about 4.7 GB. While into the syncing to about 3 GB, >>imapsync quits with this message: >> >>while processing LITERAL >>Read: * 5330 FETCH (UID 5337 BODY[] ) >>12835 OK Fetch completed. >>Out of memory during request for 80 bytes, total sbrk() is 536813568 >>bytes! >>I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE >>with 1 GB RAM. >>I'm wondering if I could adjust some resource settings to let the >>imapsync job finish? >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >I forgot to say you probably need more RAM as well, at least I did. We are >running a nightly imapsync run and the problem did not go away until we >had 3GB. > >Good luck, > >Per olof Bill and Per, Thank you both. I tried ulimit -d 1000000000, but that did change the values reported by ulimit. So I did a little googling, and came across this: http://people.lemis.com/grog/diary-mar2005.html - see the March 4 entry. With this change, imapsync and 1 GB RAM could cope with the large mailbox... Janos