From owner-freebsd-stable Fri Nov 3 16: 7:52 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 4279A37B479 for ; Fri, 3 Nov 2000 16:07:50 -0800 (PST) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id TAA11756; Fri, 3 Nov 2000 19:07:16 -0500 (EST) Date: Fri, 3 Nov 2000 19:07:16 -0500 (EST) From: Daniel Eischen To: Mikko Tyolajarvi Cc: kate@gutatelecom.ru, freebsd-stable@FreeBSD.ORG Subject: Re: Possible problem in threads lib in -STABLE ? In-Reply-To: <200011032303.eA3N3o465362@explorer.rsa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 3 Nov 2000, Mikko Tyolajarvi wrote: > In local.freebsd-stable you write: > > >This is my third attempt at getting help, after trying freebsd-bugs and > >freebsd-hackers mailing lists. Folks, please, do have a look. > > I'm certain nobody is ignoring you just to be mean -- your problem > looks sort-of complex... :-) > > >I was pursuing a strange bug which causes mysqld to hang (that is not to > >accept any new connections) on FreeBSD 4.1 after working for some time > >properly and MySQL folks suggested that there may be some pecularity in > >FreeBSD threads library. I cvsup'ed FreeBSD on Nov 2 (after the code freeze > >I presume). The problem persists. > > >Just tell me, is it normal that an app should be stuck in _thread_sys_poll > >when clients are trying to connect to it ? Sorry, I just caught this thread. There are problems with the threads library in -stable. These have largely been addressed in -current, but there are a still a couple of known problems remaining. I have a patch at: http://people.freebsd.org/~deischen/libc_r.diffs-stable that merges the threads from -current into -stable. Please try this and see if it fixes your problem. I hope to update this patch with some more changes, so check back again in a couple of days. These changes are not going to make it into 4.2-RELEASE. I will keep the patch file above updated with whatever changes make it into -current, and MFC when I have adequate feedback that they don't break anything that currently works. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message