Environment
Novell eDirectory 8.7.3 for All Platforms
Novell NetWare 6.5
Novell NetWare 6 Support Pack 3
EDIR8711.EXE
NLDAP.NLM
Situation
After loading the _IP screen on the Console one can see that the server is running out of small ecb's.
DSTrace with the +LDAP flag enabled shows the following error:
"Reached maximum thread pool size of 1024 threads"
"Monitor 0x8fd initiating close for connection 0x946601c0"
Resolution
Additional Information
Coredump Summary: Over a 1000 NLDAP worker threads can be seen all in a sleep state with a flag of Finalize Connection - an invalid flag.
Normal process:
The problem is these threads are sleeping but with an invalid flag caused by a timing issue between the SSL unbind and the NTLS unload. The monitor thread sees the Finalize Connection flag and does not clear the thread. The thread itself will sleep forever waiting for the monitor to clear it.
Current thinking is that the ecb's could be consumed during the process where we are attempting to queue additional incoming requests while we wait for the threads to free up.
Formerly known as TID# 10089686