Покотиленко Костик wrote:
Hi,
Is there a way to log the time each operation took?
Every message in syslog already has a timestamp.
Also, recent versions of OpenLDAP include a timestamp on debug output too. You didn't mention which version you're using so can't tell you much more.
I have strange CPU load (~200%) with just ~15 operations per second. SRCH is >90% of all operations. All attributed involved in search a indexed (many single attribute indexes, ~30).
The point is to find which search operations a taking long time to develop a solution.