- From: Anselm Baird_Smith <abaird@www43.inria.fr>
- Date: Thu, 5 Jun 1997 08:57:13 +0200 (MET DST)
- To: Shawn McMurdo <shawnm@sco.COM>
- Cc: www-jigsaw@w3.org
I'll have to check, it may be possible that there is some leaking file descriptors. Did this happened once you made all files on your server SSI processed ? Anselm. Shawn McMurdo writes: > Hi all, > I am wondering if it is normal for the server to have a > large number of file descriptors open simultaneously and > if it actually closes them when it is done with them. > > After putting some files up on the server and getting some > hits (probably max of 5 simultaneous clients) I started > seeing the following exception when attempting to connect > to the server: > java.net.SocketException: Too many open files > > The max number of open files per process was 110. > I bumped this up to 256 and haven't seen a problem > yet, but was wondering if this number of open files > would be expected. > > I have included the complete exception stack traces > from two example exceptions below. > > Thanks! > Shawn > > PS: Thanks for the .shtml answers. I thought that was > what I needed to do, but was a little too unsure of my > knowledge of Jigsaw to happily delete the html extension > and recreate it. > > > java.net.SocketException: Too many open files > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:387) > at java.net.ServerSocket.implAccept(ServerSocket.java:206) > at java.net.ServerSocket.accept(ServerSocket.java:191) > at w3c.jigsaw.http.httpd.run(httpd.java) > at java.lang.Thread.run(Thread.java) > [...] > java.io.IOException: /w/web/Jigsaw/Jigsaw/WWW/template/maint.html > at java.io.RandomAccessFile.<init>(RandomAccessFile.java) > at java.io.RandomAccessFile.<init>(RandomAccessFile.java) > at w3c.jigsaw.ssi.SSIResource.handle(SSIResource.java) > at w3c.jigsaw.ssi.SSIResource.get(SSIResource.java) > at w3c.jigsaw.resources.HTTPResource.dispatch(HTTPResource.java) > at w3c.jigsaw.resources.HTTPResource.perform(HTTPResource.java) > at w3c.jigsaw.ssi.SSIResource.perform(SSIResource.java) > at w3c.jigsaw.http.httpd.perform(httpd.java) > at w3c.jigsaw.ssi.IncludeCommand.execute(IncludeCommand.java) > at w3c.jigsaw.ssi.Segment.get(Segment.java) > at w3c.jigsaw.ssi.SSIResource.handle(SSIResource.java) > at w3c.jigsaw.ssi.SSIResource.get(SSIResource.java) > at w3c.jigsaw.resources.HTTPResource.dispatch(HTTPResource.java) > at w3c.jigsaw.resources.HTTPResource.perform(HTTPResource.java) > at w3c.jigsaw.ssi.SSIResource.perform(SSIResource.java) > at w3c.jigsaw.http.httpd.perform(httpd.java) > at w3c.jigsaw.http.Client.processRequest(Client.java) > at w3c.jigsaw.http.Client.startConnection(Client.java) > at w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java) > at w3c.util.CachedThread.run(ThreadCache.java) > >
Received on Thursday, 5 June 1997 02:57:47 UTC