Why servlet halt a moment in concurrent request.
Posted
by Hlex
on Stack Overflow
See other posts from Stack Overflow
or by Hlex
Published on 2010-04-24T11:44:13Z
Indexed on
2010/04/24
11:53 UTC
Read the original article
Hit count: 336
I use Axis for webservice service.
when more than 8 concurrent , there are some request halt randomly for about 30 seconds.
I debug by log in every line and found from my code:
public class foo{
void bar(){
a();
log.debug('exit from a');
}
void a(){
log.debug('exit a');
}
the time between "exit a" and "exit from a" are delay about 30 second. This is no reason.
I try to increase web container thread pool , heap but didn't help
==============
Enviroment websphere 6.1
Spring 2.5 , Hibernate 3 ,Axis 1.6.5
Min heap to 768
Max heap to 1024
Thread pool defult max to 300
Thread pool web container max to 500
===============
© Stack Overflow or respective owner