Hi,
our Application is running in deployment-mode.

Unfortunately we are not directly able to debug the system, because it is
running on the server at our client and so far we couldn't reproduce the
error on our own server. Is it also possible that this is a
configuration-issue? Can we tell tomcat to upper the limit for open files?

Benjamin


2007/9/14, Sebastiaan van Erk <[EMAIL PROTECTED]>:
>
> Hi,
>
> Did you try looking at which resources are open with the lsof? Without
> knowing what it is specifically that's causing the problem, the problem
> is kind of hard to debug.
>
> And yes, when you've run out of file descriptors, opening anything that
> requires one is going to fail, whether it be opening a file, opening a
> socket, opening a pipe... But this is not the CAUSE of the issue... the
> cause is whatever is being repeatedly opened and not closed.
>
> Regards,
> Sebastiaan
>
>
> Benjamin Ernst wrote:
> > Hi,
> > as far as I know, we donĀ“t open any files or streams. I now got the
> > catalina.out and it says that it is a SocketException:
> >
> > 2007-09-13 18:53:24,721 ERROR [TP-Processor116]
> > org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> > jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> > /home/fips/webapps/WEB-INF/lib/wicket-
> > extensions-1.3.0-beta2.jar (Too many open files)
> > Sep 13, 2007 6:53:24 PM org.apache.jk.common.ChannelSocketacceptConnections
> > WARNING: Exception executing accept
> > java.net.SocketException: Too many open files
> >     at java.net.PlainSocketImpl.socketAccept(Native Method)
> >     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:423)
> >     at java.net.ServerSocket.implAccept(ServerSocket.java:462)
> >     at java.net.ServerSocket.accept(ServerSocket.java:433)
> >     at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:312)
> >     at org.apache.jk.common.ChannelSocket.acceptConnections(
> > ChannelSocket.java:666)
> >     at org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(
> > ChannelSocket.java:876)
> >     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.java:685)
> >     at java.lang.Thread.run(Thread.java:803)
> >
> > Any Idea what could cause this? There were only 15 users in the test.
> >
> > Thanks for any help in advance,
> > Benjamin
> >
> > 2007/9/14, Sebastiaan van Erk <[EMAIL PROTECTED]>:
> >> Do you open any files (streams) in your webapplication that you forgot
> >> to close? That would cause the files to run out and cause wicket to
> >> complain when it tries to open a new file.
> >>
> >> On linux you can easily see WHICH resources are being left open by
> doing
> >> lsof. Once you know which resource is causing the problem it's usually
> >> quite easy to hunt it down in the code.
> >>
> >> Regards,
> >> Sebastiaan
> >>
> >>
> >>
> >> Benjamin Ernst wrote:
> >>> Hi,
> >>>
> >>> We are having problems while testing our wicket-application with
> >> multiple
> >>> users. Wicket says that there are too many open files.
> >>> Do you have an Idea how we can avoid this problem?
> >>> We are using Wicket 1.3.0-beta2 in Tomcat 5.5.23 with IBM JDK 5 on a
> >> Red-Hat
> >>> Linux.
> >>>
> >>> This is the error-log:
> >>>
> >>> 2007-09-13 18:53:24,719 ERROR [TP-Processor5]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,720 ERROR [TP-Processor47]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,721 ERROR [TP-Processor116]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,726 ERROR [TP-Processor98]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,729 ERROR [TP-Processor8]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,730 ERROR [TP-Processor32]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,735 ERROR [TP-Processor40]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,735 ERROR [TP-Processor13]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-2-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,815 ERROR [TP-Processor73]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-2-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,824 ERROR [TP-Processor62]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,824 ERROR [TP-Processor55]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,825 ERROR [TP-Processor80]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,833 ERROR [TP-Processor100]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>>
> >>
> extensions-1.3.0-beta2.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-
> >>> extensions-1.3.0-beta2.jar (Too many open files)
> >>> 2007-09-13 18:53:24,971 ERROR [TP-Processor7]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>> 1.3.0-beta2.jar!/org/apache/wicket/markup/html/wicket-event.js failed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-1.3.0-beta2.jar (Too many open
> >> files)
> >>> 2007-09-13 18:53:25,008 ERROR [TP-Processor57]
> >>> org.apache.wicket.util.resource.UrlResourceStream: getLastModified for
> >>> jar:file:/home/fips/webapps/WEB-INF/lib/wicket-
> >>> 1.3.0-beta2.jar!/org/apache/wicket/ajax/wicket-ajax.js failed:
> >>> /home/fips/webapps/WEB-INF/lib/wicket-1.3.0-beta2.jar (Too many open
> >> files)
> >>> Benjamin
> >>>
> >>
>
>

Reply via email to