Re: Tuning session replication on clusters

2012-09-05 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.1

Re: Tuning session replication on clusters

2012-09-05 Thread Igor Cicimov
On Thu, Sep 6, 2012 at 11:59 AM, 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 > 15000.201 > 18000.101 > 24000.101 > 42,000 0.901 (that's not a typo) > > Turns out t

Re: Tuning session replication on clusters

2012-09-05 Thread kharper2
Alright, I did some more testing with another application and found the following: SessTime (sec 10 0.101 125 0.101 500 0.201 15000.201 18000.101 24000.101 42,000 0.901 (that's not a typo) Turns out the application that was having trouble is storing a silly amount o

Re: Tuning session replication on clusters

2012-09-05 Thread kharper2
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 2.2.x, mod_proxy/mod_ajp) which are using stickysessions and Balancer

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

Re: [OT] Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-05 Thread David Kerber
Ok. You've dealt with it a lot more than I have. I had thought we started with it in the late 90's, but I guess I might be wrong on that; I didn't go back and look anything up. The transaction and restart stats are accurate, though... On 9/5/2012 6:22 PM, Christopher Schultz wrote: -B

Re: [OT] Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 9/5/12 3:43 PM, David kerber wrote: > On 9/5/2012 3:29 PM, PJ Delsh wrote: >> Chris and Tim, When we had Tomcat issues, every Tomcat >> professional we spoke to told us to drop Windows and move to >> Linux ASAP. We were told that Tomcat is

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

2012-09-05 Thread Terence M. Bandoian
On 9/5/2012 2:29 PM, PJ Delsh wrote: Chris and Tim, When we had Tomcat issues, every Tomcat professional we spoke to told us to drop Windows and move to Linux ASAP. We were told that Tomcat is more stable and less sensitive on Linux, and there are far better troubleshooting tools on Linux tha

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

2012-09-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PJ, On 9/5/12 3:29 PM, PJ Delsh wrote: > When we had Tomcat issues, every Tomcat professional we spoke to > told us to drop Windows and move to Linux ASAP. I wouldn't argue that moving away from Microsoft Windows isn't a good idea in general, but yo

Re: Login Delay

2012-09-05 Thread David A. Rush
Shoving those parameters into the Resource element seems to have done the trick. It'll take a while to get a few verification tests done (what with the 90 minute idle requirement and pesky users actually USING the app), but it looks promising so far. Thanks, Felix. David On 2012-09-05 08:29,

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

2012-09-05 Thread André Warnier
Pid * wrote: edited for my amusement. On 5 Sep 2012, at 17:16, PJ Delsh wrote: Shailendra, I'm not an expert, Really? Once we fixed the leaks, Tomcat was stable. Quel surprise. After months of searching, we think the issue was having system.exit(0) in our code. A classic blunder.

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

2012-09-05 Thread Hedrick, Brooke - 43
-Original Message- From: PJ Delsh [mailto:pjdelsh...@hotmail.com] Sent: Wednesday, September 05, 2012 2:29 PM To: Tomcat Users List Subject: RE: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33) >Chris and Tim, >When we had Tomcat issues, every Tomcat p

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

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

2012-09-05 Thread David kerber
On 9/5/2012 3:29 PM, PJ Delsh wrote: Chris and Tim, When we had Tomcat issues, every Tomcat professional we spoke to told us to drop Windows and move to Linux ASAP. We were told that Tomcat is more stable and less sensitive on Linux, and there are far better troubleshooting tools on Linux tha

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

2012-09-05 Thread Pid *
edited for my amusement. On 5 Sep 2012, at 17:16, PJ Delsh wrote: > Shailendra, I'm not an expert, Really? > Once we fixed the leaks, Tomcat was stable. Quel surprise. > After months of searching, we think the issue was having system.exit(0) in > our code. A classic blunder. After which y

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

2012-09-05 Thread PJ Delsh
Chris and Tim, When we had Tomcat issues, every Tomcat professional we spoke to told us to drop Windows and move to Linux ASAP. We were told that Tomcat is more stable and less sensitive on Linux, and there are far better troubleshooting tools on Linux than there are for Windows. If this is

Re: tomcat 6 virtual hosting vs apache virtual hosting

2012-09-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles, On 9/5/12 2:43 PM, Charles Richard wrote: > I'm not completely sure yet about the application segmentation. > 2nd day on the job and there's lots to do! I'm not used to this > method of configuring Tomcat so I'm still trying to make sure I >

Re: tomcat 6 virtual hosting vs apache virtual hosting

2012-09-05 Thread Charles Richard
Thanks for the replies. I'm not completely sure yet about the application segmentation. 2nd day on the job and there's lots to do! I'm not used to this method of configuring Tomcat so I'm still trying to make sure I understand exactly what is going on and I have very limited time to do so. Apac

Re: tomcat 6 virtual hosting vs apache virtual hosting

2012-09-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles, On 9/4/12 2:13 PM, Charles Richard wrote: > I've started a new job where the last sysadmin has the virtual > hosting configured in Tomcat (and Apache). I'm used to only doing > virtual hosting with Apache. > > What are the pros and cons of

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

2012-09-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 9/5/12 1:17 PM, Tim Watts wrote: > On Wed, 2012-09-05 at 12:16 -0400, PJ Delsh wrote: >> Shailendra, I'm not an expert, but when we had this same issue, >> we increased the Initial Memory Pool and Maximum Memory pool (XMS >> and XMX) in the T

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

2012-09-05 Thread Tim Watts
On Wed, 2012-09-05 at 12:16 -0400, PJ Delsh wrote: > Shailendra, I'm not an expert, but when we had this same issue, we > increased the Initial Memory Pool and Maximum Memory pool (XMS and > XMX) in the Tomcat Monitor in Windows 2008.We also had a leak in some > of our JSP files that was causing T

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

2012-09-05 Thread PJ Delsh
Shailendra, I'm not an expert, but when we had this same issue, we increased the Initial Memory Pool and Maximum Memory pool (XMS and XMX) in the Tomcat Monitor in Windows 2008.We also had a leak in some of our JSP files that was causing Tomcat to hang several times during business hours. We c

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

2012-09-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shailendra, On 9/5/12 2:50 AM, Shailendra Singh wrote: > We are using 64 bit Tomcat 6.0.35 with windows 2008 R2 (64 bit JVM > 1.6.0_33) and facing memory leak issues(OutOfMemoryError ) after a > short interval of time( ~30 minutes). > > We deploy a

Re: Tomcat HeapMemoryUsage MBean question

2012-09-05 Thread Christopher Schultz
-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 have installed Tomcat's manager application with a > user belonging only to the "manager-jmx" role. I would like t

RE: Windows Path Not Found for urandom

2012-09-05 Thread Jeffrey Janner
Thanks, Konstanin. > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Wednesday, September 05, 2012 3:09 AM > To: Tomcat Users List > Subject: Re: Windows Path Not Found for urandom > > 2012/9/1 Jeffrey Janner : > >> > > It just seems that it does it e

GlobalSign certificates install on Tomcat 7

2012-09-05 Thread Tom Anthony
Hi, I would like to install globalsign certificates on my tomcat server. I am running Tomcat 7 on linux. I did the following: (on the server) 1) received 4 files from globalsign: * globalsign.root.pem * globalsign.intermediate.pem * abccompany.secure * abccompany.pem 2) created a chai

Re: Login Delay

2012-09-05 Thread David A. Rush
Felix: Thanks for the suggestions, they look promising. But are these parameters for the Resource element? I'll give that a shot David On 2012-09-05 02:50, Felix Schumacher wrote: David, while you should still look for a firewall or similar thing, that invalidates your network connect

Re: Windows Path Not Found for urandom

2012-09-05 Thread Konstantin Kolinko
2012/9/1 Jeffrey Janner : >> > It just seems that it does it everytime the session is created that is > causing the issue with my customer. If Tomcat could remember that the file > doesn't exists once per boot, but then again, on systems where the file does > exist, you want to keep checking in