On 19/08/2015 02:22, Grant wrote:
I'm using courier-imap with roundcube. Browsing email is fast with
just 1 or 2 users but becomes extremely slow with 5 users. How should
I look into improving performance for multiple users?
Sorry for replying to wrong message in the thread - missed the original
one.
From what i remember running courier-imap / maildir / webmail, 2 things
are usually improve performance if slowing down starts with single-digit
users:
1. imap-proxy
2. filesystem of NFS server that can do fast listing of directories
containing thousands of files (we used NetApp filers).
Just my experience though - a lot changed since i'm sure.
I should have mentioned that I'm already using imap-proxy. I'm not
sure what you mean with #2. You're saying I should incorporate an NFS
server on another machine with an optimized filesystem?
Sorry - filesystem OR NFS server - depending on your setup.
If it's a single server - pick the right FS, or SSD cache, etc. - i'm not
really up-to-date.
If it's a cluster with shared storage- both local FS and the way you share
storage (NFS or other tech) need attention.
OK, so fix the IO? :) Anything else to consider in the meantime?
Check if the file change tracking daemon (gamin or fam)
is eating a lot of CPU/memory/IO. I have seen this
virtually kill a courier-imap server with 3-5 users
until I took radical steps to eliminate the problem.
If using the Linux ext2/ext3/ext4 file systems with
maildirs, it may also be important to tune some of
the file system flags with tune2fs and/or when creating
the file system.
P.S.
This is a resend due to accidental submission from
wrong account.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
------------------------------------------------------------------------------
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap