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

Re: openldap client connect limit

--On Tuesday, April 26, 2005 8:45 PM +0800 çåå <luozhijian@huawei.com> wrote:

I using directory mark to test openldap.

when I configure dm to start 20 client,50 thread/client,openldap work
well.  when I configure dm to start 21 client,50 thread/client,some dm
client connect failed.then I found  openldap #define LDAP_MAXTHR 1024 in
tpool.c,then I modify it to 4096 and recompile,but it didn't work.

I suggest investigating a product like slamd. DirectoryMark is old & crufty, and doesn't necessarily give accurate results.

See <http://www.slamd.com>

As for your issue, I think the problem would be in DirectoryMark, not OpenLDAP. OpenLDAP isn't going to care how many clients & threads the directorymark process is running. I'll note that in my testing of directoryMark, you can't really do more than a few threads per processor on a client box if you want to get accurate results.


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin