Re: Tuning session replication on clusters

2012-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kyle, On 9/7/12 12:19 PM, kharp...@oreillyauto.com wrote: > Chris: >> Assembling the sessions into a Collection is likely to be very >> fast, since it's just copying references around: the size of the >> individual sessions should not matter. Of cours

Re: Tuning session replication on clusters

2012-09-07 Thread llowder
Shanti Suresh wrote on 09/07/2012 12:37:34 PM: > From: Shanti Suresh > To: Tomcat Users List > Date: 09/07/2012 12:44 PM > Subject: Re: Tuning session replication on clusters > > Hi Kyle, > > Great testing, btw. > > So when you say "x5", did you cha

Re: Tuning session replication on clusters

2012-09-07 Thread kharper2
Shanti: >So when you say "x5", did you change the settings as follows: >rxBufAize="125940" (=> 25188 x 5) Yes, x5 means default values (25188 and 43800) times 5. Each value was extrapolated in the spreadsheet so you can see them there too. >By any chance, have you analyzed a heapdump of Tomcat

Re: Tuning session replication on clusters

2012-09-07 Thread Shanti Suresh
Hi Kyle, Great testing, btw. So when you say "x5", did you change the settings as follows: rxBufAize="125940" (=> 25188 x 5) By any chance, have you analyzed a heapdump of Tomcat at periodic intervals to see which class is hogging heap during the session replication? Thanks.

Re: Tuning session replication on clusters

2012-09-07 Thread Pid *
On 5 Sep 2012, at 20:51, "llow...@oreillyauto.com" wrote: > > I have a small cluster of 3 nodes running tomcat 6.0.24 with openJDK > 1.6.0_20 on Ubuntu 10.04 LTS. You should really consider upgrading Java. While you're at it, try Tomcat 7.0.30 in your lab and have a look at BackupManager (instea

Re: Tuning session replication on clusters

2012-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kyle, On 9/6/12 2:45 PM, kharp...@oreillyauto.com wrote: > Chris: >> One question: Plot those as X-Y in a spreadsheet and you'll see >> that it's only a bit worse than linear, especially after 1500. >> There's no enough data presented to draw an "expo

Re: Tuning session replication on clusters

2012-09-06 Thread kharper2
Rainer: Thanks for the input. I'll do some additional testing with the sendAllSessions attributes, but my initial testing didn't show much gain. If the rx/tx settings are already chunking up the session bytes into smallish payloads then nothing I change with the sendAllSessions will improve that.

Re: Tuning session replication on clusters

2012-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kyle, On 9/5/12 9:59 PM, kharp...@oreillyauto.com wrote: > Alright, I did some more testing with another application and found > the following: > > SessTime (sec 10 0.101 125 0.101 500 0.201 1500 0.201 > 1800 > 0.101 24000.

Re: Tuning session replication on clusters

2012-09-06 Thread Rainer Jung
On 06.09.2012 16:57, Rainer Jung wrote: On 06.09.2012 15:10, kharp...@oreillyauto.com wrote: ... This actually didn't surprise me after I discovered how large the sessions were. Using JMX (VisualVM) I watched the Heap size on my two servers as I tested 7000 sessions. Heap climbed approximatel

Re: Tuning session replication on clusters

2012-09-06 Thread Rainer Jung
On 06.09.2012 15:10, kharp...@oreillyauto.com wrote: ... This actually didn't surprise me after I discovered how large the sessions were. Using JMX (VisualVM) I watched the Heap size on my two servers as I tested 7000 sessions. Heap climbed approximately 1GB. When I restarted node2, I watched

Re: Tuning session replication on clusters

2012-09-06 Thread kharper2
Thanks all for replies (and for the jmap/jps idea, hadn't thought of that for some reason). I tried increasing the maxThreads on the NioReceviever and noticed no performance gain. I then modified the poolSize on the Transport element to 100 and saw no performance gain. This actually didn't surpr

Re: Tuning session replication on clusters

2012-09-06 Thread Daniel Mikusa
following to the Manager tag (stole this from the 5.5 docs; not > even sure it's valid in 6.x): > sendAllSessions="false" > sendAllSessionsSize="500" > sendAllSessionsWait="20" > > > What has me

Re: Tuning session replication on clusters

2012-09-05 Thread Joseph
27;s happening feel free to set me straight. > > I'll check back later... I need to go beat some developers... > > > Kyle Harper > > > > > From: kharp...@oreillyauto.com > To:"Tomcat Users List" > Date:09/05/2012 07:55 PM >

Re: Tuning session replication on clusters

2012-09-05 Thread Igor Cicimov
rs... > > > Kyle Harper > > > > > From: kharp...@oreillyauto.com > To: "Tomcat Users List" > Date: 09/05/2012 07:55 PM > Subject:Re: Tuning session replication on clusters > > > > I'm working with Lee on this as well, so I c

Re: Tuning session replication on clusters

2012-09-05 Thread kharper2
#x27;. If anyone has any more background on what's happening feel free to set me straight. I'll check back later... I need to go beat some developers... Kyle Harper From: kharp...@oreillyauto.com To: "Tomcat Users List" Date: 09/05/2012 07:55 PM Subject: Re:

Re: Tuning session replication on clusters

2012-09-05 Thread kharper2
licate the sessions in under 19 seconds. Any ideas would be greatly appreciated. I have a full test environment to simulate anything you might recommend. Sincerely, Kyle Harper From: Igor Cicimov To: Tomcat Users List Date: 09/05/2012 07:12 PM Subject:Re: Tuning sessi

Re: Tuning session replication on clusters

2012-09-05 Thread Igor Cicimov
On Thu, Sep 6, 2012 at 5:51 AM, wrote: > > I have a small cluster of 3 nodes running tomcat 6.0.24 with openJDK > 1.6.0_20 on Ubuntu 10.04 LTS. > > I have roughly 5,000-6,000 sessions at any given time, and when I restart > one of the nodes I am finding that not all sessions are getting > replica

Tuning session replication on clusters

2012-09-05 Thread llowder
I have a small cluster of 3 nodes running tomcat 6.0.24 with openJDK 1.6.0_20 on Ubuntu 10.04 LTS. I have roughly 5,000-6,000 sessions at any given time, and when I restart one of the nodes I am finding that not all sessions are getting replicated , even when I have the state transfer timeout se