Jacek Grabowski via Postfix-users: > Is there any option to set up how long the smtpd process will exist ? > I noticed that after the connection ends, the smtpd process still exists > for several dozen seconds. Can this time be shortened to a few seconds? > Thank you.
Wietse: > That would bad for performance. What problem are you trying to solve? Jacek Grabowski: > Actually i don't have any problem, just pure curiosity :) > Maybe in case of very small smtp traffic I would like to try not to waste > memory usage to make it available for other processes. There are two ways: a) terminate every process after every request, and b) reuse processes to avoid the overhead for precess creation and process initialization (a 'working set' model that keeps recently-used processes ready for more requests). Postfix is optimized for the second model; it is architected as a collection of cooperating services. Between accepting and delivering mil, Postfix uses about five different non-persistent processes, and two persistent master and scheduler processes. Starting up and tearing down each non-persistent process for each request would be slow (though not as slow as in the old days of rotating disks and tiny OS buffer caches). Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org