Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2011 11:05:51 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        Kostik Belousov <kostikbel@gmail.com>, Daniil Cherednik <dcherednik@masterhost.ru>, Doug Barton <dougb@freebsd.org>, freebsd-stable@freebsd.org, freebsd-apache@freebsd.org
Subject:   Re: 8.2 + apache == a LOT of sigprocmask
Message-ID:  <CAFHbX1%2BsqeTNf9yZ7%2B0M4CjaDL4efy9smtRdndwc5wWrgZaZ2A@mail.gmail.com>
In-Reply-To: <20111117101856.GA39096@icarus.home.lan>
References:  <4EC17AAF.9050807@FreeBSD.org> <4EC17F57.5030008@FreeBSD.org> <20111115090745.GO50300@deviant.kiev.zoral.com.ua> <20111115100904.GA92795@icarus.home.lan> <4EC4ADC3.2060604@FreeBSD.org> <20111117074909.GL50300@deviant.kiev.zoral.com.ua> <4EC4BECA.5040705@FreeBSD.org> <20111117081210.GN50300@deviant.kiev.zoral.com.ua> <20111117101856.GA39096@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 17, 2011 at 10:18 AM, Jeremy Chadwick
<freebsd@jdc.parodius.com> wrote:
> I don't use worker MPM on any of our boxes, we actually use ITK MPM
> solely because of the hosting nature of what we do. =C2=A0I've actually n=
ever
> seen worker MPM in use on any *IX machine I've been on or administrated,
> only prefork. =C2=A0The Apache documentation even mentions that "if you w=
ant
> stability or compatibility, prefork is the choice", while "if you want
> scalability, worker is a better choice"[1]. =C2=A0These sorts of quotes o=
ften
> shock me given what year it is. =C2=A0:-)
>

I've used both worker and event MPMs in production on high volume
sites for > 4 years now, running on FreeBSD 7, with no problems. I
think you are cherry picking the quotes from httpd's 2.0
documentation, which is actually an old bit of software now - it has
just been voted EOL. The current stable (2.2) docs actually say:

"sites that need a great deal of scalability can choose to use a
threaded MPM like worker or event, while sites requiring stability or
compatibility with older software can use a prefork"

Event and worker have no issues unless you run non thread safe
modules, or modules which use libraries which are not thread safe, eg
PHP (more commonly, a PHP extension).

Cheers

Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1%2BsqeTNf9yZ7%2B0M4CjaDL4efy9smtRdndwc5wWrgZaZ2A>