Re: tomcat 6.0 bottleneck

2010-10-05 Thread Rainer Jung

On 05.10.2010 15:27, mamalacation wrote:


n828cl,


n828cl wrote:



Pretty much guaranteed that it's not Tomcat but your webapp that is
locking itself out of access to some resource (such as the database).
Take several thread dumps during the slowdown period and see what's going
on.

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F
http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring

BTW, tell us the *exact* Tomcat version, and the JVM level you're running
on.




as far as the version as concerned:

Tomcat Version:  6.0.26 
JVM Version : 1.6.0_20-b02


Update to 1.6.0_21, there's a serious bug in 20 concerning string 
functions on certain types of x86 CPUs.


Not saying this is reason for anything you observe, it's just not a 
solid base.



JVM Vendor : Sun Microsystems Inc.

I will look at the links you proposed to see what's going on with my
webapps, but I am pretty sure that there must be some limit somewhere that I
can't see.

Where can I set the database options regarding timouts, pool size,
max_database_connections, etc?


Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: tomcat 6.0 bottleneck

2010-10-05 Thread Ronald Klop




Op dinsdag, 5 oktober 2010 15:27 schreef mamalacation 
:


 


n828cl,


n828cl wrote:
> 
> 
> Pretty much guaranteed that it's not Tomcat but your webapp that is
> locking itself out of access to some resource (such as the database). 
> Take several thread dumps during the slowdown period and see what's going

> on.
> 
> http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

> http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring
> 
> BTW, tell us the *exact* Tomcat version, and the JVM level you're running

> on.
> 
> 


as far as the version as concerned:

Tomcat Version:  6.0.26 
JVM Version : 1.6.0_20-b02  
JVM Vendor : Sun Microsystems Inc.


I will look at the links you proposed to see what's going on with my
webapps, but I am pretty sure that there must be some limit somewhere that I
can't see.

Where can I set the database options regarding timouts, pool size,
max_database_connections, etc? 


thanx again,

mamalos







Try the tools to make a threadsdump. That wil show you what the webapp is doing 
and wil probably give you a hint about the 'limits'. Stay open minded. You can 
also have some bug in the software so some resources are never free'd. In that 
case you can keep raising the limits, but that doesn't solve the problem.

Ronald.



RE: tomcat 6.0 bottleneck

2010-10-05 Thread mamalacation

n828cl,


n828cl wrote:
> 
> 
> Pretty much guaranteed that it's not Tomcat but your webapp that is
> locking itself out of access to some resource (such as the database). 
> Take several thread dumps during the slowdown period and see what's going
> on.
> 
> http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F
> http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring
> 
> BTW, tell us the *exact* Tomcat version, and the JVM level you're running
> on.
> 
> 

as far as the version as concerned:

Tomcat Version:  6.0.26 
JVM Version : 1.6.0_20-b02  
JVM Vendor : Sun Microsystems Inc.

I will look at the links you proposed to see what's going on with my
webapps, but I am pretty sure that there must be some limit somewhere that I
can't see.

Where can I set the database options regarding timouts, pool size,
max_database_connections, etc? 

thanx again,

mamalos
-- 
View this message in context: 
http://old.nabble.com/tomcat-6.0-bottleneck-tp29885725p29887279.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: tomcat 6.0 bottleneck

2010-10-05 Thread Caldarale, Charles R
> From: mamalacation [mailto:mamalacat...@hotmail.com] 
> Subject: tomcat 6.0 bottleneck

> From what I understand is that my system has still adequate free physical
> resources, sql server is not being pushed and the bottleneck comes from
> tomcat, where I have no clue what to tune.

Pretty much guaranteed that it's not Tomcat but your webapp that is locking 
itself out of access to some resource (such as the database).  Take several 
thread dumps during the slowdown period and see what's going on.

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F
http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring

BTW, tell us the *exact* Tomcat version, and the JVM level you're running on.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat 6.0 bottleneck

2010-10-05 Thread mamalacation

...and another thing:

Yesterday, the server was running under this load, so when I checked the
manager/status today I saw that current thread count was 500 while busy
threads were only about 10. Shouldn't the threads be killed at some moment?
What is the timeout option for this behavior?

Thanx again
-- 
View this message in context: 
http://old.nabble.com/tomcat-6.0-bottleneck-tp29885725p29885862.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org