tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ja kub <jjaku...@gmail.com>
Subject Re: backupManager - backup on all nodes and slowly
Date Tue, 04 Feb 2014 09:08:01 GMT
in Manager app I see:
after
ab  -k -n 100 -p post.txt http://localhost:18080/petclinic/session/fill

on 18080 in petclinic 100 sessions
on 28080 in petclinic 25 sessions
on 38080 in petclinic 25 sessions
on 48080 in petclinic 50 sessions     !!!! yes two times more

after adding
ab  -k -n 900 -p post.txt http://localhost:18080/petclinic/session/fill

on 18080 in petclinic 1000 sessions
on 28080 in petclinic 250 sessions
on 38080 in petclinic 250 sessions
on 48080 in petclinic 500 sessions   !!!! yes still two times more

Is it not strange ?
18080, 28080, 38080, 48080 have the same configuration.

What can be the cause ?



On Mon, Feb 3, 2014 at 1:46 PM, Mark Thomas <markt@apache.org> wrote:

> On 03/02/2014 11:59, Ja kub wrote:
> > Ok, thx,
> >
> > 2 questions:
> >
> > 1) If I will have only one very large session (about 100Mb), will memory
> > increase only on one backup node, and on 2 other nodes in cluster memory
> > will not increase ?
>
> You should see an increase on the primary and the backup node for that
> session. The proxy sessions on the other two nodes should be minimal
> since they just hold the session ID and the locations of the primary and
> backup copies.
>
> > 2) On 18080 node, on which all queries where asked memory increased not
> too
> > much than 100Mb, and on each of other nodes memory also increased about
> 100
> > Mb.
> >   Is it not strange ? I would expect about 35-50 Mb of memory increase on
> > each of 3 backup nodes. Now memory consumption is the same as with Delta
> > Manager.
>
> It depends a lot on what that memory is doing. You'd need to look very
> carefully with a profiler to be sure of what was going on.
>
> You can use the Manager app to see which sessions are on which nodes in
> what state.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message