Well, I found it! If I pass change `fsspace(".", &fsbuf);' to `fsspace("/", &fsbuf);' it works, no oopses, and the messages are received without problems. I will make some stress tests later.
So the remaining question is what "." in smtpd context mean? Is it the dir postfix has been started from? 2011/3/5 Denis Shulyaka <shuly...@gmail.com>: > 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