That wouls explain my question "1", as I suspected.
But how can we explain the memory usage difference between the nodes, where
the replica node memory usage keeps growing and growing?
The GC setting were something I tought of (check my "Clustering memory
usage, can we use more agressive GC settings?" thread), but then again, the
behaviour on the master node should be the same as in the replica node as
they use the same VM with the same settings...

Ok, please follow my toughts for a second:
a) Replica node never actively uses the session it get in a replicated
state.
b) Sessions may expire on master node, what would explain why the memory
does not increase that much.
c) Check the "Http session replication with tomcat 4" page [1], ans see the
cluster messages that are implemented. Suposing that this implementation is
similar to the one of JBoss, is it possible that one of these things are
happening:
  c1) The master node does not issue a "Session expiration" message to the
cluster?
  c2) The replica node ignores a "Session expiration" message keeping the
sessions on memory?

Can we give this a tought for a second? I don't see any flaws in my
reasoning...

[1] - http://www.filip.net/tomcat/tomcat-javagroups.html


----- Original Message -----
From: "Sacha Labourey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 4:24 PM
Subject: RE: [JBoss-user] Cluster "replica" absurd memory usage ?!?


That the memory usage is bigger is logical as many more objects are created
when using clustering compared to the non-clustered case. Furthermore, it is
up to the JVM GC to decide when to reclaim that memory. Maybe the memory is
used but could be reclaimed.

> Joao Clemente wrote:
>
[snip]
> > Now, who can explain:
> >  1 - why the 1rst machine memory usage increase? maybe
> related with being
> > part of the cluster... but no session info needs to be
> replicated here as
> > there is no requests being served by the replica machine...
> >  2 - why is the replica memory usage getting larger and
> larger each run of
> > the test? It seems to grow about 60 Mb per run...



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11-09-2003



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to