Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    I'm getting a "too many files open" error

    I'm using LGPL version of SmartGWT (2.4) in Eclipse in Linux (Ubuntu). In deploying add to App Engine website, It stops with a "too many open files" error.

    The output in the console is:

    Compiling module cs560.smartask.Smartask
    Compiling 5 permutations
    Compiling permutation 0...
    Compiling permutation 1...
    Compiling permutation 2...
    Compiling permutation 3...
    Compiling permutation 4...
    Compile of permutations succeeded
    Linking into /home/cocofan/workspace3/smartask/war/smartask
    Link succeeded
    Compilation succeeded -- 74.747s
    ********************************************************
    There is a new version of the SDK available.
    -----------
    Latest SDK:
    Release: 1.4.2
    Timestamp: Wed Feb 02 08:48:44 PST 2011
    API versions: [1.0]

    -----------
    Your SDK:
    Release: 1.4.0
    Timestamp: Tue Nov 30 14:41:17 PST 2010
    API versions: [1.0]

    -----------
    Please visit http://code.google.com/appengine for the latest SDK.
    ********************************************************
    Creating staging directory
    java.io.IOException: Cannot run program "/bin/ln": java.io.IOException: error=24, Too many open files

    Debugging information may be found in /tmp/appengine-deploy9186374497742410293.log


    I re-booted Eclipse and Linux and closed all open files that I can close but I still get this error message. Is there some other parameter that needs to be changed?

    #2
    I've been getting that too. Usually hitting deploy as soon as I launch Eclipse seems to work.

    Comment


      #3
      I finally got it to work by closing everything (after rebooting my computer) and only opening eclipse with just that project open. It looks like it may be hitting the file resource limit in Linux (I'm not sure why. Does it need to have all these files open?). So, is there a way to boost the number of possible open files in Linux? I'm using Ubuntu 10.10 and I'm not sure how to access system settings (it doesn't come with alot of GUI tools for working with the system).

      Comment


        #4
        I think it might have been 1.4.0 - try upgrading to the latest GAE.

        Comment

        Working...
        X