Apache2 threaded MPM?

Doug White dwhite at gumbysoft.com
Wed Jun 30 19:05:47 PDT 2004


On Wed, 30 Jun 2004, Aaron Bannert wrote:

>
> On Jun 30, 2004, at 12:44 AM, Ivan Voras wrote:
>
> > Can apache2 be run on FreeBSD 4.x using a threaded MPM (e.g.
> > "mpm_worker")? Is anybody using this in production?
>
> There are some serious problems with FreeBSD 4.x's thread support that
> cause Apache's worker MPM to fail in strange and horrible ways. It is
> possible to force Apache to build the worker MPM under FreeBSD 4.x, but
> you have to hack around the safeguards we put in that disallow this.
> Even if you manage to get it to work I'd completely avoid it for
> production machines. I've heard good reports from people running worker
> under 5.x though.

Yes, the threaded MPMs are MUCH better under 5.x, which has proper
kernel-based thread support. On 4.x, its a userland scheduler running as a
single process (libc_r), and performance _SUCKS_.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-stable mailing list