Alex:
We have been trying to diagnose a similar problem that we
are experiencing on our servers.
All of our requests come into our controller servlet. The
servlet then forwards the request via a RequestDispatcher to
a jsp page for display.
On occasion (at least once a day), one of these requests take
about 4 minutes to go from the forward call to the jsp.
We do not currently have an explanation for it, but as trying
to track it down thru the Tomcat source code with Filip Hanik's
help.
We are using Session Replication across our 4 web servers. They
are all running:
Red Hat Linux (8 and 9)
Apache 2
Sun JDK 1.4.2
Tomcat 4.1.24
Do you have multiple servers or just one?
Are you using Session Replication?
If you would like to talk directly, feel free to contact me.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com
---- Original message from "Alex Shneyderman" <[EMAIL PROTECTED]>
-----
I just finished development of my struts app and have a performance
problem.
The pages are not served with a consistent speed. I have a page that
Goes thru the whole struts hoopla to be served (action servlet -> action
-> jsp).
To detect what might be the problem I make the same request several
times some of the requests will be served really fast (like no time)
while there is always one that happens with an unknown frequency that is
served muuuuuch slower than the others.
The top shows that during that slow serving request tomcat's utilization
grows rapidly and falls down slowly.
We are using 4.1.27 on solaris java 1.4.1_04.
Does anyone know what might be wrong?
>From what it looks like to me is that somehow JSP (or parts of it) get
recompiled periodically without the JSPs being changed.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]