From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 13:37:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83CE510656BC for ; Tue, 21 Sep 2010 13:37:42 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 25EC78FC1C for ; Tue, 21 Sep 2010 13:37:41 +0000 (UTC) Received: by wwc33 with SMTP id 33so987711wwc.31 for ; Tue, 21 Sep 2010 06:37:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.178.130 with SMTP id f2mr9157913wem.101.1285076260929; Tue, 21 Sep 2010 06:37:40 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.216.170.7 with HTTP; Tue, 21 Sep 2010 06:37:40 -0700 (PDT) In-Reply-To: References: <20100920060811.GA10084@admin.sibptus.tomsk.ru> <20100921090316.GA36655@admin.sibptus.tomsk.ru> Date: Tue, 21 Sep 2010 09:37:40 -0400 X-Google-Sender-Auth: j4X6RDDL9GMPcpPUuxD8u97cH9g Message-ID: From: Alejandro Imass To: Michael Powell Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: apache22 and threads X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 13:37:42 -0000 On Tue, Sep 21, 2010 at 5:48 AM, Michael Powell wrote: > Victor Sudakov wrote: > > [snip] [...] > > The prefork mpm without threads and mod_php is a safe bet for a server that > will not be hitting the wall, traffic volume-wise. > Yeah well php sucks in any case, for many reasons that are OT to this thread. Perl / mod_perl on the other hand can work quite well with mod_worker (threads) sharing many thing including all the non-mutable data, this is because Perl in general is thread safe. Using mod_worker with mod_perl can mean the difference between serving a few hundred simultaneous request to a few thousand, on the same exact hardware. Not all Perl modules are thread safe however, and in any case most thread implementations in Unix, including FreeBSD, are a potentially leaky by nature, but you can use the MaxRequestsPerChild directive (and others) to fine-tune the growing of your processes/threads. > -Mike > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >