--On Monday, November 10, 2003 19:40:31 -0500 Craig Rodrigues <[EMAIL PROTECTED]> 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

Reply via email to