[Samba] [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?

Andrew Bartlett abartlet at samba.org
Wed Apr 5 04:40:27 UTC 2017


On Thu, 2017-03-23 at 11:12 +0100, Gaetan SLONGO via samba wrote:
> Dear users, 
> 
> We are facing to a big latency issue regarding the LDAP Server (both
> encrypted & plain). 
> 
> We have a Zarafa mail server which makes a lot of queries and puts a
> samba process to 100% usage. This latency makes the mail server
> unusable.. The mail server was previously on OpenLDAP and there was
> not performance issues. 
> 
> A simple LDAP query can take up to 25 sec to perform !! 

Can you or others who use this please give the attached patch (on git
master) a try?

We fix a major locking issue that makes our searches slow, and provide
multi-process support.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap-multi-process.patch
Type: text/x-patch
Size: 80776 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20170405/938c5550/ldap-multi-process-0001.bin>


More information about the samba mailing list