You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2009/05/01 09:54:27 UTC

Re: Analyzing Request Logger

GiB vs GB

Martijn

On Thu, Apr 30, 2009 at 11:58 PM, Douglas Ferguson
<do...@douglasferguson.us> wrote:
> Shouldn't this:
>                        long max = runtime.maxMemory() / 1000000;
>                        long total = runtime.totalMemory() / 1000000;
>                        long used = total - runtime.freeMemory() / 1000000;
>
> be this:
>
>                        long max = runtime.maxMemory() / 1048576;
>                        long total = runtime.totalMemory() / 1048576;
>                        long used = total - runtime.freeMemory() / 1048576;
>
>
>
> Douglas Ferguson
>
> mobile: 512.293.7279
> office/fax: 512.462.0408
> skype: stillrecording
> aim:   DaAmericanRuse
>
> -
>
> http://www.linkedin.com/in/douglasferguson
> http://www.myspace.com/douglasferguson
> http://www.douglasferguson.us/
> http://www.distilleryrecords.com/
> http://www.stillrecording.com/
>
> Join my mailing list: distilleryrecords-subscribe@yahoogroups.com
> ________________________________________
> From: Jeremy Thomerson [jeremy@wickettraining.com]
> Sent: Thursday, April 30, 2009 2:43 PM
> To: users@wicket.apache.org
> Subject: Re: Analyzing Request Logger
>
> That's the great thing about open source - you have the source.  You
> can view the source.  And the source answers many of your questions.
>
> http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestLogger.java?view=markup
>
> Use the source Luke!  May the source be with you!
>
> After you take a look at that, let us know what questions you still have.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
>
> On Thu, Apr 30, 2009 at 2:35 PM, Douglas Ferguson
> <do...@douglasferguson.us> wrote:
>> Howdy,
>>
>> I turned on the request logger and now I'm trying to figure out what this is telling me.
>>
>> Specifically...
>>
>> 1) What does sessionsize return? Is the size in bytes?
>> 2) total & used - is this for the entire VM?
>> 3) what is time vs. total time?
>> 4) is time in mili-seconds?
>> 5) I set the window size to 0 because I was worried about this effecting performance? Is this wise?
>> 6) Does the request logger effect performance? Is it safe to run in production?
>>
>>
>> Douglas
>>
>> Apr 30 14:33:37 INFO  [TP-Processor8] http.RequestLogger - time=191,event=Interface[target:MediaOutletAddOrEdit$MediaOutletForm$4(dataPanel:contentCenterBox:addMediaOutletForm:add), page: com.conducive.ui.userPages.contacts.media.Media(3), interface: IActivePageBehaviorListener.onRequest],response=PageRequest[com.conducive.ui.userPages.contacts.media.Media(3)],sessionid=FD21BB53EF7C09B81C5C50360D1CA670,sessionsize=82369,sessionstart=Thu Apr 30 14:32:48 CDT 2009,requests=31,totaltime=8799,activerequests=1,maxmem=133M,total=58M,used=52M
>>
>>
>>
>> Douglas Ferguson
>>
>> mobile: 512.293.7279
>> office/fax: 512.462.0408
>> skype: stillrecording
>> aim:   DaAmericanRuse
>>
>> -
>>
>> http://www.linkedin.com/in/douglasferguson
>> http://www.myspace.com/douglasferguson
>> http://www.douglasferguson.us/
>> http://www.distilleryrecords.com/
>> http://www.stillrecording.com/
>>
>> Join my mailing list: distilleryrecords-subscribe@yahoogroups.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org