On Wed, 11 Jul 2001, John P. Looney wrote:
> I had it set up & indexed sometime last year - and an ls -l on /home on
> an NFS client was *really* slow. As in, 0.4 sec per directory name. That
> showed me that I really didn't need it.
do you have the code to time it? i'll try it at home. it is slower,
> Has nss_ldap got any better ? Is it possible to cache such information,
> for instance ?
nscd. run that, and the first ls will be slow. thereafter it will be
just as fast as local passwd.
however nscd doesn't always gracefully handle the LDAP server being
unavailable. usually it does, but on the odd occasion it needs to be
restarted if LDAP was restarted.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!