W dniu 18.01.2012 10:29, Simone Ruffilli pisze:
Hello everyone,

whenever I submit to my postfix server a mail having a massive (~15k)
recipient list, it takes forever to accept and start delivering it.

I have similar problem, and I suspect you may also hit it. In my case I send ~10k-20k mails through sendmail wrapper. My problem is caused by fsync done on EVERY queued mail. It take on my servers (4 core AMD @ ext4 @ LVM @ RAID10 @ 8disk) ~ 0.2-0.3s for each one. Sometimes it's even 0.6s! So simple mail queuing for 15k recipients can take 1 hour or more...


I don't know why it take some much time, but it cannot be disabled (fsync) in postfix due to delivery guarantee. However, my mails (those ones) are not very important, and lost some of them is not a problem, so such option will be useful for me. Best in some "recipient|sender_disable_fsync_maps" fashion.


I found only one very ugly workaround, but it is useful only when you accept possibility to lost ALL queued mails. This is creating queue dir in tempfs (ramdisk should also works).


--
   Konrad Rzepecki

Reply via email to