Hi to all. how to calculate the expected number of imap processes? how many imap processes must be used for each user? i have 6-7 connection for each one user is it normal behavior? thx.
Am 12.12.2012 20:13, schrieb ??????? ????????:> i have 6-7 connection for each one user > is it normal behavior?per folder one connection -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20121212/a810c472/attachment-0004.bin>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 12 Dec 2012, Reindl Harald wrote:> Am 12.12.2012 20:13, schrieb ??????? ????????: >> i have 6-7 connection for each one user >> is it normal behavior? > > per folder one connectionTo phrase it differently: The user's MUA has a built-in limit (or not) how many connection it opens to the IMAP server simultaneously. Dunno about recent changes in IMAP, but for each watched folder to get the "New Message" indicator you used to need one connection (IDLE); plus one connection you work with activly. However, Dovecot can limit the connections: # Maximum number of IMAP connections allowed for a user from each IP address. # NOTE: The username is compared case-sensitively. #mail_max_userip_connections = 10 Regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUMmSwGoxLS8a3A9mAQJ4oAf9HqwKRfk4++eEbJapVFixTSEcFt3nJrfG 5Yr8YRtuudqot0v5yblDnSu2JL78L+s4yIFOZqT2Ten7xfDXENYVpFOrG0HKJv8K ym5XUnP5EWSJ135Z+Tw6db6XYeiz3oHax9qcb2W/V/VLqzzCaThahRFooqLvquiF RB74lxVWiGc5JKm6oKOC7L7lOLRS4wkraJwW54jGKQ/g9/MV9FqwoNB62Z6A1VNL cXGOdQIfhy52TS9EwdMNy7CcA5RcGC96faoM9AagFXOq/5bQJ9A7XnYFtUHLC66/ MJGtEO4B9z0vkTkI1NYcGOvPWta+E9T1z4ej3R7oji0P0MxCTQFWng==qiGI -----END PGP SIGNATURE-----
<klimenko.n at theitidea.ru> writes:> how to calculate the expected number of imap processes?Set your mail_max_userip_connections to a large value (~20) and run "doveadm who" periodically to look at your user's actual connection counts.> how many imap processes must be used for each user? > i have 6-7 connection for each one user > is it normal behavior?It's typical. Some popular mail readers open about 5, some more, some less. I set my mail_max_userip_connections at 12 even though there are some users who regularly bump up against this. They don't seem to notice -- dovecot probably bumps off the least recently used connection and their mail reader reconnects if it needs to open that mailbox again. Joseph Tam <jtam.home at gmail.com>