tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udayini Pendyal <Udayini.Pendy...@oracle.com>
Subject HANDLER THREAD PROBLEM
Date Tue, 17 Oct 2000 17:58:05 GMT
Hello,
Does anybody know what could be cauing this error:

HANDLER THREAD PROBLEM: java.net.SocketException: socket closed: Bad
file number
java.net.SocketException: socket closed: Bad file number
       at java.net.SocketInputStream.socketRead(Native Method)
       at java.net.SocketInputStream.socketRead(Compiled Code)
       at java.net.SocketInputStream.read(Compiled Code)
       at java.io.BufferedInputStream.fill(Compiled Code)
       at java.io.BufferedInputStream.read(Compiled Code)
       at
org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(Compiled

Code)
       at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled

Code)
       at org.apache.tomcat.service.TcpWorkerThread.run(Compiled Code)
       at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled

Code)
       at java.lang.Thread.run(Compiled Code)

The configuration details are:
Tomcat 3.1 configured with a thread pool.
The thread pool configuration is:
max_threads=150, max_spare_threads=25, min_spare_threads=10

The error appears when the Hello servlet is invoked with 30 or more
concurrent users. When Tomcat is used without a thread pool, these
errors do not appear.

Thanks


Mime
View raw message