> -----Original Message----- > From: James Courtney [mailto:Jcourtney@inphonic.com] > Thanks Howard. > After further thought, I realized I didn't fully > understand how it works. > How is the threads setting used then? Once a new socket is > established the main server thread must hand off management > of the endpoint of that connection to another thread right? Yes. > For a thread to use a socket for multiple requests it must > remain bound to that socket and thus wouldn't the size of the > thread pool dictate how many persistent socket connections > could be openend simultaneously to the LDAP server? No. Threads are not bound to sockets. A single incoming request on any connection is handed off to any available thread. The size of the thread pool dictates the number of operations that can execute simultaneously. The main server thread performs all of the handoffs. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support
<<attachment: winmail.dat>>