I am running Tomcat3.3.1 with SSL(JSSE) on an Ultra5 box (Solaris
8). While trying to stress test the web site, I find that Tomcat
process dies without leaving any particular log or error message. I
have also run iostat, vmstat and prstat on the box. The CPU
utilization percentage from prstat hit a max of 17% and there were no
visiblie I/O or virtual memory bottlenecks. I have copied a few
messages from tomcat.log below. Any help to resolve this issue is
appreciated.
Thanks,
Bala.
Following are some messages from tomcat.log which are seen on the
box and I don't know why these occur either:
2002-12-30 18:03:16 - Http10Interceptor: SocketException reading
request, ignored
2002-12-30 18:03:17 - Http10Interceptor: SocketException reading
request, ignored
2002-12-30 18:03:19 - Http10Interceptor: SocketException reading
request, ignored
2002-12-30 18:03:27 - Http10Interceptor: SocketException reading
request, ignored
2002-12-30 18:03:30 - Ctx() : IOException in R( /) -
javax.net.ssl.SSLException: error while writing to socket
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at org.apache.tomcat.modules.server.Http10.sendHeaders(Http10.java:404)
at org.apache.tomcat.modules.server.HttpResponse.endHeaders(Http10Interceptor.java
:474)
at org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java:176)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
at org.apache.tomcat.core.OutputBuffer.flush(OutputBuffer.java:315)
at org.apache.tomcat.core.OutputBuffer.close(OutputBuffer.java:305)
at org.apache.tomcat.core.Response.finish(Response.java:271)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:838)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Inte
rceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:5
16)
at java.lang.Thread.run(Thread.java:536)
2002-12-30 18:03:30 - ErrorHandler: Error loop for R( /) error
javax.net.ssl.SSLException:
error while writing to socket
2002-12-30 18:03:30 - Http10Interceptor: SocketException reading
request, ignored
2002-12-30 18:03:32 - Http10Interceptor: SocketException reading
request, ignored
2002-12-30 18:03:47 - Http10Interceptor: SocketException reading
request, ignored
I will take a wild stab in the dark and say *maybe* it's a problem
with too many open file handles on the system. I've seen problems
with Solaris boxes under load that cause strange errors because the
default setting is low, I think you can bump it up to 1024. Of
course, this may be entirely an ssl issue, but at least it's something
to try.
EZB