Sequence number obsession
Gerald (Jerry) Carter
jerry at samba.org
Tue Jun 3 14:00:34 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 21 May 2003, Ken Cross wrote:
> Yep, agreed on all points. The problem, though, was the frequency of
> updating the sequence number (>20 times/sec was not uncommon).
>
> My patch just suppressed more than one check per second. Not elegant,
> but it sure cut down the noise when doing network traces. :-)
This is actually a scalability problem I've found now.
I've gone even futher on this.
*) winbind cache time now defaults to 5 minutes
*) we no longer force an update of the sequence
number when we have to query the DC
*) we store the sequence number and timestamp in
the cache tdb so that it can be shared between
the parent and child winbindd process (in case of
running in dual mode)
Give it a try and see what you think. I'm checking it into SAMBA_3_0
cvs as soon as the compile finishes.
cheers, jerry
----------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
"You can never go home again, Oatman, but I guess you can shop there."
--John Cusack - "Grosse Point Blank" (1997)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+3KoCIR7qMdg1EfYRAvf8AJ9kwScjCysTV+e/rRE6gL7UDJKwxgCfUB2Y
HOQW1abtrG3HiGniRgu6g24=
=2LYZ
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list