I'm just getting started with Tomcat and the first
thing I'm doing
is some load testing. I'm using VA Linux with Tomcat
3.2.1 and the Sun
j2re1.3 VM. When hitting Tomcat with 60 threads each
making 1000 requests,
I periodically will get the following excepion on my
client machines:

        java.net.SocketException: Connection reset by peer:
Connection reset by peer

and following excepion on hy server machine:

        2001-03-16 03:20:24 - ContextManager: Error reading
request, ignored -      java.lang.NullPointerException
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
        (HttpConnectionHandler.java:191)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

Of the 20k requests made, I'll get about 60 errors on
the first run, which might be
exceptable but on subsequest runs They's incread up to
about 150. By the third or
fourth run, some or all of my client machines will
hang while waiting for responses.
This is not acceptable. I'm about to start diggin into
the tomcat source but would
love it if someone has solved (or knows how to soleve)
this problem already.

anyone?

- bill

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to