Hi all,

I have investigated the problem a little, and here are some results:

First of all, it has nothing to do with memory consumption. The smtpd
crashes on statfs() in fsspase() function, which is called from
smtpd_check_queue() to check available free space on current
filesystem for a queue.

In the suggested System.map file the closest entry is 'alloc_page_buffers'.

The default_process_limit, qmgr_message_active_limit and
qmgr_message_recipient_limit tweaks have no effect at all.

Any thoughts why statfs() may trigger a kernel oops?


Best regards,
Denis Shulyaka

2011/3/4 Wietse Venema <wie...@porcupine.org>:
> Wietse:
>> > Postfix asks the kernel for memory. If the kernel oopses and crashes
>> > Postfix, then that can't be fixed by changing Postfix.
>
> Denis Shulyaka:
>> How much memory does smtpd need to receive a message, approximately?
>> Can I tweak this value somehow?
>
> First, you can't run Postfix on a kernel that oopses and sends
> signal 11 when Postfix asks for memory. It should report the
> memory shortage to Postfix instead.
>
> The amount of memory depends on libc, and on what else you linked
> into Postfix: OpenSSL, PCRE, LDAP, and so on quickly add up to the
> memory footprint.
>
> The biggest tweak is reducing default_process_limit by a factor 10
> or more. Other tweaks are reducing qmgr_message_active_limit and
> qmgr_message_recipient_limit by a factor 10 or more.
>
>        Wietse
>

Reply via email to