Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.2
    • Component/s: Server
    • Labels:
    • Environment:
      Linux 2.6.26-2-xen-amd64 #1 SMP Thu Nov 25 06:39:26 UTC 2010 x86_64 GNU/Linux
      Apache Tomcat 6.0.29
      MySQL 5.1

      Description

      It seems that Wookie opened too many files at the same moment or that Wookie did not close the open resources

      catalina.out
      10:04:04,584 ERROR ContextListener:206 - natter.wgt:Hot deploy error: Unable to move dropped .wgt file to upload folder - /home/user/applications/apache-tomcat-6.0.29/webapps/wookie/deploy/natter.wgt (Too many open files)
      java.io.FileNotFoundException: /home/user/applications/apache-tomcat-6.0.29/webapps/wookie/deploy/natter.wgt (Too many open files)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:669)
      at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:653)
      at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:607)
      at org.apache.wookie.util.WidgetFileUtils.dealWithDroppedFile(WidgetFileUtils.java:99)
      at org.apache.wookie.server.ContextListener$1$1.fileModified(ContextListener.java:181)
      at org.apache.wookie.util.WgtWatcher.check(WgtWatcher.java:95)
      at org.apache.wookie.server.ContextListener$1.run(ContextListener.java:233)

      This command "lsof -p 1720 | grep wookie | wc -l" returns 854 files opened by Wookie: It shows open files by Tomcat PID and then filter by Wookie app, I attached the result of the command "lsof -p 1720", the most opened files are ".wgt" files from "upload" folder, they are opened several times.

        Attachments

        1. lsof.txt
          156 kB
          David del Pozo González

          Activity

            People

            • Assignee:
              psharples Paul Sharples
              Reporter:
              dpozog David del Pozo González
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: