Discussion:
Prefork or not prefork
Albert Shih
2018-06-25 12:39:17 UTC
Permalink
Hi everyone,

I would like to know when that's become usefull to use prefork (for imap)
and how much you set the prefork (vs nb of users).

Regards

JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: ***@obspm.fr
Heure local/Local time:
Mon Jun 25 14:38:33 CEST 2018
Eric Luyten
2018-06-25 12:45:15 UTC
Permalink
Post by Albert Shih
Hi everyone,
I would like to know when that's become usefull to use prefork (for imap)
and how much you set the prefork (vs nb of users).
We have  prefork=0  set on all Cyrus services for many years now.



Eric.
Bron Gondwana
2018-06-25 23:30:58 UTC
Permalink
We have a handful with "prefork=1 maxchild=1" (one for each service
type) listening on separate ports that can be connected for debugging.
The advantage here being that the process is already waiting for you to
connect a debugger before using it.
But yeah, otherwise we have prefork=0 at FastMail too. Fork is pretty
fast compared to everything else in an IMAP session.
Bron.
Post by Albert Shih
Hi everyone,
I would like to know when that's become usefull to use prefork
(for imap)>> and how much you set the prefork (vs nb of users).
We have prefork=0 set on all Cyrus services for many years now.
Eric.
----
Cyrus Home Page: http://www.cyrusimap.org/
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Bron Gondwana, CEO, FastMail Pty Ltd
***@fastmailteam.com

Loading...