[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8719) slapd_crypt() become slow when many ldap cliant connections occur.



--_003_ae98b5ab2c831747beb16297218b350eysjpneccom_
Content-Type: text/plain; charset="utf-8"
Content-ID: <514C194789057D4F9AD83D779D27265A@gisp.nec.co.jp>
Content-Transfer-Encoding: base64

RGVhciBIb3dhcmQtc2FuLA0KDQoNClRoYW5rcyB0byB5b3VyIGFkdmljZSwgSSBjb3VsZCBjcmVh
dGUgdGhlIGF0dGFjaGVkIHRlbnRhdGl2ZSBwYXRjaGVzLg0KDQpUaGV5IG1vZGlmaWVzIHNlcnZl
cnMvc2xhcGQvcGFzc3dkLmMgYW5kIGNvbmZpZ3VyZS5pbg0Kc28gdGhhdCBydW5uaW5nICIuL2Nv
bmZpZ3VyZSIgY2FuIGNoZWNrIHdoZXRoZXIgb3Igbm90IGNyeXB0X3IoKSBleGlzdHMNCmFuZCB1
c2UgdGhlIGZ1bmN0aW9uIGluIHNsYXBkX2NyeXB0KCkgaWYgcG9zc2libGUuDQoNCkkgYW0gZ29p
bmcgdG8gY2hlY2sgd2hldGhlciBvciBub3QgImNhbGxvYygpL2ZyZWUoKSIgY2F1c2VzIA0KdW5h
Y2NlcHRhYmxl44CAbWVtb3J5IGZyYWdtZW50YXRpb24uDQoNCg0KQmVzdCBSZWdhcmRzLA0KLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpPbiAyMDE3LzA5
LzAxIDIwOjIzLCBZb3NoaW5vcmkgTmlzaGlubyB3cm90ZToNCj4gDQo+IA0KPiBPbiAyMDE3LzA4
LzMwIDIwOjQ2LCBZb3NoaW5vcmkgTmlzaGlubyB3cm90ZToNCj4+IERlYXIgSG93YXJkLXNhbiwN
Cj4+DQo+Pg0KPj4gVGhhbmsgeW91IHNvIG11Y2ggZm9yIHlvdXIgcHJvbXB0IGFkdmljZS4NCj4+
DQo+PiBBcyB5b3UgdG9sZCwgS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uYyBsaWtlIHRoZSBmb2xsb3dpbmcuDQo+Pj4+IEFzIGEgcmVzdWx0
LCBzbGFwZF9jcnlwdCgpIGJlY29tZXMgbXVjaCBmYXN0ZXIgdW5kZXIgdGhlIHNhbWUgDQo+Pj4+
IGNvbmRpdGlvbi4NCj4+Pj4gV291bGQgeW91IGxldCBtZSBrbm93IHdoZXRoZXIgb3Igbm90IHRo
ZSBmaXggaXMgYXBwcm9wcmlhdGUgZm9yIHNsYXBkPw0KPj4+DQo+Pj4gTm8gaXQgaXMgbm90IGFu
IGFwcHJvcHJpYXRlIGZpeC4NCj4+Pg0KPj4+IFlvdSBzaG91bGQgYWRkIGFuIGF1dG9jb25mIHRl
c3QgdG8gY2hlY2sgZm9yIHRoZSBleGlzdGVuY2Ugb2YgdGhlIA0KPj4+IGNyeXB0X3IgZnVuY3Rp
b24sIGFuZCB1c2UgYW4gI2lmZGVmIGhlcmUgYmFzZWQgb24gdGhlIHJlc3VsdCBvZiB0aGF0IA0K
Pj4+IHRlc3QsIHNpbmNlIGNyeXB0X3IgaXMgYSBub24tc3RhbmRhcmQgZnVuY3Rpb24uDQo+Pj4+
DQoNCg0KLS0gDQoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioNCllvc2hpbm9yaSBOaXNoaW5vDQoNCk5FQyBTb2x1dGlvbiBJbm5vdmF0b3JzLCBMdGQuDQox
LTE4LTcgU2hpbmtpYmEsIEtvdG8ta3UsIFRva3lvLCAxMzYtODYyNyBKYXBhbg0KRS1NQUlMOiB5
b3MtbmlzaGlub0B5cy5qcC5uZWMuY29tDQoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioNCg==

--_003_ae98b5ab2c831747beb16297218b350eysjpneccom_
Content-Type: text/plain; name="openldap-slapd_crypt.patch"
Content-Description: openldap-slapd_crypt.patch
Content-Disposition: attachment; filename="openldap-slapd_crypt.patch";
	size=1542; creation-date="Fri, 01 Sep 2017 11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JZUFQgKi8KIAogdm9pZCBzbGFwX3Bhc3N3ZF9pbml0
KCkK

--_003_ae98b5ab2c831747beb16297218b350eysjpneccom_
Content-Type: text/plain; name="openldap-slapd_crypt-configure.patch"
Content-Description: openldap-slapd_crypt-configure.patch
Content-Disposition: attachment;
	filename="openldap-slapd_crypt-configure.patch"; size=756;
	creation-date="Fri, 01 Sep 2017 11:42:36 GMT";
	modification-date="Fri, 01 Sep 2017 11:42:36 GMT"
Content-ID: <4C143CD72661D741AAEA56FC06DE3DE1@gisp.nec.co.jp>
Content-Transfer-Encoding: base64

bW9kaWZ5IGNvbmZpZ3VyZS5pbiBzbyB0aGF0IHNsYXBkX2NyeXB0KCkgdXNlcyBjcnlwdF9yKCku
CgoKZGlmZiAtLWdpdCBhL2NvbmZpZ3VyZS5pbiBiL2NvbmZpZ3VyZS5pbgppbmRleCAzYzE4MTU0
Li5iZDc1M2U1IDEwMDY0NAotLS0gYS9jb25maWd1cmUuaW4KKysrIGIvY29uZmlndXJlLmluCkBA
IC0yMTk3LDEwICsyMTk3LDE2IEBAIGlmIHRlc3QgJG9sX2VuYWJsZV9jcnlwdCAhPSBubyA7IHRo
ZW4KIAkJQUNfQ0hFQ0tfTElCKGNyeXB0LCBjcnlwdCwgW0xVVElMX0xJQlM9IiRMVVRJTF9MSUJT
IC1sY3J5cHQiCiAJCQloYXZlX2NyeXB0PXllc10sIFtoYXZlX2NyeXB0PW5vXSldKQogCisJTElC
Uz0iJFRMU19MSUJTICRMSUJTIgorCUFDX0NIRUNLX0xJQihjcnlwdCwgY3J5cHRfciwgW2hhdmVf
Y3J5cHRfcj15ZXNdLCBbaGF2ZV9jcnlwdF9yPW5vXSkKKwogCUxJQlM9IiRzYXZlX0xJQlMiCiAK
IAlpZiB0ZXN0ICRoYXZlX2NyeXB0ID0geWVzIDsgdGhlbgogCQlBQ19ERUZJTkUoSEFWRV9DUllQ
VCwxLCBbZGVmaW5lIGlmIGNyeXB0KDMpIGlzIGF2YWlsYWJsZV0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