Memory Error using Mailman on FreeBSD. How to debug?
lachlan at lkla.org
Wed Feb 6 04:16:19 UTC 2008
> On Feb 5, 2008, at 7:17 PM, Lachlan Michael wrote:
>>> 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
>>>> with the error
>>>> MemoryError : out of memory
>>>> # 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.
> Yes, change it so that you can su to mailman and then run limits
> again. You need to see what happens in the context of user mailman
> since that is what all the mailman programs will get.
Ok, with /bin/tcsh as the login shell the results are the same. Also tried
csh and sh just to make sure.
# su mailman
Resource limits (current):
cputime infinity secs
filesize infinity kB
datasize 524288 kB
stacksize 65536 kB
coredumpsize infinity kB
memoryuse infinity kB
memorylocked infinity kB
sbsize infinity bytes
vmemoryuse infinity kB
These limits are pretty standard, right?
More information about the freebsd-questions