[Samba] ldbsearch performance and tuning...

Marco Gaiarin gaio at sv.lnf.it
Tue Aug 28 16:28:31 UTC 2018


I'm still on samba4.5, sorry me.


I've done some (bash) scripting around ldbsearch, but i've found some
performance and 'lock' trouble.

a) query seems 'slow'. If i user paged result (--paged) coud achive
 better performance? It is a 'network' optimization only, right? eg:

	ldbsearch --paged -H /var/lib/samba/private/sam.ldb ...

 is totally unuseful, right?


b) in a domain member (so, network queries) i've found some 'ldbsearch'
 processes stalled. I was forced to kill them.
There's some way to prevent that? Eg, via '--socket-options=' or
'--controls=' options?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list