[PATCH] Re: Plugable passdb (SAM) modules
Stefan (metze) Metzmacher
metze at metzemix.de
Thu Jan 24 00:32:11 GMT 2002
Ok! then it's no problem to take only static builtins.
At 19:19 24.01.2002 +1100, you wrote:
>"Stefan (metze) Metzmacher" wrote:
> > I don't exactly now if I'm right, so correct me if not!
> > If the four builtin passdb modules are linked staticly. They are all loaded
> > to memory if smbd is started. When smbd forks for each client, the code for
> > the 4 modules are loaded in memory for each client.
> > 500 clients = 500 * 4 = 2000 passdb modules are in memory and only 500 are
> > realy used. if shared modules are in use the module is loaded only 1 time
> > in memory!!!
>Incorrect. The whole of smbd's executable image is shared betwen all
>processes running smbd. Furthermore, all data structures that exist at
>fork() time (on linux in particular) only once until they are modified.
>Andrew Bartlett abartlet at pcug.org.au
>Manager, Authentication Subsystems, Samba Team abartlet at samba.org
>Student Network Administrator, Hawker College abartlet at hawkerc.net
>http://samba.org http://build.samba.org http://hawkerc.net
Stefan "metze" Metzmacher <metze at metzemix.de>
More information about the samba-technical