Bug #15389: slow ldap connect
| From: | martin at kouba dot at | Date: | Tue, 05 Feb 2002 17:51:25 +0000 |
| Subject: | Bug #15389: slow ldap connect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-79257@lists.php.net to get a copy of this message | ||
From: martin@kouba.at
Operating system: w2k advanced server
PHP version: 4.1.1
PHP Bug Type: Performance problem
Bug description: slow ldap connect
i tried the ldap functions with php 4.0.6 and now with 4.1.1.
the ldap queries are super fast, but the connect takes 4 to 5 seconds.
first i thought it was the queries but when i removed the queries the
script would still take the same time to execute. the queries would only
take about 1 second to compute.
i already use the ip address of the ldap server for the connect to avoid
dns lookups.
i understand that any connect procedure takes a while but for the user to
wait for 5 seconds is much too long.
is there a way to optimize the connect procedure?
--
Edit bug report at http://bugs.php.net/?id=15389&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15389&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15389&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15389&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15389&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15389&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15389&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15389&r=notenoughinfo