on 6/11/01 11:53 AM, "Gary Lawrence Murphy" <[EMAIL PROTECTED]> wrote:
> I just tried running the apache ab utility against a pretty basic
> screen where there is no database access and no authentication
> required, but I get the appended stack trace for each of the
> _successive requests, yet if I request 10 pages in _parallel_, Turbine
> gives no such exceptions.
>
> To my naiive understanding, the problem appears to be due to each
> Turbine request receiving the next request before it can reply to the
> previous request, and/or the requestor is no longer around to receive
> the output. At the very least, I wonder if the exception should be
> trapped somewhere (Turbine.doGet()?) instead of just dumping
> stacktraces to the long.
at org.apache.turbine.Turbine.doGet(Turbine.java:512)
Well, if you look at that line of code, you see that the Exception is indeed
caught and dumped.
It seems as though the exception is really coming from within Tomcat which
is not properly handling it because the exception is not making it back up
the stack to Turbine.
Turbine itself should be dealing with requests in a MT fashion. There is no
request queue...they should all be passed in at the same time and be
processed at the same time...of course this all depends on green/native
threads, JVM implementation as well as multiprocessor or not.
> /usr/sbin/ab -n 100 -c 10 http://maya:8080/gate/servlet/gate/
> /usr/sbin/ab -c 10 http://maya:8080/gate/servlet/gate/
Both of these show a concurrency of 10. Is that what you really meant to
use?
-jon
--
"Open source is not available to commercial companies."
-Steve Ballmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]