Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50889 invoked from network); 18 Jul 2006 21:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jul 2006 21:36:51 -0000 Received: (qmail 62443 invoked by uid 500); 18 Jul 2006 21:36:41 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 62297 invoked by uid 500); 18 Jul 2006 21:36:40 -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 62286 invoked by uid 99); 18 Jul 2006 21:36:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 14:36:40 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jslive@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 14:36:40 -0700 Received: by ug-out-1314.google.com with SMTP id u2so15937uge for ; Tue, 18 Jul 2006 14:36:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pM23xQJrZlC01fNc/1vgXXOURqdEjsFANsgSdQfSgfR8cy/JuOUrirPL9vAAJPL+xtULgbmzG8sTFGawVm8AfG/i7DTDa0TqKiaLVEL8HJI3yEoOfTYppofPFrHAz3kmy5Yp4s8e2JtygX7XcZPijzq6sLXk0C+RQOx7FasbcoA= Received: by 10.78.122.11 with SMTP id u11mr11568huc; Tue, 18 Jul 2006 14:36:18 -0700 (PDT) Received: by 10.78.143.4 with HTTP; Tue, 18 Jul 2006 14:36:18 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 17:36:18 -0400 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: <44BCFAE1.9030803@fenix.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44BCFAE1.9030803@fenix.cz> X-Google-Sender-Auth: 43f769020dd1ad83 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] performance considerations (looong) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 7/18/06, Pavel Stratil wrote: > Hi all! > > I have an older machine with no real funds to upgrade hw and growing > traffic. Apache eats most of the resources, before some basic config > tweaking enough to take the machine down (now average cpu load 35% (peak > 70), avg mem usage 85% (peak 100)). The biggest issue is memory and > processor load and also traffic (about 1 TB/month). To be able to > further optimize the performance, i'd rely on your experiences. I ask a > lot at once so please dont be afraid of partial answers:-) As a general comment, this question is far too broad to get a decent response on a forum like this. This is more like something you would drop in the hands of a consultant. If you want help from the list, I'd break your issue into small, specific questions. Then there is a better hope of getting constructive responses. To hit a few of your specific questions: - DYNAMIC_MODULE_LIMIT isn't going to help you in any substantial way. I'd just ignore it. - Caching is documented here: http://httpd.apache.org/docs/2.2/caching.html You should really use 2.2, and you should start with mod_disk_cache as the most generally useful solution. I believe that, in the case of mod_deflate-processed content, the cache will wind up storing both a deflated and a non-deflated variant since both will be requested by clients. Caching could help you alot, but your dynamic content needs to be carefully structured to allow for caching. If high CPU usage is the problem, you should spend most of your time optimizing your php scripts. Any change you make in apache will just be noise compared to that. For memory, your idea of splitting into dynamic and static servers is good. Both servers should be stripped to the bare minimum modules. Joshua. --------------------------------------------------------------------- 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