Date: Wed, 6 Feb 2008 11:17:33 +0900 (JST) From: "Lachlan Michael" <lachlan@lkla.org> To: "Dan Busarow" <dan@dpcsys.com> Cc: freebsd-questions@freebsd.org Subject: Re: Memory Error using Mailman on FreeBSD. How to debug? Message-ID: <30396.137.153.0.36.1202264253.squirrel@sm.lkla.org> In-Reply-To: <69739C80-0639-4808-B5EB-0D9553826559@dpcsys.com> References: <1153.137.153.0.37.1202210274.squirrel@sm.lkla.org> <69739C80-0639-4808-B5EB-0D9553826559@dpcsys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. Ok, but mailman is a nologin user. Should I change this temporarily to check? # su mailman This account is currently not available. I'm not sure about the syntax but limits -U mailman doesn't seem to make the user mailman, but just use the class default. # limits -U mailman Resource limits for class default: cputime infinity secs filesize infinity kB datasize infinity kB stacksize infinity kB coredumpsize infinity kB memoryuse infinity kB memorylocked infinity kB maxprocesses infinity openfiles infinity sbsize infinity bytes vmemoryuse infinity kB Lachlan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30396.137.153.0.36.1202264253.squirrel>