Re: dovecot config for 1500 simultaneous connection

2017-02-14 Thread Christian Balzer
On Wed, 15 Feb 2017 08:43:23 +0530 Rajesh M wrote: > christian > > the servers i currently own are dell servers. The servers i plan to buy are > Dell R530, 2U rack servers with 8 x 3.5 inch drives, with 64 gb ram each, > Hardware raid. I am thinking of 2 X 300 gb ssds raid1 and 6 x 2 tb

Re: dovecot config for 1500 simultaneous connection

2017-02-14 Thread Rajesh M
christian the servers i currently own are dell servers. The servers i plan to buy are Dell R530, 2U rack servers with 8 x 3.5 inch drives, with 64 gb ram each, Hardware raid. I am thinking of 2 X 300 gb ssds raid1 and 6 x 2 tb drives in raid10 for data. I do not have any experience in setting

Re: dovecot config for 1500 simultaneous connection

2017-02-14 Thread Joseph Tam
On Tue, 14 Feb 2017, KT Walrus wrote: Another related security situation I've encountered is when a fraudster has phished a user's password. A user/admin changes the password, but forgets to invalidate dovecot's cached entry, allowing the fraudster contunuing access to the mail account until

Re: dovecot config for 1500 simultaneous connection

2017-02-14 Thread KT Walrus
> On Feb 14, 2017, at 5:50 PM, Joseph Tam wrote: > > Another related security situation I've encountered is when a fraudster > has phished a user's password. A user/admin changes the password, > but forgets to invalidate dovecot's cached entry, allowing the fraudster >

Re: dovecot config for 1500 simultaneous connection

2017-02-14 Thread Joseph Tam
Rajesh M wrote: i wish to improve the performance further by caching the logins. current the same is kept disable because when user's change passwords then they are not able to immediately login with the new password for some time. How to solve this issue. Dovecot shouldn't be doing that.

Re: dovecot config for 1500 simultaneous connection

2017-02-13 Thread Christian Balzer
Hello, On Mon, 13 Feb 2017 22:53:23 +0530 Rajesh M wrote: > thanks for your help > > happy to say that the performance dramatically improved after i use the high > performance settings from here > http://wiki.dovecot.org/LoginProcess > That's why that page is there. > grep Login:

Re: dovecot config for 1500 simultaneous connection

2017-02-13 Thread Rajesh M
thanks for your help happy to say that the performance dramatically improved after i use the high performance settings from here http://wiki.dovecot.org/LoginProcess grep Login: /var/log/mail.log.1 |wc -l with the mail.log being of a typical, busy day. 412992 i also picked up the imap and pop3

Re: dovecot config for 1500 simultaneous connection

2017-02-12 Thread Christian Balzer
Hello, On Sun, 12 Feb 2017 08:27:21 -0500 KT Walrus wrote: > Thanks for the info. I do have one further question for you. On your servers > that are currently handling 50k IMAP sessions, how many users does that > correspond to? Since many users will have multiple IMAP sessions on multiple >

Re: dovecot config for 1500 simultaneous connection

2017-02-12 Thread KT Walrus
Thanks for the info. I do have one further question for you. On your servers that are currently handling 50k IMAP sessions, how many users does that correspond to? Since many users will have multiple IMAP sessions on multiple devices, I’d like to hear about some real-world numbers that could be

Re: dovecot config for 1500 simultaneous connection

2017-02-11 Thread Christian Balzer
Hello, On Fri, 10 Feb 2017 14:50:03 -0500 KT Walrus wrote: > > 1. 256GB of real RAM, swap is for chums. > > Are you sure that 100,000 IMAP sessions wouldn’t work well with SWAP, > especially with fast SSD storage (which is a lot cheaper than RAM)? > I'm sure about tax and death, not much

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
On Fri, 10 Feb 2017 14:59:51 -0800 (PST) Joseph Tam wrote: > "Rajesh M" <24x7ser...@24x7server.net> writes: > > > during peak times here are the results for connections > > > > [root@ns1 domains]# doveadm who |grep imap |wc -l > > username# proto (pids)

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
Hello, On Fri, 10 Feb 2017 21:59:49 +0530 Rajesh M wrote: You replied below my signature, making a normal reply/quotation impossible for decent mail clients, which is worse than top-quoting. Please reply in-line or at the top if must be. > thanks christian > > during peak times here are the

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Joseph Tam
"Rajesh M" <24x7ser...@24x7server.net> writes: during peak times here are the results for connections [root@ns1 domains]# doveadm who |grep imap |wc -l username# proto (pids) (ips) 631 [root@ns1 domains]# doveadm who |grep pop3 |wc -l username

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread KT Walrus
> 1. 256GB of real RAM, swap is for chums. Are you sure that 100,000 IMAP sessions wouldn’t work well with SWAP, especially with fast SSD storage (which is a lot cheaper than RAM)? Seems that these IMAP processes are long lived processes (idling most of the time) that don’t need that much of

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Rajesh M
- Original Message - From: Christian Balzer [mailto:ch...@gol.com] To: dovecot@dovecot.org Cc: 24x7ser...@24x7server.net Sent: Fri, 10 Feb 2017 17:58:58 +0900 Subject: On Fri, 10 Feb 2017 01:13:20 +0530 Rajesh M wrote: > hello > > could somebody with experience let me know the dovecot

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
On Fri, 10 Feb 2017 07:59:52 -0500 KT Walrus wrote: > > 1500 IMAP sessions will eat up about 3GB alone. > > Are you saying that Dovecot needs 2MB of physical memory per IMAP session? > That depends on the IMAP session, read the mailbox size and index size, etc. Some are significantly larger:

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread KT Walrus
> 1500 IMAP sessions will eat up about 3GB alone. Are you saying that Dovecot needs 2MB of physical memory per IMAP session? If I want to support a max 100,000 IMAP sessions per server, I should configure the server to have at least 200GBs of SWAP? > On Feb 10, 2017, at 3:58 AM, Christian

Re: dovecot config for 1500 simultaneous connection

2017-02-10 Thread Christian Balzer
On Fri, 10 Feb 2017 01:13:20 +0530 Rajesh M wrote: > hello > > could somebody with experience let me know the dovecot config file settings > to handle around 1500 simultaneous connections over pop3 and 1500 connection > over imap simultaneously. > Be very precise here, you expect to see 1500