Re: Tomcat maxThreads Issue

2009-06-11 Thread Rainer Jung
r threads of one connector, so the problem (exhausted connector thread pool) was already over. Regards, Rainer > -Original Message- From: Rainer Jung > Sent: Thursday, June 11, 2009 6:08 PM To: > Tomcat Users List Subject: Re: Tomcat > maxThreads Issue > > > On

RE: Tomcat maxThreads Issue

2009-06-11 Thread Jones, Keven
This is a thread dump during a problem. I will take your advice and execute 3 whan the next event happens. Thank you for your help! -Original Message- From: Rainer Jung Sent: Thursday, June 11, 2009 6:08 PM To: Tomcat Users List Subject: Re: Tomcat maxThreads Issue On 10.06.2009 18

Re: Tomcat maxThreads Issue

2009-06-11 Thread Rainer Jung
On 10.06.2009 18:26, Jones, Keven wrote: > FYI, I'm just the linux admin as the "applicatons" group/developer > and coder is not making any headway into resolving this. This is a > mobility application (ie. Mobile banking, so you go to your iphone > and go to your bank.mobi..)not that it matter but

Re: Tomcat maxThreads Issue

2009-06-11 Thread Rainer Jung
On 10.06.2009 21:25, Caldarale, Charles R wrote: >> From: Jones, Keven [mailto:keven.jo...@ncr.com] Subject: RE: Tomcat >> maxThreads Issue >> >> > redirectPort="8443" maxThreads="400" connectionTimeout="2"/> >

RE: Tomcat maxThreads Issue

2009-06-11 Thread Caldarale, Charles R
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxThreads Issue > > He is stating that If I put an address (the same address > Of the linux server that the tomcat instance is running on) > that that message will go away and the maxThreads will >

RE: Tomcat maxThreads Issue

2009-06-11 Thread Jones, Keven
Users List Subject: RE: Tomcat maxThreads Issue > From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxThreads Issue > > enableLookups="false" protocol="AJP/1.3" redirectPort="8443" > maxThreads="400" connection

Re: Tomcat maxThreads Issue

2009-06-10 Thread Bill Barker
"Caldarale, Charles R" wrote in message news:0aae5ab84b013e45a7b61cb66943c17228fc438...@usea-exch7.na.uis.unisys.com... >> From: Jones, Keven [mailto:keven.jo...@ncr.com] >> Subject: RE: Tomcat maxThreads Issue >> >> > enableLookups="fa

Re: Tomcat maxThreads Issue

2009-06-10 Thread Chetan Chheda
What does your Apache access_log say at the time when tomcat threads are exhausted ? I had a very similar issue in my environment. The culprit turned out to be JkMount options. Apache was sending all requests, whether it is for static or dynamic content to tomcat. At the same time my tomcats l

RE: Tomcat maxThreads Issue

2009-06-10 Thread Caldarale, Charles R
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxThreads Issue > > enableLookups="false" protocol="AJP/1.3" redirectPort="8443" > maxThreads="400" connectionTimeout="2"/> The syntax

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
9 1:02 PM To: Tomcat Users List Subject: Re: Tomcat maxThreads Issue Looking at the history of the thread - here are some guesses You have a connector on port 81 (http) and a connector on 8011 (ajp) and commented out connector for 443. The port 81 connector and commented out connector are set

RE: Tomcat maxThreads Issue

2009-06-10 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Tomcat maxThreads Issue > > There has been much discussion about this of late on this mailing list; > I'll try to find some pointers for you. This is a useful reference: http://tomcat.apache.org/connectors-doc/generic_howto/ti

RE: Tomcat maxThreads Issue

