You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christian Wip <ch...@mail.travelatro.com> on 2001/10/10 20:55:43 UTC

PoolTcpEndpoint: java.net.SocketException: Too many open files error

Hi,

We keep getting the following error in our Tomcat log files and once this
error starts it is written indefinitely up until the point Tomcat crashes
(usually when the tomcat.log file is around 50Mb in size with just this one
error repeated).

Does anyone have any suggestions what the problem can be?

We run Tomcat 3.2.3 on Sun Solaris 2.8 with Oracle 8i database.


2001-10-09 21:15:19 - PoolTcpEndpoint: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8007] ignored exception:
java.net.SocketException: Too many open files - java.net.SocketException:
Too many open files
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:421)
	at java.net.ServerSocket.implAccept(ServerSocket.java:243)
	at java.net.ServerSocket.accept(ServerSocket.java:222)
	at
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:
286)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)

Thank you in advance for your help.

Christian Wip
Travelatro LLC
Email: christian@travelatro.com
Phn: 407-851-5646 Ext.27



RE: PoolTcpEndpoint: java.net.SocketException: Too many open files error

Posted by Filip Hanik <ma...@filip.net>.
your limit of number of open file descriptors have been reached.
change your solaris configuration to accept more of these

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net

>-----Original Message-----
>From: Christian Wip [mailto:christian@mail.travelatro.com]
>Sent: Wednesday, October 10, 2001 11:56 AM
>To: tomcat-user@jakarta.apache.org
>Subject: PoolTcpEndpoint: java.net.SocketException: Too many open files
>error
>
>
>Hi,
>
>We keep getting the following error in our Tomcat log files and once this
>error starts it is written indefinitely up until the point Tomcat crashes
>(usually when the tomcat.log file is around 50Mb in size with just this one
>error repeated).
>
>Does anyone have any suggestions what the problem can be?
>
>We run Tomcat 3.2.3 on Sun Solaris 2.8 with Oracle 8i database.
>
>
>2001-10-09 21:15:19 - PoolTcpEndpoint: Endpoint
>ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8007] ignored exception:
>java.net.SocketException: Too many open files - java.net.SocketException:
>Too many open files
>	at java.net.PlainSocketImpl.socketAccept(Native Method)
>	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:421)
>	at java.net.ServerSocket.implAccept(ServerSocket.java:243)
>	at java.net.ServerSocket.accept(ServerSocket.java:222)
>	at
>org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpo
>int.java:
>286)
>	at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
>	at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>	at java.lang.Thread.run(Thread.java:484)
>
>Thank you in advance for your help.
>
>Christian Wip
>Travelatro LLC
>Email: christian@travelatro.com
>Phn: 407-851-5646 Ext.27
>
>
>