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

Re: Slow perfomance...



At 01:32 PM 2/4/2003 +0000, Andrew Findlay wrote:
>On Tue, Feb 04, 2003 at 08:08:59PM +0000, Beast wrote:
>
>> I've setup new openldap server (2.1.12) on machine A, when i do "ldapsearch
>> -x '(uid=beast)'" on server, it gives very fast result (<1 sec). 
>> But when i do same command on client machine(machine B) it take arround
>> 30-60 seconds to give the output.
>> Both machine are resolvable using fqdn or ip address.
>> 
>> What could be the problem? 
>
>Almost certain to be DNS-related. I suspect that the server is timing
>out while trying to look up the IP address of the client machine. You
>can test this with DiG:
>
>	dig -x <ip address of client>
>

This pc is in internal LAN using internal dns, so it already setup for
reverse-ip also.
However after double checking ldap.conf, it point to hostname only, not
fqdn. changing to fqdn solve the problem.
Tks.