Re: Tuning session replication on clusters

2012-09-07 Thread Pid *
On 5 Sep 2012, at 20:51, llow...@oreillyauto.com 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

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 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 at

Re: Tuning session replication on clusters

2012-09-07 Thread llowder
Shanti Suresh sha...@umich.edu wrote on 09/07/2012 12:37:34 PM: From: Shanti Suresh sha...@umich.edu To: Tomcat Users List users@tomcat.apache.org 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

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 course,

Re: Tuning session replication on clusters

2012-09-06 Thread Joseph
developers... Kyle Harper From:kharp...@oreillyauto.com To:Tomcat Users List users@tomcat.apache.org 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 can help answer most of that. In short: Yes

Re: Tuning session replication on clusters

2012-09-06 Thread Daniel Mikusa
be greatly appreciated. I have a full test environment to simulate anything you might recommend. Sincerely, Kyle Harper From: Igor Cicimov icici...@gmail.com To: Tomcat Users List users@tomcat.apache.org Date: 09/05/2012 07:12 PM Subject: Re: Tuning session replication

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

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

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

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.101

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

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 exponential

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

Re: Tuning session replication on clusters

2012-09-05 Thread Igor Cicimov
On Thu, Sep 6, 2012 at 5:51 AM, 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. 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

Re: Tuning session replication on clusters

2012-09-05 Thread kharper2
Subject:Re: Tuning session replication on clusters On Thu, Sep 6, 2012 at 5:51 AM, 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. I have roughly 5,000-6,000 sessions at any given time, and when I restart

Re: Tuning session replication on clusters

2012-09-05 Thread kharper2
Cicimov icici...@gmail.com To: Tomcat Users List users@tomcat.apache.org Date:09/05/2012 07:12 PM Subject: Re: Tuning session replication on clusters On Thu, Sep 6, 2012 at 5:51 AM, llow...@oreillyauto.com wrote: I have a small cluster of 3 nodes running

Re: Tuning session replication on clusters

2012-09-05 Thread Igor Cicimov
@tomcat.apache.org 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 can help answer most of that. In short: Yes, all our replication is working well. We have keepalived acting as a vrrp device (no round-robin dns