Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 80694 invoked from network); 7 Jan 2004 10:06:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Jan 2004 10:06:30 -0000 Received: (qmail 35326 invoked by uid 500); 7 Jan 2004 10:05:53 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 35134 invoked by uid 500); 7 Jan 2004 10:05:52 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 35120 invoked from network); 7 Jan 2004 10:05:52 -0000 Received: from unknown (HELO ns0b.swx.com) (146.109.240.235) by daedalus.apache.org with SMTP; 7 Jan 2004 10:05:52 -0000 Received: from gate0a.unix.swx.ch (gate0a [192.168.252.17]) by ns0b.swx.com (8.12.10/8.12.10) with ESMTP id i07A64HC025705 for ; Wed, 7 Jan 2004 11:06:04 +0100 (MET) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0a.unix.swx.ch (8.12.10/8.12.10) with ESMTP id i07A63km024420 for ; Wed, 7 Jan 2004 11:06:03 +0100 (MET) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Wed, 7 Jan 2004 11:06:03 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Priority: normal Importance: normal Thread-Topic: [users@httpd] querying http processes Thread-Index: AcPVAld1w5kcR+bjR+CX6fDJrByY4gAAxGGQ From: "Boyle Owen" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] querying http processes X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Niklas Saers [mailto:niklasmls@saers.com] > > I'm running several Apache 2 boxes with a couple of hundred=20 > users pr box. > From time to time there are processes that act antisocial:=20 > use too much > memory, take to much load, etc. It's fairly easy to get the pid of the > process, but how do I go from there to finding out what=20 > request was made? > If I know the request I know what user and what page. Use a CustomLog and add the format-string %P to the log entry. This returns the process id of the daemon handling the request. If you then set up a checking script to identify rogue processes when they occur, you can get the time and pid of the bad request and comparing this with the log-file should identify the request that triggered the rogue. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 > Cheers >=20 > Nik >=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 Diese E-mail ist eine private und pers=F6nliche Kommunikation. Sie hat keinen Bezug zur B=F6rsen- bzw. Gesch=E4ftst=E4tigkeit der SWX Gruppe. = This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le pr=E9sent e-mail = est un message priv=E9 et personnel, sans rapport avec l'activit=E9 = boursi=E8re du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. 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. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.=20 --------------------------------------------------------------------- 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