Re: Tuning session replication on clusters

2012-09-06 Thread Joseph
Try jmap , jps,they will tell you about the usage of memory if you have doubt and monitor network data transfered 在 2012-9-6,13:59,kharp...@oreillyauto.com 写道: Alright, I did some more testing with another application and found the following: SessTime (sec 100.101 1250.101

RE: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-06 Thread Shailendra Singh
Thanks a lot for your responses, I posted this query multiple times to get more and more responses. Please don’t consider this as spam, And after applying the answers(increase of memory) I got this issue resolved to some extent. Thanking you all again. Shailendra -Original Message-

Re: Tuning session replication on clusters

2012-09-06 Thread Daniel Mikusa
On Sep 5, 2012, at 8:48 PM, kharp...@oreillyauto.com wrote: 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) in front of a few web servers (apache

org/eclipse/jdt/internal methods in tomcat 7 profilinig

2012-09-06 Thread Ragini
Hi all, I am trying to profile tomcat 7 with java profiler. I start the tomacat run web application(small) in browser and stop the server. When I stop the server, I get the output from the profiler. Please note that I am using ubunut 12.04. I have put war file(chat.war) in webapps dir of

Re: org/eclipse/jdt/internal methods in tomcat 7 profilinig

2012-09-06 Thread Mark Thomas
On 06/09/2012 13:19, Ragini wrote: So where do this eclipse/jdt classes reside in tomcat ? $CATALINA_HOME/lib/ecj-3.7.2.jar What are they used for ? Compiling the .java files generated from .jsp files into .class files. why each time they get executed when I run any web application ? They

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

[ANN] Apache Tomcat 7.0.30 released

2012-09-06 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.30. Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. This release contains numerous bug fixes and improvements compared to version 7.0.29. The notable

Re: Tomcat HeapMemoryUsage MBean question

2012-09-06 Thread Shanti Suresh
Hi Christopher, On Wed, Sep 5, 2012 at 9:46 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shanti, On 9/4/12 3:18 PM, Shanti Suresh wrote: I would like to graph Tomcat's HeapMemoryUsage - used mbean value for trending. I

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: When will be the tomcat version 7.0.30 released

2012-09-06 Thread Rainer Jung
On 06.09.2012 16:56, Sunny Mittal wrote: I upgraded to tomcat 7.0.29 version and found that it has some Out of Memory issues. So we are planning to wait and upgrade to 7.0.30. Can you tell what is the release date for tomcat 7.0.30? Current expectation is between hours and very few days.

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: When will be the tomcat version 7.0.30 released

2012-09-06 Thread Rainer Jung
On 06.09.2012 17:01, Rainer Jung wrote: On 06.09.2012 16:56, Sunny Mittal wrote: I upgraded to tomcat 7.0.29 version and found that it has some Out of Memory issues. So we are planning to wait and upgrade to 7.0.30. Can you tell what is the release date for tomcat 7.0.30? Current expectation

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: When will be the tomcat version 7.0.30 released

2012-09-06 Thread Casper Wandahl Schmidt
Den 06-09-2012 17:16, Rainer Jung skrev: On 06.09.2012 17:01, Rainer Jung wrote: On 06.09.2012 16:56, Sunny Mittal wrote: I upgraded to tomcat 7.0.29 version and found that it has some Out of Memory issues. So we are planning to wait and upgrade to 7.0.30. Can you tell what is the release

Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread Udam Dewaraja
Hi all, I'm stumped on a seemingly java/tomcat related issue and am hoping someone can provide some help. We have two users ('user1' and 'user2') on our linux server that share the same group ('group1'). User 'user1' writes some files that have the following permissions: -rw-r- 1 user1

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: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread André Warnier
Udam Dewaraja wrote: Hi all, I'm stumped on a seemingly java/tomcat related issue and am hoping someone can provide some help. We have two users ('user1' and 'user2') on our linux server that share the same group ('group1'). User 'user1' writes some files that have the following permissions:

Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread Udam Dewaraja
In my code, the RandomAccess file is trying to do a read (code below). That's why all my tests are doing reads. logFile = new RandomAccessFile(fileToRead, r); The sample java application I ran executes the exact same line above (with the same file) and reads the contents correctly. However, in

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

Re: Tomcat HeapMemoryUsage MBean question

2012-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shanti, On 9/6/12 10:15 AM, Shanti Suresh wrote: Oh my! Thank you! I remember reading that a while back but just missed it when in need. However, the syntax didn't produce the desired results.