Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 14740 invoked from network); 8 Jan 2008 07:32:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2008 07:32:14 -0000 Received: (qmail 33695 invoked by uid 500); 8 Jan 2008 07:31:54 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33678 invoked by uid 500); 8 Jan 2008 07:31:54 -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 33666 invoked by uid 99); 8 Jan 2008 07:31:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2008 23:31:54 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [146.109.240.232] (HELO irp0b.swx.com) (146.109.240.232) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 07:31:30 +0000 X-IronPort-AV: E=Sophos;i="4.24,256,1196636400"; d="scan'208";a="10432656" Received: from unknown (HELO gate0b.unix.swx.ch) ([192.168.252.145]) by irp0b.swx.com with ESMTP; 08 Jan 2008 08:31:32 +0100 Received: from CIWMEXZSA0E.ex.ordersx.org (siwmexzsa0a.ex.ordersx.org [172.20.29.10]) by gate0b.unix.swx.ch (8.13.4/8.13.4) with ESMTP id m087VWlP002528 for ; Tue, 8 Jan 2008 08:31:32 +0100 (MET) Content-class: urn:content-classes:message MIME-Version: 1.0 Priority: normal Importance: normal Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 Date: Tue, 8 Jan 2008 08:31:31 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] How to configure httpd process time Thread-Index: AchRvOAxp6VBKQKlRV2X+FcwFsQH/gACTIEw References: <1199772454.27286.4.camel@lahiru-desktop> From: "Boyle Owen" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] How to configure httpd process time > -----Original Message----- > From: Lahiru Gunathilake [mailto:lahiru@wso2.com]=20 > Sent: Tuesday, January 08, 2008 7:08 AM > To: users@httpd.apache.org > Subject: [users@httpd] How to configure httpd process time >=20 > I'm using httpd with Apache axis2c.there's a problem with=20 > some of httpd > processes when i'm keep on sending requests to the server for two or > three days.I have figure out that there are some httpd=20 > processes which > takes lot of memory and keep on that memory when we are not sending > requests to the server.Then i want to know is there any=20 > configuration in > httpd to kill all process time to time and create new once.Is=20 > there any > configurations for httpd process time. Yes and no. It is quite normal for apache to spawn many httpd processes that then sit and wait for requests. If more requests come in, more servers will start up (up to a limit). If requests stop coming in, processes will die off until they are reduced to a certain limit. This is how apache adjusts the resources it uses according to the server load. Processes are recycled (stopped and restarted), not based on time but according to how many requests they have served (see MaxRequestsPerChild). If you want to tune your server, read http://httpd.apache.org/docs/2.2/mod/prefork.html for details on how this all works. More generally, you shouldn't worry about the memory that apache is using when idle. For a start, a lot of the memory is shared so you don't simply add up all the footprints from "top". Even if you do, the total should still be a small fraction of your computer's memory. If it isn't then, your computer is under-resourced and you shouldn't be using it as a webserver. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 PS: If this isn't what you are asking, post back with a more precise question... >=20 > Regs > lahiru >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > 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 > =20 =20 This message is for the named person's use only. It may contain = confidential, proprietary or legally privileged information. If you = receive this message in error, please notify the sender urgently and = then immediately delete the message and any copies of it from your = system. Please also immediately destroy any hardcopies of the message. = The sender's company reserves the right to monitor all e-mail = communications through their networks. --------------------------------------------------------------------- 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