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