[Samba] High cpu load on LDAP

Jennifer Sutton jsutton at samba.org
Mon Feb 24 21:57:07 UTC 2025


On 19/02/25 11:46 am, Douglas Bagnall via samba wrote:
> On 17/02/25 21:08, Heinz Hölzl via samba wrote:
>> hi,
>>
>> For the moment, it looks like the problem has been solved.
>>
>> I am now using LMDB back end and it is much more performant.
> 
> That is good to hear, and interesting. I would have expected it to make 
> some difference but not completely fix the problem (given that Samba is 
> necessarily slow outside the key/value layer).
>> P.s. LMDB does not work with btrfs as underlying filesystem.
>>
>> Perhaps this could be noted in the documentation?
>> https://wiki.samba.org/index.php/Using_the_lmdb_database_backend
> 
> My understanding is this was fixed upstream in the Linux kernel 
> somewhere around commit b73a6fd1b1efd799c6e3d14a922887f4453fea17 (~ 
> March 2023). I might be wrong, and I have no clue whether or when this 
> will end up in stable/distro kernels.
> 
> I have CC'd Andreas who chased this down with https:// 
> bugzilla.redhat.com/show_bug.cgi?id=2169947.
> 
> Douglas
> 
> 

Oh, did that get fixed in the end? The upstream bug 
(https://bugzilla.kernel.org/show_bug.cgi?id=217042) is still open.

Cheers,
Jennifer (she/her)



More information about the samba mailing list