Philip Guenther wrote:...On Thu, 3 Jul 2008, Jeronimo Zucco wrote:I did it, as you can see in my openldap configure log:I'm using openldap 2.4.10. slapd is only using one cpu core of my server. is it possible slapd use more cpu cores ?
If configured to use threads (which it should by default) and your platform's threads aren't pure user-space, then "yes". (All the involved components, such as bdb and openssl, must also be compiled to have a per-thread errno, if the platform doesn't do that by default.)
Philip Guenther
But slapd still using just one core. I'm running slapd with "ldap" user, in a CentOS 5.2, BerkeleyDB-4.6.21, vanilla kernel 2.6.25.9. Server has 4 cpu cores.
I'm doing tests with multi-master replication, the replication is working fine. I noted it when I was doing replication with other 2 nodes, the slapd in the first master is only using one core.
<sigh>
Philip Guenther