You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tognolini Raffaella, CH" <Ra...@fja.com> on 2001/07/24 09:56:07 UTC

too many open files

Hi,
Conf: Tomcat 3.2.2 and jdk 1.1.8 OS Solaris 2.6
Browser Netscape

After a while that my applet is running and tomcat loading classes, I
receive
following exception, continously and tomcat dies. Do you have an idea?
Is like tomcat can't load any more classes:

2001-07-23 11:53:55 - PoolTcpEndpoint: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8089] ignored
exception: ja
va.net.SocketException: Too many open files -
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:379)
        at java.net.ServerSocket.implAccept(ServerSocket.java:199)
        at java.net.ServerSocket.accept(ServerSocket.java:181)
        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)

2001-07-23 11:53:55 - PoolTcpEndpoint: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8089] ignored
exception: ja
va.net.SocketException: Too many open files -
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:379)
        at java.net.ServerSocket.implAccept(ServerSocket.java:199)
        at java.net.ServerSocket.accept(ServerSocket.java:181)
        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)

I saw some other people having this problem on this mailing-list, but the
solution was to go to 3.2.2..and is where I am.
Thanx a lot
Raffaella

_________________________________________
Raffaella Tognolini
* Raffaella.Tognolini@fja.com


Re: too many open files

Posted by John Clark Naldoza y Lopez <nj...@ntsp.nec.co.jp>.
"Tognolini Raffaella, CH" wrote:
> 
> Hi,
> Conf: Tomcat 3.2.2 and jdk 1.1.8 OS Solaris 2.6
> Browser Netscape
> 
> After a while that my applet is running and tomcat loading classes, I
> receive
> following exception, continously and tomcat dies. Do you have an idea?
> Is like tomcat can't load any more classes:

What's the maximum number of open files for Solaris 2.6?  How many open
files are there?

What does your applet do?  Does it open files and not close them after
they are read?


Cheers,


John Clark
-- 
     /) John Clark Naldoza y Lopez                           (\
    / )    Software Design Engineer III                      ( \
  _( (_    _  Web-Application Development                    _) )_
 (((\ \>  /_>    Cable Modem Network Management System <_\  </ /)))
 (\\\\ \_/ /         NEC Telecom Software Phils., Inc.  \ \_/ ////)
  \       /                                              \       /
   \    _/  phone: (+63 32) 233-9142 loc. 3112            \_    /
   /   /  cellphone: (+63 919) 399-4742                     \   \
  /   / email: njclark@ntsp.nec.co.jp                        \   \