Mandi! Andrew Bartlett via samba In chel di` si favelave...> > I'm still on samba4.5, sorry me. > Fix that first.Eh... i hope on this year.> > I've done some (bash) scripting around ldbsearch, but i've found some > > performance and 'lock' trouble. > Correct, Samba before 4.7 has very poor unindexed search performance, > due to a bug.OK.> > 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? > Correct, this would just increase the load.But accessing LDAP data via network (eg, from a DM to a DC), the use of '--paged' will gain some performance increase?> > 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? > I would need more information on that. Fixing the server to run a > current Samba would likely fix that.AFAI've understood, ldbsearch processes stalled sometimes when i'm doing 'primary' DC (ok, Rowland, the DC with FSMO roles ;-) backup with Louis script. I do the backup only on the DC with FSMO roles, and only the DM that 'hit' that DC seems have ldbsearch processes stalled. 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)
On Wed, 29 Aug 2018 10:39:20 +0200 Marco Gaiarin via samba <samba at lists.samba.org> wrote:> Mandi! Andrew Bartlett via samba > In chel di` si favelave... > > > > I'm still on samba4.5, sorry me. > > Fix that first. > > Eh... i hope on this year.From that, it looks like you mean later this year, I would update as soon as 4.9.0 comes out.> > > > > I've done some (bash) scripting around ldbsearch, but i've found > > > some performance and 'lock' trouble. > > Correct, Samba before 4.7 has very poor unindexed search > > performance, due to a bug. > > OK. > > > > 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? > > Correct, this would just increase the load. > > But accessing LDAP data via network (eg, from a DM to a DC), the use > of '--paged' will gain some performance increase? >No> > > > 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? > > I would need more information on that. Fixing the server to run a > > current Samba would likely fix that. > > AFAI've understood, ldbsearch processes stalled sometimes when i'm > doing 'primary' DC (ok, Rowland, the DC with FSMO roles ;-) backup > with Louis script.I think you mean the DC with the PDC emulator role ;-)> > I do the backup only on the DC with FSMO roles, and only the DM that > 'hit' that DC seems have ldbsearch processes stalled.When 4.9.0 comes out, you will be able to use the new samba-tool backup command and equally importantly, the restore command. Rowland
Mandi! Rowland Penny via samba In chel di` si favelave...> > But accessing LDAP data via network (eg, from a DM to a DC), the use > > of '--paged' will gain some performance increase? > NoOK. 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)
Possibly Parallel Threads
- ldbsearch performance and tuning...
- ldbsearch performance and tuning...
- samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
- samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
- samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)