NEW FEATURES/CHANGES
====================
+Default samba process model
+---------------------------
+
+The default for the --model argument passed to the samba executable has changed
+from 'standard' to 'prefork'. This means a difference in the number of samba
+child processes that are created to handle client connections. The previous
+default would create a separate process for every LDAP or NETLOGON client
+connection. For a network with a lot of persistent client connections, this
+could result in significant memory overhead. Now, with the new default of
+'prefork', the LDAP, NETLOGON, and KDC services will create a fixed number of
+worker processes at startup and share the client connections amongst these
+workers. The number of worker processes can be configured by the 'prefork
+children' setting in the smb.conf (the default is 4).
REMOVED FEATURES
================
for each new client connection.</para></listitem>
<listitem><para><emphasis>prefork</emphasis></para>
- <para>A process is started for each Samba service, and a
- fixed number of worker processes are started for those
+ <para>The default. A process is started for each Samba service,
+ and a fixed number of worker processes are started for those
services that support it (currently LDAP, NETLOGON, and KDC).
The client connections are then shared amongst the worker
processes.
init_module_fn *shared_init;
uint16_t stdin_event_flags;
NTSTATUS status;
- const char *model = "standard";
+ const char *model = "prefork";
int max_runtime = 0;
struct stat st;
enum {