Re: attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO

2013-11-02 Thread Mark Thomas
On 02/11/2013 00:02, Bob DeRemer wrote: In monitoring the memory, it's not nearing the max available we configured for the JVM, but perhaps there's something going on GC wise. I don't have GC logging enabled and probably should. I haven't done much with that aspect of tuning yet. Just keep

Re: attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO

2013-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 11/1/13, 7:57 PM, Bob DeRemer wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, November 01, 2013 6:11 PM To: Tomcat Users List Subject: Re: attempting to achieve 100K

Re: Tomcat getting stopped when idle

2013-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vidyadhar, On 11/1/13, 11:31 PM, Vidyadhar wrote: Hi Konstantin, On 2 Nov 2013 01:06, Konstantin Kolinko knst.koli...@gmail.com wrote: 2013/11/1 Vidyadhar techienote@gmail.com: On 1 Nov 2013 00:52, Konstantin Kolinko

Re: attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO

2013-11-02 Thread Niki Dokovski
On Sat, Nov 2, 2013 at 3:24 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 11/1/13, 7:57 PM, Bob DeRemer wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent:

How to force undeployOldVersions ?

2013-11-02 Thread Albert Kam
I have had a good experience doing the parallel deployment with the latest stable build of tomcat7, by using autoDeploy after copying a newer version of WAR to the appbase. As i can see from my manager app, there are 2 versions running, the newer one is serving new requests as expected. The

Re: How to force undeployOldVersions ?

2013-11-02 Thread Albert Kam
Hello. I forgot to mention that i've made sure from manager app that the old webapp has 0 sessions, so i think this should have triggered the undeploying process. Here's my host's attributes : Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true

Re: Changelog entry missing for 7.0.47

2013-11-02 Thread Rainer Jung
On 01.11.2013 18:01, Timothy Astle wrote: I don't see an entry in the changelog for 7.0.47? Is it going to be updated? http://tomcat.apache.org/tomcat-7.0-doc/changelog.html I can see it right now. Regards, Rainer - To

Re: How to force undeployOldVersions ?

2013-11-02 Thread Konstantin Kolinko
2013/11/2 Albert Kam moonblade.w...@gmail.com: Hello. I forgot to mention that i've made sure from manager app that the old webapp has 0 sessions, so i think this should have triggered the undeploying process. Here's my host's attributes : Host name=localhost appBase=webapps

weird behavior using Tomcat 7 JSR-356 client implementation in standalone multi-threaded test client

2013-11-02 Thread Bob DeRemer
BACKGROUND: We've created a test client that spins up multiple websocket clients - each in their own thread. While using their own thread isn't very resource efficient, that's ok. We want each client's send/receive to be isolated from each other. Our client logic is using a JSR356 client

Re: How to force undeployOldVersions ?

2013-11-02 Thread Albert Kam
My apologies. My assumption was wrong about using the latest stable build. My debian wheezy's version on tomcat7 package is 7.0.28-4. I wonder how do i upgrade to the latest version without sacrificing all the good stuffs already provided in wheezy, maybe something like updating tomcat's jars ?

How to log response time ?

2013-11-02 Thread Albert Kam
Hello. I'm currently using tomcat 7.0.28-4 on debian wheezy, along with APR connector. I'm having a slow response when accessing the webapp. Based on google chrome's tool to inspect req/response's time, i found out that it takes at around 1 second (around 400ms connecting, sending 1ms, 600ms

Re: How to log response time ?

2013-11-02 Thread Albert Kam
My apology. I also forgot to mention that currently i have no reverse proxy in front of tomcat for the time being. Please share your thoughts on this. Thanks ! On Sun, Nov 3, 2013 at 12:23 PM, Albert Kam moonblade.w...@gmail.comwrote: Hello. I'm currently using tomcat 7.0.28-4 on debian

Re: How to log response time ?

2013-11-02 Thread Albert Kam
I think this doesnt matter now. I've tried accessing the website from different places, and with different results. 0.17ms from Berlin, 0.4ms from US, 0.9ms from Jakarta and Melbourne. So it's indeed the connection problem. On Sun, Nov 3, 2013 at 12:24 PM, Albert Kam