2009-06-10 Thread Caldarale, Charles R
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxThreads Issue > I see we have Engine set to Standalone, > And I see the Service is catalina (?) I would leave the name as Catalina (it's case sensitive), since that's what everyone expects (un

RE: Tomcat maxThreads Issue

2009-06-10 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Subject: Re: Tomcat maxThreads Issue > > Add the following somewhere near the top (I place mine after all the > explanatory comments): > JAVA_OPTS=" -Xmx1024m" Again, if there's no evidence of a heap i

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
ssage- From: Tim Funk [mailto:funk...@apache.org] Sent: Wednesday, June 10, 2009 1:33 PM To: Tomcat Users List Subject: Re: Tomcat maxThreads Issue If your not scared of the performance penalty (which these days isn't scary unless you really have high load) - try adding this to your apache c

Re: Tomcat maxThreads Issue

2009-06-10 Thread Jonathan Mast
arte tomcat instances. So we have a total of 16 > tomcat instances across 4 servers. > > Yes, there is a firewall between the web sever and the > app(tomcat)/db(mysql) server. > > KJ > > -Original Message- > From: Tim Funk [mailto:funk...@apache.org] > Sent:

RE: Tomcat maxThreads Issue

2009-06-10 Thread Caldarale, Charles R
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxThreads Issue > > I am going to attempt to set the maxThreads on 8011 > to 600 and hope it helps. It will likely only postpone the problem. > Yes, there is a firewall between the web sever and the >

Re: Tomcat maxThreads Issue

2009-06-10 Thread Tim Funk
: Tim Funk [mailto:funk...@apache.org] Sent: Wednesday, June 10, 2009 1:02 PM To: Tomcat Users List Subject: Re: Tomcat maxThreads Issue Looking at the history of the thread - here are some guesses You have a connector on port 81 (http) and a connector on 8011 (ajp) and commented out connecto

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
firewall between the web sever and the app(tomcat)/db(mysql) server. KJ -Original Message- From: Tim Funk [mailto:funk...@apache.org] Sent: Wednesday, June 10, 2009 1:02 PM To: Tomcat Users List Subject: Re: Tomcat maxThreads Issue Looking at the history of the thread - here are some

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
List Subject: Re: Tomcat maxThreads Issue I encountered a similar issue of numerous Httpd processes spawning b/c of Tomcat. The issue for me was that Tomcat was running out of memory, and Httpd for some reason thought spawning a bunch a threads would help ;) Do you know how much memory these

Re: Tomcat maxThreads Issue

2009-06-10 Thread Jonathan Mast
I encountered a similar issue of numerous Httpd processes spawning b/c of Tomcat. The issue for me was that Tomcat was running out of memory, and Httpd for some reason thought spawning a bunch a threads would help ;) Do you know how much memory these instances of Tomcat are using? The default JV

Re: Tomcat maxThreads Issue

2009-06-10 Thread Tim Funk
Looking at the history of the thread - here are some guesses You have a connector on port 81 (http) and a connector on 8011 (ajp) and commented out connector for 443. The port 81 connector and commented out connector are set to 600 - which means absolutely nothing if apache is talking to

RE: Tomcat maxThreads Issue

2009-06-10 Thread Peter Crowther
OK, so that's a JRockit JVM, not a Sun JVM. Remind me not to point you at any more Sun documentation! As a rough look at that, there are a few threads in the HTTP connector thread pool, a bunch of threads reading data from JK connections, and one or two in your app code. I've never looked at

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
va/lang/Object;J)V(Unknown Source)[inlined] at java/lang/Object.wait()V(Native Method)[optimized] at org/apache/tomcat/util/threads/ThreadPool$ControlRunnable.run(ThreadPool.java:658) ^-- Lock released while waiting: org/apache/tomcat/util/threads/threadpool$controlrunna...@0x19 873a80[fat lock] at java/la

RE: Tomcat maxThreads Issue

2009-06-10 Thread Peter Crowther
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > How do I > > A. get thread dumps when the processes are dying The top of http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/ is good general reading. kill -QUIT If ps is confused by all the threads, depending on your Java

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
ginal Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, June 10, 2009 11:33 AM To: Tomcat Users List Subject: RE: Tomcat maxThreads Issue > From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxTh

RE: Tomcat maxThreads Issue

2009-06-10 Thread Caldarale, Charles R
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > Subject: RE: Tomcat maxThreads Issue > > > enableLookups="false" protocol="AJP/1.3" redirectPort="8443" /> This is the connector Mark was referring to (he should have sa

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
Crowther [mailto:peter.crowt...@melandra.com] Sent: Wednesday, June 10, 2009 11:19 AM To: 'Tomcat Users List' Subject: RE: Tomcat maxThreads Issue > From: Jones, Keven [mailto:keven.jo...@ncr.com] Here is the complete > config file. Thanks for the quick reply. The list st

RE: Tomcat maxThreads Issue

2009-06-10 Thread Peter Crowther
> From: Jones, Keven [mailto:keven.jo...@ncr.com] > Here is the complete config file. Thanks for the quick reply. The list strips attachments - please paste inline. - Peter - To unsubscribe, e-mail: users-unsubs

RE: Tomcat maxThreads Issue

2009-06-10 Thread Jones, Keven
Here is the complete config file. Thanks for the quick reply. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, June 10, 2009 11:14 AM To: Tomcat Users List Subject: Re: Tomcat maxThreads Issue Jones, Keven wrote: > Hello, > > I have Tomc

Re: Tomcat maxThreads Issue

2009-06-10 Thread Mark Thomas
Jones, Keven wrote: > Hello, > > I have Tomcat (can't figure out what version as the version.sh script is > giving all kinds of errors) running on separate Linux servers. So an overview > of my config is > 1 web server, 4 app servers (tomcat), and 1 db server. > > We were seeing an increase in