my suggestion would be to make sure if the delay is coming from the connector or
somewhere else, you could use some monitoring tools jmeter
[http://jakarta.apache.org/jmeter/],
 moskito [http://moskito.anotheria.net/] or just write your own filter
which logs the number of active session,
the average time of request handling,.. once you have this data the
focus will get smaller and then you can
concentrate on identifying the source of the problem either its the
connector or your application's code

hope this helps
Yassine


On Mon, Dec 29, 2008 at 9:57 AM, nodje <nodje...@gmail.com> wrote:
>
> Hi,
>
> we are still using 5.5.12 in production and our users are facing increasing
> delays with their requests (like way too long by now already).
> While we are not entirely sure about what's causing this (database vs Java
> application), we suppose it comes from the Java application (the database
> server never seems to be under stress).
> The CPU of the Tomcat machine doesn't seem too busy either.
>
> Providing it comes from the Java application side (by the way, any tips on
> how to precisely identify that is more than welcome), and providing that the
> problems come from too many requests, would Http11NioProtocol help Tomcat
> speed up the execution?
> It seems worth trying Http11NioProtocol before going for clustering+load
> balancing. Any advice on the matter?
>
> Also we think that request that cannot b served in the reasonable time
> should be refused. Taking into account the described behaviour with the
> default maxThreads=150 and acceptCount =100 values, shouldn't we decrease
> the acceptCount?
> Moreover the CPU on the Tomcat machine doesn't seem too busy. Is it a sign
> that we can increase maxThreads?
>
> Tomcat is on a Windows 32bits machine, so even though the machine has 4Gb of
> RAM, the MAX -Xmx size  that we can be used seems to be around 1200Mb. Would
> a 64bits OS automatically allows for more memory usage?
>
> A lot of questions I know, but facing big problems like we are now, we want
> to try anything possible to quickly relieve the pain from using the
> application!
>
> thanks to anyone providing advice
> -nodje
> --
> View this message in context: 
> http://www.nabble.com/Optimizing-Tomcat-with-Http11NioProtocol--tp21200419p21200419.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
>
>



-- 
--
Yassine Elassad
Bonn, Germany.
Fon : +49 228 97629355
Mobile : +49 157 74519666

PEACE :
( P ) Positive ( E ) Energy ( A ) Always ( C ) Correct ( E ) Errors.

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

Reply via email to