Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 9900 invoked from network); 7 Apr 2009 00:50:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2009 00:50:51 -0000 Received: (qmail 76091 invoked by uid 500); 7 Apr 2009 00:50:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 76045 invoked by uid 500); 7 Apr 2009 00:50:47 -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 76036 invoked by uid 99); 7 Apr 2009 00:50:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 00:50:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 74.125.46.156 as permitted sender) Received: from [74.125.46.156] (HELO yw-out-1718.google.com) (74.125.46.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 00:50:37 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1576537ywm.84 for ; Mon, 06 Apr 2009 17:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nhg3iIILw6Gg4cfVhvkwsHH+KbhrEfXmTEYYmaoN48A=; b=Q9k2RywpecnmHeB1caxm/Xv6eWIlWSFsO1TEOW+B/KWABgPK6JpyWIOPRfWzxTOH/u Dmw1bxuTW/MeojHdu2LN2080/NrRy0YJiNWhFkPRiWn7eI2/15XiyS9BBZgEdwm6tmuM iIMrvoQoAjFygUZkSW3tFFv8r2AwZ0K1R6hwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CAm5SBDb8hnGUvPWpRB04JvjiY4RwTZ/KjV79GV1Z3KKyB7HRjJ9R0B6BE3mLOXDaw xr2O2dI8fZoC1/P4xfGihmLuhgtJ3P1fwkFv80rdsiU+h7MKcAXb9csfoHB8p7HBK4Wu ikniZ6XwtOVeO1DFKrjhjKnwxIUg9uGt+f7EQ= MIME-Version: 1.0 Received: by 10.100.109.13 with SMTP id h13mr9699468anc.21.1239065416725; Mon, 06 Apr 2009 17:50:16 -0700 (PDT) In-Reply-To: <20090406235456.GA32541@brevard.conman.org> References: <094A73044298734FB7D58CAAA319E1D6018937CF@UBIQ-SERV1.ubiquisys.local> <49D5D8C7.9090508@ice-sa.com> <094A73044298734FB7D58CAAA319E1D6018938A8@UBIQ-SERV1.ubiquisys.local> <1238764532.7491.116.camel@strangepork.mintel.co.uk> <094A73044298734FB7D58CAAA319E1D6018938C0@UBIQ-SERV1.ubiquisys.local> <1404e5910904030700m70004f6aq28e7aa6c62834749@mail.gmail.com> <094A73044298734FB7D58CAAA319E1D6018938E1@UBIQ-SERV1.ubiquisys.local> <1404e5910904030851j2ca885dbr4834dcad5ed73624@mail.gmail.com> <20090406235456.GA32541@brevard.conman.org> Date: Mon, 6 Apr 2009 20:50:16 -0400 Message-ID: <1404e5910904061750n72c4b267m2450b7e3e056d560@mail.gmail.com> From: Eric Covener To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache memory hog On Mon, Apr 6, 2009 at 7:54 PM, Sean Conner wrote: > It was thus said that the Great Eric Covener once stated: >> On Fri, Apr 3, 2009 at 10:08 AM, Adrian Marsh >> wrote: >> > Am trying MaxMemFree 30000 =A0 =A0(30mb? - pure guess number). >> >> Far too large, it's per-thread. Try 1MB. > > =A0This triggered something I recently learned---what threading model are= you > using under Apache? =A0Pre-fork? =A0Or pthreads? =A0I ask because pthread= s will > allocate stack space for each thread, and the amount used is the default > mount allocated per stack per process: > > =A0 =A0 =A0 =A0http://boston.conman.org/2007/11/05.1 > > =A0Rather nasty shock when I found out. The wasted stack space doesn't shows up as a high VSZ, but not RSS. --=20 Eric Covener covener@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org