From owner-freebsd-stable@FreeBSD.ORG Thu Nov 17 11:32:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74CF106566C; Thu, 17 Nov 2011 11:32:18 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1BE8FC12; Thu, 17 Nov 2011 11:32:18 +0000 (UTC) Received: by vcbfy13 with SMTP id fy13so1402489vcb.13 for ; Thu, 17 Nov 2011 03:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=aUWxZO5AMLb7NVvMyZyAuq0p5HCuPfZ5CWO+DNcuUo8=; b=ImBBA3+sjrCdK5ZdsHk2Y3aG5osHKfQ8odxX4viIX9WFOgA8CSL4ERw0K30kuP/Ro7 knSPUYUNBXNuB6po7i97QbCqtJPqTusLaietlRxyFsMhOS9ecNzvc/liU19AOD8cC4fC MqxERxg9WAy5jr9kVymMx1ZlR4SUXVj74n9lQ= MIME-Version: 1.0 Received: by 10.52.38.6 with SMTP id c6mr57265309vdk.73.1321527951777; Thu, 17 Nov 2011 03:05:51 -0800 (PST) Received: by 10.52.182.40 with HTTP; Thu, 17 Nov 2011 03:05:51 -0800 (PST) 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> Date: Thu, 17 Nov 2011 11:05:51 +0000 Message-ID: From: Tom Evans To: Jeremy Chadwick Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , Daniil Cherednik , Doug Barton , freebsd-stable@freebsd.org, freebsd-apache@freebsd.org Subject: Re: 8.2 + apache == a LOT of sigprocmask X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2011 11:32:19 -0000 On Thu, Nov 17, 2011 at 10:18 AM, Jeremy Chadwick 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