Date: Mon, 10 Nov 2003 19:58:26 -0500 From: Craig Rodrigues <rodrigc@crodrigues.org> To: Daniel Eischen <eischen@vigrid.com> Cc: freebsd-threads@freebsd.org Subject: Re: Comments about FreeBSD threading from Apache people Message-ID: <20031111005826.GA98288@crodrigues.org> In-Reply-To: <Pine.GSO.4.10.10311100854050.6872-100000@pcnet5.pcnet.com> References: <20031110070111.GA65707@crodrigues.org> <Pine.GSO.4.10.10311100854050.6872-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 10, 2003 at 08:56:41AM -0500, Daniel Eischen wrote: > There's not enough info in STATUS to go on, and in any case it > is written against libc_r. Tell them about libpthread^Wlibkse. > David Xu has tested apache with threading enabled. Hi, Here is more feedback from the Apache people. It might be worth taking their experiences into account... -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org ----- Forwarded message from Justin Erenkrantz <justin@erenkrantz.com> ----- X-Originating-IP: [216.220.40.247] Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Delivered-To: mailing list dev@apr.apache.org Date: Mon, 10 Nov 2003 16:51:24 -0800 From: Justin Erenkrantz <justin@erenkrantz.com> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: dev@apr.apache.org Subject: Re: [PATCH] FreeBSD threads configure support --On Monday, November 10, 2003 19:40:31 -0500 Craig Rodrigues <rodrigc@crodrigues.org> wrote: >On Sun, Nov 09, 2003 at 10:39:05PM -0800, Justin Erenkrantz wrote: >>FreeBSD's reliability with threads. Please see STATUS entries in >>httpd-2.x regarding this. > >There is not enough information in STATUS to go on. >Do you have a testcase, or pointers to further information? The mailing list references in httpd's STATUS might be of some help. Roughly, the test case is fairly simple and is as follows: - Build threaded APR (--enable-threads) and httpd with worker MPM (--with-mpm=worker) - Start httpd with worker MPM (default config okay - 2+ processes required!) - Issue an HTTP request against the httpd (i.e. apachectl status) - *no response yet* - Issue another connection and request against the same httpd (i.e. another window w/apachectl status or whatnot) - *Response from 1st request is returned* - *No response to 2nd request yet* - Issue another connection - *Response from 2nd* - *No response from 3rd until 4th request, etc, etc, etc* This worker MPM code works correctly on Linux, Solaris, AIX, Darwin, etc, so we believe our pthread API usage in APR is correct. But, perhaps someone familiar with FreeBSD can shed some more light on this. (If you could pass along to David, that might be helpful!) We know 4.x still has this problem, and we believe 5.0 had it (at least the original 5.0 did), too. But, I don't have access to a FreeBSD 5.x box to test this. HTH. -- justin ----- End forwarded message -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111005826.GA98288>