Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 48933 invoked from network); 4 Jun 2007 14:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 14:30:41 -0000 Received: (qmail 59243 invoked by uid 500); 4 Jun 2007 14:30:38 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 59229 invoked by uid 500); 4 Jun 2007 14:30:38 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 59216 invoked by uid 99); 4 Jun 2007 14:30:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 07:30:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pharkins@gmail.com designates 209.85.132.248 as permitted sender) Received: from [209.85.132.248] (HELO an-out-0708.google.com) (209.85.132.248) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 07:30:33 -0700 Received: by an-out-0708.google.com with SMTP id c28so325994ana for ; Mon, 04 Jun 2007 07:30:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=k2bZ6m3bOcmKnlQuiSZ/fkRehVuXwJo5piMrTxkoSRN/MghEHw5FtC+tlHw+FMHhdft5b4d4AohGAhIhJCOG5iG3jFFmgA8mqFZ8JwQKfuNL8wwHrWUhxjqs17DpMUkH2IIP3QhcpKf8EInP9pCTcm2EQqD7Y7+tFiQLEWUSwUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=cPdOt9Fuoh7pQ4yhcxLHS/FATUTUAyLjQonuqvjjl1UtV9zYCQ42h3PEDQztR2l8dNccq0vpG/1wrVRSb5iAp3Hkd0bd+md5Vvi+EyJ2QXeWbjCTjDz2X8bDuW6ZfrXKWuHH6xeTVNZN8KMdVjxKbE+Xsl1cc6APVlF2WS5mnRY= Received: by 10.100.142.12 with SMTP id p12mr2577146and.1180967412953; Mon, 04 Jun 2007 07:30:12 -0700 (PDT) Received: by 10.100.154.15 with HTTP; Mon, 4 Jun 2007 07:30:12 -0700 (PDT) Message-ID: <66887a3d0706040730j52f69886x7efb46619b16343d@mail.gmail.com> Date: Mon, 4 Jun 2007 10:30:12 -0400 From: "Perrin Harkins" Sender: pharkins@gmail.com To: "Jani M." Subject: Re: [mp2] Segmentation faults with threaded worker-mpm Cc: modperl@perl.apache.org In-Reply-To: <4663132F.6000507@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4663132F.6000507@iki.fi> X-Google-Sender-Auth: e9184260a09224e3 X-Virus-Checked: Checked by ClamAV on apache.org On 6/3/07, Jani M. wrote: > The problems start only when two or more interpreters per > process is running - unfortunately, this is exactly what I would need > for scalability and performance. Are you sure about that? On Linux, prefork is likely to perform better. Threads will use up a lot more memory, and be slow to spawn. I think you should try a little benchmarking before you put a lot more time into using threads. If it turns out you do need to get threads to work, the next step in fixing segfaults is typically to get a backtrace. There are instructions for doing this in the mod_perl docs. - Perrin