You are viewing a plain text version of this content. The canonical link for it is here.
Posted to api@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2015/09/21 09:25:02 UTC
Re: Performance issue LDAP API 1.0.0-M31
Le 21/09/15 08:17, Mostafa Ahmed Hamed a écrit :
> 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 increases and the after some time it become 100% utilized which leads to a bad performance
> I appreciate if you can help ...
Can you design a very minimal program that proves your point ? Something
that do loop over a bind/unbind/close would help.
Alos provide the Java version you are using, the LDAP API version you
are using and the server you are connecting to (and its versin).
A useful information would also be a thread dump captured when your
application is eating 100%CPU.
Thanks for the report !
RE: Performance issue LDAP API 1.0.0-M31
Posted by Mostafa Ahmed Hamed <Mo...@its.ws>.
DIRAPI-249 , have been created
I appreciate your help.
Mostafa Hamed
Senior Software Developer – ETHIX-NET
T. + (202) 227 30032/8 ext. 516
M. + (2012) 21410877
E. mostafa.hamed@its.ws
"This e-mail may contain confidential, proprietary or legally privileged information. It should 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."
-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com]
Sent: Monday, September 21, 2015 2:46 PM
To: api@directory.apache.org
Subject: Re: Performance issue LDAP API 1.0.0-M31
Le 21/09/15 14:22, Mostafa Ahmed Hamed a écrit :
> I have attached code sample and dump file in the following link "use IE to download":
> https://ftp.its.ws:443/download?domain=Banking&id=ee4ed972dc0bc2cc91e83d50a06f3
I don't have IE :/
Re: Performance issue LDAP API 1.0.0-M31
Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 21/09/15 14:22, Mostafa Ahmed Hamed a écrit :
> I have attached code sample and dump file in the following link "use IE to download":
> https://ftp.its.ws:443/download?domain=Banking&id=ee4ed972dc0bc2cc91e83d50a06f3
I don't have IE :/
RE: Performance issue LDAP API 1.0.0-M31
Posted by Mostafa Ahmed Hamed <Mo...@its.ws>.
I have attached code sample and dump file in the following link "use IE to download":
https://ftp.its.ws:443/download?domain=Banking&id=ee4ed972dc0bc2cc91e83d50a06f3
Mostafa Hamed
Senior Software Developer – ETHIX-NET
T. + (202) 227 30032/8 ext. 516
M. + (2012) 21410877
E. mostafa.hamed@its.ws
"This e-mail may contain confidential, proprietary or legally privileged information. It should 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."
-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com]
Sent: Monday, September 21, 2015 1:04 PM
To: api@directory.apache.org
Subject: Re: Performance issue LDAP API 1.0.0-M31
Le 21/09/15 11:42, Mostafa Ahmed Hamed a écrit :
> Hi,
>
> I appreciate your fast response.
>
> I have attached file contains a code sample.
> - java version : jrockit_160_05
> -ldap api version: LDAP API 1.0.0-M31
> -server version : windows server 2008 r2 active directory
>
> -dump file location "open with internet explorer" : https://ftp.its.ws/download?domain=Banking&id=b595b768623c18227d9146ef1632c93
This is not what I would expect. A thread dump is produced using
|CTRL+Break, and it produces a text file.
|
|Btw, the code sample attachement didn't make it. The best would be to
add the code to a JIRA.|
Re: Performance issue LDAP API 1.0.0-M31
Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 21/09/15 11:42, Mostafa Ahmed Hamed a écrit :
> Hi,
>
> I appreciate your fast response.
>
> I have attached file contains a code sample.
> - java version : jrockit_160_05
> -ldap api version: LDAP API 1.0.0-M31
> -server version : windows server 2008 r2 active directory
>
> -dump file location "open with internet explorer" : https://ftp.its.ws/download?domain=Banking&id=b595b768623c18227d9146ef1632c93
This is not what I would expect. A thread dump is produced using
|CTRL+Break, and it produces a text file.
|
|Btw, the code sample attachement didn't make it. The best would be to
add the code to a JIRA.|
RE: Performance issue LDAP API 1.0.0-M31
Posted by Mostafa Ahmed Hamed <Mo...@its.ws>.
Hi,
I appreciate your fast response.
I have attached file contains a code sample.
- java version : jrockit_160_05
-ldap api version: LDAP API 1.0.0-M31
-server version : windows server 2008 r2 active directory
-dump file location "open with internet explorer" : https://ftp.its.ws/download?domain=Banking&id=b595b768623c18227d9146ef1632c93
Mostafa.
-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com]
Sent: Monday, September 21, 2015 9:25 AM
To: api@directory.apache.org
Subject: Re: Performance issue LDAP API 1.0.0-M31
Le 21/09/15 08:17, Mostafa Ahmed Hamed a écrit :
> 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 increases and the after some time it become 100% utilized which leads to a bad performance I appreciate if you can help ...
Can you design a very minimal program that proves your point ? Something that do loop over a bind/unbind/close would help.
Alos provide the Java version you are using, the LDAP API version you are using and the server you are connecting to (and its versin).
A useful information would also be a thread dump captured when your application is eating 100%CPU.
Thanks for the report !