Hi
  I'm in the process of load testing a prototype of
our system under orion server. I've been using the
apache "ab" program to get an idea of the number of
pages per/second when many concurrent request are
hitting the system. Once in a while I run into a
Broken Pipe exception that causes some request to
fail. This happens with my code as well as when
running your jsptoserv example. Here is the command
I'm running:

ab -n 1000 -c 30
"http://attu:10000/examples/jsp/jsptoserv/jsptoservlet.jsp"

After executing this twice I start seeing the error.
Perhaps the ab program not closing the connections
correctly and that is what's causing the problem. I
was wondering if anyone has seen this problem before.

Here is the stack trace of the exception:

java.io.IOException: Broken pipe
        at
java.net.SocketOutputStream.socketWrite(Native Method)
        at
java.net.SocketOutputStream.write(SocketOutputStream.java:87)
        at da.write(JAX)
        at
com.evermind.server.http.EvermindJSPWriter.mt(JAX)
        at
com.evermind.server.http.EvermindJSPWriter.flush(JAX)
        at
com.evermind.server.http.EvermindJSPWriter.close(JAX)
        at __jspPage5._jspService(__jspPage5.java:38)
        at
com.evermind.server.http.EvermindHttpJspPage.service(JAX)
        at
com.evermind.server.http.HttpApplication.md(JAX)
        at
com.evermind.server.http.JSPServlet.service(JAX)
        at cq.i5(JAX)
        at cq.forward(JAX)
        at ToJSPServlet.doGet(ToJSPServlet.java:15)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:185)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:297)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:324)
        at cq.i5(JAX)
        at cq.forward(JAX)
        at __jspPage4._jspService(__jspPage4.java:30)
        at
com.evermind.server.http.EvermindHttpJspPage.service(JAX)
        at
com.evermind.server.http.HttpApplication.md(JAX)
        at
com.evermind.server.http.JSPServlet.service(JAX)
        at cq.i5(JAX)
        at cq.forward(JAX)
        at c_.k2(JAX)
        at c.run(JAX)

Thanks
Sergio

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

Reply via email to