From owner-freebsd-questions@FreeBSD.ORG Tue Feb 5 15:35:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2C4716A417 for ; Tue, 5 Feb 2008 15:35:14 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from ns.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id C513513C459 for ; Tue, 5 Feb 2008 15:35:14 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from [192.168.1.227] (host135 [209.200.204.135]) by ns.beach.net (8.13.7/8.13.7) with ESMTP id m15F5Hd5043336; Tue, 5 Feb 2008 07:05:17 -0800 (PST) In-Reply-To: <1153.137.153.0.37.1202210274.squirrel@sm.lkla.org> References: <1153.137.153.0.37.1202210274.squirrel@sm.lkla.org> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <69739C80-0639-4808-B5EB-0D9553826559@dpcsys.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Tue, 5 Feb 2008 08:05:15 -0700 To: lachlan@lkla.org X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: Memory Error using Mailman on FreeBSD. How to debug? 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, 05 Feb 2008 15:35:15 -0000 On Feb 5, 2008, at 4:17 AM, Lachlan Michael wrote: > I have a question about debugging a memory error on FreeBSD. > > When a user sends an e-mail with an attachment above about 500kB to > a very > small mailing list (4 members), Mailman on my server aborts processing > with the error > MemoryError : out of memory [snip] > > # limits > Resource limits (current): > cputime infinity secs > filesize infinity kB > datasize 524288 kB > stacksize 65536 kB > coredumpsize infinity kB > memoryuse infinity kB > memorylocked infinity kB > maxprocesses 5547 > openfiles 11095 > sbsize infinity bytes > vmemoryuse infinity kB > Try running limits as the mailman user, not root. All the mailman programs run as your mailman user. Dan