On Aug 12, 2015, at 11:04 AM, Andrzej A. Filip <andrzej.filip at gmail.com> wrote:> ><..snip..>> Could you provide the following info: > a) mailbox type (maildir/mbox/dbox/...)maildir> [mail_location in dovecot's config]/srv/mail/<domain>/<user-mailbox>/> b) file system type (ext2/ext3/ext4/fat32/...) > [provided by "df -T" command on my system]As I said ext4. Since I posted I've changed a couple of things: ulimit -n 8192, and disabled fsync as in mail_fsync = never. I'm not sure if I'll put it back in the LMTP section or not. Given all the hardware abstraction layers. -Chad
On Aug 12, 2015, at 11:25 AM, Chad M Stewart <cms at balius.com> wrote:><..snip..>> Since I posted I've changed a couple of things: ulimit -n 8192, and disabled fsync as in mail_fsync = never. I'm not sure if I'll put it back in the LMTP section or not. Given all the hardware abstraction layers.I forgot to mention that on a clean start of dovecot (after making those changes), I counted 25 msgs delivered to this single mailbox (all INBOX) in a second. Then it slowed down. Maybe the answer is less LMTP connections and increase the number of messages per connection. I have Postfix configured to do outbound connection caching and I've seen entries in the logs indicating 30 messages on a given connection. I'll have to look into how to limit dovecot to a certain number of LMTP processes. -Chad
Chad M Stewart <cms at balius.com> wrote:> On Aug 12, 2015, at 11:04 AM, Andrzej A. Filip <andrzej.filip at gmail.com> wrote: >> >> > > <..snip..> > >> Could you provide the following info: >> a) mailbox type (maildir/mbox/dbox/...) > > maildir > >> [mail_location in dovecot's config] > > /srv/mail/<domain>/<user-mailbox>/ > >> b) file system type (ext2/ext3/ext4/fat32/...) >> [provided by "df -T" command on my system] > > As I said ext4. > > Since I posted I've changed a couple of things: ulimit -n 8192, and > disabled fsync as in mail_fsync = never. I'm not sure if I'll put it > back in the LMTP section or not. Given all the hardware abstraction > layers.Are docecot and postfix located on the same server? Can postfix access (deliver) directly maildir file directory dovecot uses? -- A. Filip
On Aug 14, 2015, at 1:01 PM, Andrzej A. Filip <andrzej.filip at gmail.com> wrote:> > > Are docecot and postfix located on the same server? > Can postfix access (deliver) directly maildir file directory dovecot uses? >For the moment yes they are on the same server. I designed it to be modular, the various components can be placed on different systems with no configuration changes required, should it be necessary. I'll note that Postfix does not appear to have any problems writing the files to its queue as fast as they are being delivered to it. Postfix and Dovecot are writing to different disks, though both are on the SAN, and both have noatime set. -Chad