Bug 5105 -- patch?
Gerald (Jerry) Carter
jerry at samba.org
Tue Dec 4 15:32:45 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Volker Lendecke wrote:
> Facing a corrupt tdb with a cyclic freelist or a cyclic hash
> chain this patch turns the endless loop spinning those
> cycles into high CPU load.
Right. That's what I thought. Just with a loop counter on
the max freelist/hashchain size.
>> How likely is your comment, "...but it also might render some valid
>> tdb's as invalid."?
> Well, how likely is a tdb with a million entries in a hash
> chain? With 131 chains as default this would be a tdb with
> more than 10 million entries before it gets likely to have
> such a long chain. Users will have seen a severe performance
> degradation long before that.
Sounds fine to me. Thanks for the tdb lesson.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v18.104.22.168 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical