hyc@symas.com wrote:
quanah@stanford.edu wrote:Well, this problem turns out to be quite Solaris-specific. First of all, once the server got busy, it stopped listening to incoming connections. Attaching with gdb showed that the main listener thread was waiting in thread_yield (ldap_pvt_thread_yield) (see line slapd/daemon.c:1720) after having returned from select() with a result of zero (timeout). Apparently the listener thread was not getting back onto the CPU at all while the other threads were running, so it never got back around to select() for new connections again. (The yield at daemon.c: 1969 also seems to be a problem.)
Since the problem is not occurring on Linux, it appears this is a Solaris-specific issue. It sounds very similar to the problem in ITS#3340. Not clear whether it's thread related or something else.--On Friday, January 07, 2005 8:04 PM +0000 openldap-its@OpenLDAP.org wrote:
Just to follow up, this scenario actually blocks *all* other incoming connections (i.e., you can only have two active connections, everything else times out).
Comments?
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support