Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1EB717643 for ; Mon, 21 Sep 2015 07:11:59 +0000 (UTC) Received: (qmail 61192 invoked by uid 500); 21 Sep 2015 07:11:59 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 61156 invoked by uid 500); 21 Sep 2015 07:11:59 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Delivered-To: moderator for api@directory.apache.org Received: (qmail 62828 invoked by uid 99); 21 Sep 2015 06:18:06 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.995 X-Spam-Level: *** X-Spam-Status: No, score=3.995 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.006, URIBL_BLOCKED=0.001] autolearn=disabled X-AuditID: 0a141505-f798f6d000004cf8-c6-55ffa0d30bbe From: Mostafa Ahmed Hamed To: "api@directory.apache.org" Subject: Performance issue LDAP API 1.0.0-M31 Thread-Topic: Performance issue LDAP API 1.0.0-M31 Thread-Index: AdD0NY/6HsVHYiPJRru7VNjQKoqm3A== Date: Mon, 21 Sep 2015 06:17:51 +0000 Message-ID: <580218001FAA6C47A849FFAE71CB237F1A944BB7@EG-MBX1.corp.its.ws> Accept-Language: en-MY, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.20.20.24] Content-Type: multipart/related; boundary="_007_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_"; type="multipart/alternative" MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCKsWRmVeSWpSXmKPExsXCxcWTrntlwf9Qg94bnBazbt9gcmD0eLh4 B2MAYxSXTUpqTmZZapG+XQJXxraZC1kLFtxmrOi4eom5gXHuWcYuRk4OCQETid3fd7NB2GIS F+6tB7K5OIQEVjFKTH+1lBnCmc8o0fb6NDNIFZuAgcS1d6vBOkQELCW2HWllBbGFBfQkbl98 zAQRN5bYuqkLytaT6H65B8xmEVCV2HDqM9gcXgEviSd9a8B6GQVkJdb3HwSrYRYQl7j1ZD4T xEUiEg8vnoa6TlTi5eN/rBC2vMStlmawS5kFuhklJu16zAgxVFDi5MwnLBMYhWYhmTULWd0s JHUQRfkSb1/9grJ1JBbs/sQGYWtLLFv4mhnGPnPgMROmuI7ExE1boOoVJeZevMYIsWwJo0Tz 8h9ADRxgRX8WFsDUTOl+yA7TO+HpPVaY+IY9/ewQvUsZJTZu28UEU9Ry/SgLpmZdif9/z8Mt fnP5DSNc84HrN9hgFi+74I6qlwOsd+JGB5jw+g03oUYCte6caAaz9m9bEyuy1gWMMqsYuXIr DPUyS4r1yos3MYLSn4go6w7G9n+uhxgFOBiVeHgTdP6HCrEmlhVX5h5iVAFqfrRh9QVGKZa8 /LxUJRFenVlAad6UxMqq1KL8+KLSnNTiQ4zSHCxK4rwfDpaFCgmkJ5akZqemFqQWwWSZODil Ghh9uP6caw3sCNjupVo80TfH/uljt4UHOa+fmpm/VPpNeBvTlP+TNpRek/hWVxP0s9dNQepF +sG6bxc99WY+frTqwN15f7ma/i8qrr8mPv9A8aKLyay/AneosjTq8fB6u626sSIxZN/mucmh xW2HT2Ub//Zdc6qye3dQ7/dvkd+XHOt90CTy/0WaEktxRqKhFnNRcSIAo2s4mIcDAAA= --_007_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_ Content-Type: multipart/alternative; boundary="_000_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_" --_000_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am using LDAP API 1.0.0-M31 to build a simple java application. My application flow is: - Bind() to ldap using credentials - UnBind() - Close() What I have noticed is that when calling Unbind () or close () CPU usage in= creases and the after some time it become 100% utilized which leads to a ba= d performance I appreciate if you can help ... Mostafa Hamed Senior Software Developer - ETHIX-NET [1] T. + (202) 227 30032/8 ext. 516 M. + (2012) 21410877 E. mostafa.hamed@its.ws [2] "This e-mail may contain confidential, proprietary or legally privileged in= formation. It should not be used by anyone who is not the original intende= d recipient. If you have received this message by mistake, please delete i= t immediately and notify the sender. Before opening any attachments, pleas= e check them for viruses and defects." --_000_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am using LDAP API 1.0.0-M31 to build a simple java= application.

My application flow is:

-     &= nbsp;    Bind() to ldap using crede= ntials

-     &= nbsp;    UnBind()

-     &= nbsp;    Close()

 

What I have noticed is that when calling Unbind () o= r close () CPU usage increases and the after some time it become 100% utili= zed which leads to a bad performance

I appreciate if you can help …

 

 

Mostafa Hamed

Senior Software Developer &#= 8211; ETHIX-NET

 

3D"3"

T.    + (202) 227 30032/8 ext. 516

M.   + (2012) 21410877

E.     mostafa.hamed@its.ws

3D"2"

 

 <= /b>

"This e-mail may contai= n confidential, proprietary or legally privileged information.  It sho= uld not be used by anyone who is not the original intended recipient.  If you have received this message by mistake, please delete it immediately= and notify the sender.  Before opening any attachments, please check = them for viruses and defects."

 

--_000_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_-- --_007_580218001FAA6C47A849FFAE71CB237F1A944BB7EGMBX1corpitsws_--