tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Pabst" <>
Subject Re: AW: Tomcat 4.1.24 + Security Manager + weird Exceptions
Date Wed, 16 Jul 2003 09:59:19 GMT
We've got a similar issue, though this in on Linux and using channelUnix/JNI instead of normal
tcp channelSocket.
We're using Apache2/mod_jk2 (built from tomcat-connectors-1.1M1).

On heavy load, there are over 3000 sockets open by one Tomcat/JVM, they don't seem to go down
again too while Tomcat is running.
(since File Descriptor limit on Solaris is lower normally (1024 or summat i think) this would
cause us heavy problems there too)

The Tomcats and Apache are restarted during the night to free up Memory, so socket count goes
down then.

However the application doesn't seem to be affected by this.

In catalina.out there are many errors like this:

org.apache.jk.common.ChannelUn receive
SEVERE: receive error:   120000
        at org.apache.jk.common.ChannelUn.receive(
        at org.apache.jk.common.ChannelUn.processConnection(
        at org.apache.jk.common.AprConnection.runIt(
        at org.apache.tomcat.util.threads.ThreadPool$

org.apache.jk.common.JniHandler nativeDispatch
SEVERE: nativeDispatch: error -3
        at org.apache.jk.common.JniHandler.nativeDispatch(
        at org.apache.jk.common.ChannelUn.send(
        at org.apache.jk.common.ChannelUn.invoke(
        at org.apache.jk.server.JkCoyoteHandler.doWrite(
        at org.apache.coyote.Response.doWrite(
        at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(
        at org.apache.tomcat.util.buf.ByteChunk.append(
        at org.apache.coyote.tomcat4.OutputBuffer.writeBytes(
        at org.apache.coyote.tomcat4.OutputBuffer.write(
        at org.apache.coyote.tomcat4.CoyoteOutputStream.write(
        at org.apache.catalina.servlets.DefaultServlet.copyRange(
        at org.apache.catalina.servlets.DefaultServlet.copy(
        at org.apache.catalina.servlets.DefaultServlet.serveResource(
        at org.apache.catalina.servlets.DefaultServlet.doGet(

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message