java.io.IOException

Cannot run program "bash": error=24, Too many open files

Samebug tips1

tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1630

  • Stack trace

    • java.io.IOException: Cannot run program "bash": error=24, Too many open files at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at org.apache.hadoop.util.Shell.runCommand(Shell.java:149) at org.apache.hadoop.util.Shell.run(Shell.java:134) at org.apache.hadoop.fs.DF.getAvailable(DF.java:73) at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:329) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:124) at org.apache.hadoop.mapred.MapOutputFile.getSpillFileForWrite(MapOutputFile.java:107) at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:1221) at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:1129) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:359) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    SacchiSacchi
    8 times, last one,
    guizmaiiguizmaii
    5 times, last one,
    gpgekkogpgekko
    3 times, last one,
    Unknown UserUnknown User
    1 times, last one,
    zbalintzbalint
    16 times, last one,
    136 more bugmates