Howard Chu wrote:
Your lwp #2 is in the thread pool, probably waiting for lwp #1 to finish. Why lwp #1 is still waiting, dunno.
Yes that was all I could conclude as well. As to why lwp #1 is still waiting, well it's in bdb_tool_entry_close(), but without the debug symbols it's not easy to work out whether it's waiting on the trickle condition or the index condition. What did seem odd is why it was blocked on a condition at all when there was no other active thread capable of unblocking it. A race condition in the code somewhere, I guess.
I've opened a support case with Oracle, as it's their bundled version of OpenLDAP. Hopefully they can dig further as they will have the debug symbols. Unfortunately I don't. They might follow up on this thread in the future if they have questions.
Thanks, Mark.
--------------------------------------------------------------------------------
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies; do not disclose, use or act upon the information; and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.