Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3ED0E64B for ; Tue, 5 Feb 2013 14:20:59 +0000 (UTC) Received: (qmail 43966 invoked by uid 500); 5 Feb 2013 14:20:57 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 43451 invoked by uid 500); 5 Feb 2013 14:20:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 43431 invoked by uid 99); 5 Feb 2013 14:20:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 14:20:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michiel.beijen@gmail.com designates 209.85.223.173 as permitted sender) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 14:20:49 +0000 Received: by mail-ie0-f173.google.com with SMTP id 9so222618iec.32 for ; Tue, 05 Feb 2013 06:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=J4LkB9xpqGyXxyiiHFgz17O5cY1iBYhHJcMcQHTK7xY=; b=F38hgVWLB9aAa3ymO9bXQBoAacvS8tIVDEJYwqxusfLLlijWyF7TjAzZiVm2ifUNEQ 4eqLcjix6ouBhnG79qFh4kM9moR7es2jw3pJutL8EMdjVAMzW02Q+/PYA8nd9czADfPR arBVtB800efgczngac3Zgyp8uQS9hlU7PRObXmVCnHevGZJABUzW9Yxgy4XRYSdIkoba URN9ORAryeVKzbE6OEQLdTiNNPxHs2DXc20b3/sOpA2o0ZgJ81gRQtmqEeXxXXOhvLRV Eg+3snzeQWRRYOKu/czlIPV23nrDkB5LJo4i93iNZpmSQTwu5szjGi4D9aemf7C5fuXu tu9g== X-Received: by 10.43.124.130 with SMTP id go2mr22267552icc.8.1360074028763; Tue, 05 Feb 2013 06:20:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.12.79 with HTTP; Tue, 5 Feb 2013 06:20:08 -0800 (PST) In-Reply-To: References: From: Michiel Beijen Date: Tue, 5 Feb 2013 15:20:08 +0100 Message-ID: To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Changing the MPM Hi, On Sun, Feb 3, 2013 at 9:34 PM, yogesh hingmire wrote: > I recently bought a new Mac book pro, the apache server that comes inbuilt is with a prefork option, here is below listing > > Yogeshs-MacBook-Pro:sbin yogesh$ httpd -l > Compiled in modules: > core.c > prefork.c > http_core.c > mod_so.c > > However i want to change it to worker mpm. The httpd that comes with OS X is prefork, there is not much you can do about it. > What are my options, do i have to download a fresh apache distribution and recompile and then specify that option in the ./configure script. > I thought there was another option using the loadmodule directive to dynamically change the mpm. Not for the MPM, it is compiled in. > I really dont want to recompile and start from zero to change the mpm. You can use macports to make it a little less painful. On RHEL, you can switch the MPM by means of configuration, but what they actually do is ship multiple httpds and let you choose the one to start: $ ls -l /usr/sbin/http* -rwxr-xr-x 1 root root 341200 feb 13 2012 /usr/sbin/httpd -rwxr-xr-x 1 root root 356536 feb 13 2012 /usr/sbin/httpd.event -rwxr-xr-x 1 root root 353112 feb 13 2012 /usr/sbin/httpd.worker $ /usr/sbin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c $ /usr/sbin/httpd.event -l Compiled in modules: core.c event.c http_core.c mod_so.c $ /usr/sbin/httpd.worker -l Compiled in modules: core.c worker.c http_core.c mod_so.c -- Mike --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org