tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Pabst" <Simon.Pa...@web.de>
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
java.lang.Throwable
        at org.apache.jk.common.ChannelUn.receive(ChannelUn.java:230)
        at org.apache.jk.common.ChannelUn.processConnection(ChannelUn.java:282)
        at org.apache.jk.common.AprConnection.runIt(ChannelUn.java:350)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
        at java.lang.Thread.run(Thread.java:536)


org.apache.jk.common.JniHandler nativeDispatch
SEVERE: nativeDispatch: error -3
java.lang.Throwable
        at org.apache.jk.common.JniHandler.nativeDispatch(JniHandler.java:312)
        at org.apache.jk.common.ChannelUn.send(ChannelUn.java:221)
        at org.apache.jk.common.ChannelUn.invoke(ChannelUn.java:306)
        at org.apache.jk.server.JkCoyoteHandler.doWrite(JkCoyoteHandler.java:249)
        at org.apache.coyote.Response.doWrite(Response.java:530)
        at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:359)
        at org.apache.coyote.tomcat4.OutputBuffer.writeBytes(OutputBuffer.java:411)
        at org.apache.coyote.tomcat4.OutputBuffer.write(OutputBuffer.java:398)
        at org.apache.coyote.tomcat4.CoyoteOutputStream.write(CoyoteOutputStream.java:110)
        at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1996)
        at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1745)
        at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1073)
        at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:506)
.....


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message