Re: nss_ldap / top startup

2005-05-09 Thread Oliver Brandmueller
Hi Gavin, sorry, took some time to test it, but we're currently very busy moving services to the new machines. On Wed, Apr 27, 2005 at 08:06:38PM +0100, Gavin Atkinson wrote: > Sorry - even with that patch, I suspect you'll have to either run top with > the -u option, or define RANDOM_PW before

Re: nss_ldap / top startup

2005-04-27 Thread Ryan Rempel
On 4/27/05, Gavin Atkinson <[EMAIL PROTECTED]> wrote: > A while back, there was talk of a FreeBSD libc name cache daemon, but I > can't seem to find any reference to it now (I seem to remember the > website was within .ru, if it helps anyone find it) - though I'm not > sure it would help in this co

Re: nss_ldap / top startup

2005-04-27 Thread Gavin Atkinson
On Wed, 27 Apr 2005, Gavin Atkinson wrote: > On Mon, 2005-04-25 at 12:59 +0200, Oliver Brandmueller wrote: > > The more accounts there are in the LDAP directory, the longer the > > startup of "top" takes. With the current userbase top takes about 3-4 > > seconds to start (on a mostly idle Dual Xeon

Re: nss_ldap / top startup

2005-04-27 Thread Gavin Atkinson
On Mon, 2005-04-25 at 12:59 +0200, Oliver Brandmueller wrote: > Hi, > > I have some servers running running on 5.4-STABLE as of Apr 5th. I use > nss_ldap for a userbase of currently about 24000 accounts (will be > growing to approx 6 in the next weeks). I don't use pam_ldap > currently, bec

Re: nss_ldap / top startup

2005-04-26 Thread Oliver Brandmueller
Hi. On Tue, Apr 26, 2005 at 07:55:37AM +0200, Rink Springer wrote: > > Any ideas, why this is happening? Will I need 10 seconds, when there are > > 6 accounts in LDAP? :-) > > Have you set your indexes correctly? This may result in a huge speedup. > I use (this is only for about 180 accounts

Re: nss_ldap / top startup

2005-04-26 Thread Rink Springer
Hi, > Any ideas, why this is happening? Will I need 10 seconds, when there are > 6 accounts in LDAP? :-) Have you set your indexes correctly? This may result in a huge speedup. I use (this is only for about 180 accounts, but NSS works instantly): # Indices to maintain index object

Re: nss_ldap / top startup

2005-04-25 Thread Oliver Brandmueller
Hello. On Mon, Apr 25, 2005 at 12:00:23PM -0500, Dan Nelson wrote: > You can benchmark top by running "time top -d1", which will print one > page then immediately exit. Well, it makes really no difference, if I call top with -u or not. > > Any ideas, why this is happening? Will I need 10 seconds

Re: nss_ldap / top startup

2005-04-25 Thread Dan Nelson
In the last episode (Apr 25), Oliver Brandmueller said: > I have some servers running running on 5.4-STABLE as of Apr 5th. I > use nss_ldap for a userbase of currently about 24000 accounts (will > be growing to approx 6 in the next weeks). I don't use pam_ldap > currently, because users only ne

nss_ldap / top startup

2005-04-25 Thread Oliver Brandmueller
Hi, I have some servers running running on 5.4-STABLE as of Apr 5th. I use nss_ldap for a userbase of currently about 24000 accounts (will be growing to approx 6 in the next weeks). I don't use pam_ldap currently, because users only need to login by IMAP, POP, SMTP and FTP, for all of thes