Announcement Announcement Module
Collapse
No announcement yet.
1.1.0.M2: "Too many open files" Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 1.1.0.M2: "Too many open files"

    Hi,

    been trying to model a project which has quite an amount of domain objects and when it comes to the generation of controllers (controller all --package ~.web) I get this error:

    Code:
    Created SRC_MAIN_WEBAPP/WEB-INF/views/controlpots/create.jspx
    Managed SRC_MAIN_WEBAPP/WEB-INF/i18n/application.properties
    Undo failed SRC_MAIN_WEBAPP/WEB-INF/i18n/application.properties
    /tmp/UpdateFile3949436968960279876tmp (Too many open files)
    Script execution aborted
    [Timer-0] Undo failed SRC_MAIN_WEBAPP/WEB-INF/i18n/application.properties
    [Timer-0] /tmp/UpdateFile4795595304280762163tmp (Too many open files)
    The open file limit is set to 1024, is it possible that there's a File leak somewhere? I haven't encountered any problems on this machine before.

    Cheers,
    Rainer

  • #2
    No such problems with the 1.0.2 release.

    Comment


    • #3
      Investigated this a little further, my script runs if I set the open file limit to 8192.

      Code:
      ...
      java      5586      arkay 3453r      REG               8,34     33308  6578003 
      /home/arkay/Java/TheGuitarListRoo/TheGuitarList/src/main/webapp/WEB-INF/i18n/application.properties
      java      5586      arkay 3454r      REG               8,34     33308  6578003 
      /home/arkay/Java/TheGuitarListRoo/TheGuitarList/src/main/webapp/WEB-INF/i18n/application.properties
      arkay@gentoodesk ~ $ lsof -p 5586 | grep application.properties | wc -l
      6942


      Then it fails anyway after a few seconds...

      Code:
      logging setup --level DEBUG
      Managed SRC_MAIN_RESOURCES/log4j.properties
      Milliseconds required: 239530
      [Timer-0] Undo failed SRC_MAIN_WEBAPP/WEB-INF/i18n/application.properties
      [Timer-0] /tmp/UpdateFile3371250473870141238tmp (Too many open files)
      With 1.0.2

      Code:
      arkay@gentoodesk ~ $ lsof -p 5792 | grep application.properties | wc -l
      66
      66 vs 6942 open filehandles on application.properties.
      Last edited by ArKay; Jul 28th, 2010, 12:40 PM.

      Comment

      Working...
      X