Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34042 invoked from network); 7 Dec 2005 19:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 19:49:33 -0000 Received: (qmail 45378 invoked by uid 500); 7 Dec 2005 19:49:26 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 45176 invoked by uid 500); 7 Dec 2005 19:49:25 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 45165 invoked by uid 99); 7 Dec 2005 19:49:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 11:49:25 -0800 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.86.89.67] (HELO smtpauth07.mail.atl.earthlink.net) (209.86.89.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 11:49:24 -0800 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=m6Sa6hjalT+dbQaMqjTNctxTRGkdK24SQ7BoqAGSMfa0dBnYw5jL+1xOZnBVPoys; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [129.33.49.251] (helo=[9.37.214.129]) by smtpauth07.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1Ek5Hi-0000Z1-Qh; Wed, 07 Dec 2005 14:49:02 -0500 Message-ID: <43973CAC.7050702@earthlink.net> Date: Wed, 07 Dec 2005 14:49:00 -0500 From: Joe Bohn User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org CC: geronimo-dev@apache.org Subject: Re: Statistics Management and Jetty/Tomcat References: <438CD0D3.9060109@earthlink.net> <438CD9BA.1040609@mortbay.com> <438D0462.40708@earthlink.net> <438D47DA.3050300@mortbay.com> <438DC0CA.1030505@earthlink.net> <74e15baa0511300737i797131deja4b41bb01ec2832a@mail.gmail.com> <438E0522.4050204@mortbay.com> <43927598.2080102@earthlink.net> <439282B5.6040107@mortbay.com> <4392D676.1000102@mortbay.com> In-Reply-To: <4392D676.1000102@mortbay.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: c408501814fc19611aa676d7e74259b7b3291a7d08dfec790aa9070758835a2924909f3dfd01a55a350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 129.33.49.251 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Greg I've modified the list below to add what we would like to present in Geronimo. Jeff and/or Anita, Do you think we can get comparable information from tomcat? We would also need to know how to enable, disable, and reset these statistics for tomcat. Joe Greg Wilkins wrote: > These new stats methods are in Jetty CVS if you want them in a hurry. > I'll update the snapshot releases tomorrow. > > cheers > > > Greg Wilkins wrote: > > >>So would you be OK with the following stats: >> >> private transient long _statsStartedAt=0; // time stats collection started >> >> private transient int _connections; // total number of connections made to server >> >> private transient int _connectionsOpen; // number of connections currently open >> private transient int _connectionsOpenMin; // min number of connections open simultaneously >> private transient int _connectionsOpenMax; // max number of connections open simultaneously >> >> private transient long _connectionsDurationMin; // min duration of a connection >> private transient long _connectionsDurationMax; // max duration of a connection >> private transient long _connectionsDurationTotalTime; // total duration of all coneection private transient long _connectionsDurationCount; // total number of connections created (I guess this would be the same as _connections above so perhaps we don't need it again in this form) >> >> >> private transient int _errors; // total bad requests to the server >> private transient int _requests; // total requests made to the server >> >> private transient int _requestsActive; // number of requests currently being handled >> private transient int _requestsActiveMin; // min number of connections handled simultaneously >> private transient int _requestsActiveMax; // max number of connections handled simultaneously >> >> private transient int _connectionsRequestsMin; // min requests per connection >> private transient int _connectionsRequestsMax; // max requests per connection private transient int _connectionsRequestsCurrent; // The number of connection requests currently in progress (I guess this would be no different than the _connectionsOpen above ... so perhaps we don't need this again in this form) >> >> private transient long _requestsDurationMin; // min request duration >> private transient long _requestsDurationMax; // max request duration >> private transient long _requestsDurationTotalTime; // total request duration time private transient long _requestsDurationCount; // total number of requests (I guess this would be no different than _requests above ... so perhaps we don't need it again in this form) >> > > > > > -- Joe Bohn joe.bohn@earthlink.net "He is no fool who gives what he cannot keep, to gain what he cannot lose." -- Jim Elliot