Angel L. Mateo
2012-Jun-08 10:24 UTC
[Dovecot] difference between client_limit and process_limit
Hi, What is the real difference between client and process limit? According to documentation (http://wiki2.dovecot.org/Services#Service_limits): client_limit: Maximum number of simultaneous client connections. If set to 0, default_client_limit is used instead. process_limit: Maximum number of processes that can exist for this service. If set to 0, default_process_limit is used instead. But what does "client connection" exactly means? Is a user (login)? Is a user opens a few TCP connections (as many clients do) are they count as different connections? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337
Angel L. Mateo
2012-Jun-08 11:12 UTC
[Dovecot] difference between client_limit and process_limit
El 08/06/12 12:24, Angel L. Mateo escribi?:> Hi, > > What is the real difference between client and process limit? According > to documentation (http://wiki2.dovecot.org/Services#Service_limits): > > client_limit: Maximum number of simultaneous client connections. If set > to 0, default_client_limit is used instead. > process_limit: Maximum number of processes that can exist for this > service. If set to 0, default_process_limit is used instead. > > But what does "client connection" exactly means? Is a user (login)? Is a > user opens a few TCP connections (as many clients do) are they count as > different connections? >Sorry, it's friday, my mind is on the weekend :-( I understand that client_limit is how many connections (imap connections, for example) could be handle by one dovecot process, so if I have client_limit=2 and process_limit=1024, then I could 2048 concurrent connections, right? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337
Angel L. Mateo
2012-Jun-14 11:32 UTC
[Dovecot] difference between client_limit and process_limit
El 13/06/12 14:39, Timo Sirainen escribi?:> On Wed, 2012-06-13 at 15:28 +0300, Timo Sirainen wrote: >> Oh, right, service_count=1 is the default and that overrides >> client_limit. Set it to 0. > > http://hg.dovecot.org/dovecot-2.1/rev/4c31e450a867 >Thank you. This solved my problem.