Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 09:52:51 -0400
From:      web@3dresearch.com
To:        freebsd-questions@freebsd.org
Subject:   Re: Out of memory during request
Message-ID:  <6.2.1.2.0.20070525094720.065040b0@imap.telissant.com>
In-Reply-To: <46560AC3.8010909@intersonic.se>
References:  <LqvpJ9Dj.1180020789.2530400.janos@imap.3dresearch.com> <46560AC3.8010909@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>><END>
>>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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.1.2.0.20070525094720.065040b0>