Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 58881 invoked from network); 11 Feb 2009 04:35:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 04:35:40 -0000 Received: (qmail 83289 invoked by uid 500); 11 Feb 2009 04:35:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 83276 invoked by uid 500); 11 Feb 2009 04:35:26 -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 83165 invoked by uid 99); 11 Feb 2009 04:35:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 20:35:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [78.46.87.206] (HELO Kolkata.infoservices.in) (78.46.87.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 04:35:15 +0000 Received: from [192.168.1.100] (unknown [122.160.37.80]) by Kolkata.infoservices.in (Postfix) with ESMTPSA id 0CB0371BF4 for ; Wed, 11 Feb 2009 05:44:02 +0100 (CET) Message-ID: <49925567.3080501@infoservices.in> Date: Wed, 11 Feb 2009 10:04:47 +0530 From: "J. Bakshi" User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: users@httpd.apache.org References: <49912906.6080908@infoservices.in> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: optimizing apache web server Nicholas Sherlock wrote: > J. Bakshi wrote: >> I am running an apache server at a remote debian box which have 4 GB RAM >> and quad-core intel CPU. During the development period the site was >> first. But after finishing the site when people start to access it, the >> site some times become very very very slow. There is no noticeable load >> on the system, but still the site is not working as fast as it were in >> its development period. > > Double check that you aren't using your swapfile (the 'top' utility > can tell you this). If too many concurrent Apache processes are > allowed, they'll soak up all your RAM and more, and having to swap > them to disk kills performance stone dead. While you're in 'top', you > might check to see what is using the CPU while the site is running slow. > > Does your site use a database? Could the slowdown be due to > competition for exclusive locks on tables? This could cause a site > slowdown even with low CPU usage. Hello Nicholas, Thanks for your kind response. Yes, the storage engine is mysql and it is actually typo3 powered site. But I have already done the optimization in mysql level and there is no such load on mysql. The server is armed with 4 GB Ram and quadcore processor. When the site becomes slow ; the top shows it is actually apache which consumes so much CPU. Is not there any way to optimize apache ? Thanks > > Cheers, > Nicholas Sherlock > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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