--Apple-Mail=_3D3960C0-53C8-4BFF-B123-1BF2E0BD026A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
Ok, I found where it's slow, it's a ldapsearch on our AD:
time ldapsearch -a never -E pr=3D100/noprompt -H ldap://ad1 -b DC=3D... =
-s sub =
'(&(groupType:1.2.840.113556.1.4.803:=3D2147483648)(&(objectCategory=3Dgro=
up)(member:1.2.840.113556.1.4.1941:=3Duserdn)))' objectGUID name =
description
# numResponses: 70
# numEntries: 66
# numReferences: 3
real 0m10.801s
user 0m0.007s
sys 0m0.012s
That matches the log line:
2017-05-12 14:22:17,413+02 DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-2) [] =
Performing SearchRequest 'SearchRequest(baseDN=3D'...', scope=3DSUB, =
deref=3DNEVER, sizeLimit=3D0, timeLimit=3D0, =
filter=3D'&(objectCategory=3Dgroup)(groupType:1.2.840.113556.1.4.803:=3D21=
47483648)(member:1.2.840.113556.1.4.1941:=3D...)', attrs=3D{objectGUID, =
name, description}, controls=3D{SimplePagedResultsControl(pageSize=3D100, =
isCritical=3Dfalse)})' request on server '...'
2017-05-12 14:22:24,456+02 DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-1) [] =
SearchResult: SearchResult(resultCode=3D0 (success), messageID=3D3, =
entriesReturned=3D66, referencesReturned=3D0, =
responseControls=3D{SimplePagedResultsControl(pageSize=3D0, =
isCritical=3Dfalse)})
And without 1.2.840.113556.1.4.1941
# numResponses: 54
# numEntries: 50
# numReferences: 3
real 0m0.051s
user 0m0.008s
sys 0m0.007s
So it's an AD problem. 1.2.840.113556.1.4.1941 make it slow, but without =
it, the result is not the same. But I don't know if it's an AD or ovirt =
problem. I'll keep investigating.
Thank's for your help.=
--Apple-Mail=_3D3960C0-53C8-4BFF-B123-1BF2E0BD026A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Ok, I found where it's slow, it's a ldapsearch on our
AD:<div =
class=3D""><br class=3D""></div><div
class=3D""><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures" =
class=3D"">time ldapsearch -a never -E pr=3D100/noprompt -H <a =
href=3D"ldap://ad1" class=3D"">ldap://ad1</a> -b DC=3D... -s
sub =
'(&(groupType:1.2.840.113556.1.4.803:=3D2147483648)(&(objectCatego=
ry=3Dgroup)(member:1.2.840.113556.1.4.1941:=3Duserdn)))' objectGUID name =
description</span></div><br class=3D""></div><div
class=3D""><div =
style=3D"margin: 0px; line-height: normal;" class=3D""><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numResponses:
70</span></div><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numEntries:
66</span></div><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numReferences:
3</span></div><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal; min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div
style=3D"font-family: Menlo; =
font-size: 11px; margin: 0px; line-height: normal;" class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">real<span=
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m10.801s</span></div><div style=3D"font-family: Menlo;
=
font-size: 11px; margin: 0px; line-height: normal;" class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">user<span=
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m0.007s</span></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">sys<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m0.012s</span></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><br =
class=3D""></span></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">That =
matches the log line:</span></div><div style=3D"margin: 0px; =
line-height: normal;" class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures;" class=3D""><div style=3D"margin: 0px;
line-height: =
normal;" class=3D""><font face=3D"Menlo"
class=3D""><span =
style=3D"font-size: 11px;" class=3D"">2017-05-12 14:22:17,413+02
DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-2) [] =
Performing SearchRequest 'SearchRequest(baseDN=3D'...', scope=3DSUB, =
deref=3DNEVER, sizeLimit=3D0, timeLimit=3D0, =
filter=3D'&(objectCategory=3Dgroup)(groupType:1.2.840.113556.1.4.803:=3D=
2147483648)(member:1.2.840.113556.1.4.1941:=3D...)', attrs=3D{objectGUID, =
name, description}, con</span></font><span style=3D"font-size: 11px;
=
font-family: Menlo;" =
class=3D"">trols=3D{SimplePagedResultsControl(pageSize=3D100, =
isCritical=3Dfalse)})' request on server =
'...'</span></div></span></div><div
style=3D"margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures; font-size: 11px;" class=3D""><font
face=3D"Menlo" =
class=3D""><div style=3D"margin: 0px; line-height: normal;" =
class=3D"">2017-05-12 14:22:24,456+02 DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-1) [] =
SearchResult: SearchResult(resultCode=3D0 (success), messageID=3D3, =
entriesReturned=3D66, referencesReturned=3D0, =
responseControls=3D{SimplePagedResultsControl(pageSize=3D0, =
isCritical=3Dfalse)})</div></font></span></div><div
style=3D"font-family: =
Menlo; font-size: 11px;" class=3D""><span
style=3D"font-variant-ligatures:=
no-common-ligatures" class=3D""><br
class=3D""></span></div><div =
style=3D"font-family: Menlo; font-size: 11px;" class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><br =
class=3D""></span></div><div style=3D"font-family: Menlo;
font-size: =
11px;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">And =
without </span>1.2.840.113556.1.4.1941</div><div =
style=3D"font-family: Menlo; font-size: 11px;" class=3D""><br =
class=3D""></div><div style=3D"font-family: Menlo; font-size:
11px;" =
class=3D""><div style=3D"margin: 0px; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures" =
class=3D""># numResponses: 54</span></div><div
style=3D"margin: 0px; =
line-height: normal;" class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numEntries:
50</span></div><div =
style=3D"margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">#
=
numReferences: 3</span></div><div style=3D"margin: 0px; line-height:
=
normal; min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div
style=3D"margin: 0px; =
line-height: normal;" class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">real<span
class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>0m0.051s</span></div><div
=
style=3D"margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">user<span=
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m0.008s</span></div><div style=3D"margin: 0px;
line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">sys<span
class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>0m0.007s</span></div><div
=
style=3D"margin: 0px; line-height: normal;" class=3D""><br =
class=3D""></div></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D"">So it's an AD =
problem. 1.2.840.113556.1.4.1941 make it slow, but without it, the =
result is not the same. But I don't know if it's an AD or ovirt problem. =
I'll keep investigating.</div><div style=3D"font-family: Menlo; =
font-size: 11px; margin: 0px; line-height: normal;" class=3D""><br =
class=3D""></div><div style=3D"font-family: Menlo; font-size:
11px; =
margin: 0px; line-height: normal;" class=3D"">Thank's for your =
help.</div></div></div></body></html>=
--Apple-Mail=_3D3960C0-53C8-4BFF-B123-1BF2E0BD026A--