Yes... And verify that :
$ ldd /usr/local/openldap/libexec/slapd
/usr/local/openldap/libexec/slapd:
libldap_r.so.2 => /usr/local/lib/libldap_r.so.2 (0x28139000)
liblber.so.2 => /usr/local/lib/liblber.so.2 (0x2816b000)
libdb41.so.1 => /usr/local/lib/libdb41.so.1 (0x28178000)
libperl.so => /usr/local/lib/perl5/5.8.5/mach/CORE/libperl.so
(0x28228000)
libm.so.2 => /lib/libm.so.2 (0x2832f000)
libutil.so.4 => /lib/libutil.so.4 (0x28348000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x28354000)
libcrypto.so.3 => /lib/libcrypto.so.3 (0x28386000)
libfetch.so.3 => /usr/lib/libfetch.so.3 (0x28494000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x284a1000)
libcrypt.so.2 => /lib/libcrypt.so.2 (0x284a3000)
libwrap.so.3 => /usr/lib/libwrap.so.3 (0x284bc000)
libc_r.so.5 => /usr/lib/libc_r.so.5 (0x284c4000)
libc.so.5 => /lib/libc.so.5 (0x284e8000)
(current standard libc_r slapd)...
If you use kse you should have :
libc_r.so.5 => /usr/lib/libkse.so.1 (0x284c4000)
/Xavier
Le 12 oct. 04, à 16:10, James Saint-Rossy, Thomas a écrit :
OK. So to get the threading working for Openldap in FreeBSD 5.2.1 I
need to do a Make world with "WITH_LIBMAP=yes" and use the "Kernel
Scheduled Entities". Is that correct?
James.
Xavier Beaudouin wrote:
On FreeBSD 5.2.1 default threads are same as on 4.x branch...
Excepted if you add made a make world with "WITH_LIBMAP=yes" in
/etc/make.conf....
Then if you use kse you'll get a system that can use all your
processors...
If not... your openldap process will only use on CPU at time what
ever number of CPU you have.
/Xavier
Le 8 oct. 04, à 23:45, James Saint-Rossy, Thomas a écrit :
I am trying to verify that my server running "FreeBSD
5.2.1-RELEASE" is actually using multiple threads for Openldap.
The system has dual p4's with hyper threading. I've been
searching the web and archive with no luck. Any insight would be
appreciated.
When I do ps -axH all I get back is one process:
73670 ?? SLs 0:04.19 /usr/local/libexec/slapd -h
ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/ -u ldap
-g ldap
Top -H is similar and appears to only be using one of the
processors at a time
70022 ldap 96 0 182M 62380K select 3 1:09 0.00%
0.00% slapd
The FreeBSD port seems to be passing "--with-threads=posix" to
configure so I assume it's compiled with threads
Thanks, James Saint-Rossy.
--
Xavier Beaudouin - Unix System Administrator & Projects Leader.
President of Kazar Organization : http://www.kazar.net/
Please visit http://caudium.net/, home of Caudium & Camas projects
--
Xavier Beaudouin - Unix System Administrator & Projects Leader.
President of Kazar Organization : http://www.kazar.net/
Please visit http://caudium.net/, home of Caudium & Camas projects