java.io.IOException: Cannot run program "/bin/sh" (in directory "<https://ft-itjenkins:9443/job/PRODUCTION%20-%20LSTORE%20Image%20Sync/server=ft-lstore-02/ws/")>: error=24, Too many open files

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

,
Expert tip

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

Solutions on the web

via Jenkins JIRA by Tommy McNeely, 1 year ago
Cannot run program "/bin/sh" (in directory "<https://ft-itjenkins:9443/job/PRODUCTION%20-%20LSTORE%20Image%20Sync/server=ft-lstore-02/ws/")>: error=24, Too many open files
via Jenkins JIRA by Tommy McNeely, 1 year ago
Cannot run program "/bin/sh" (in directory "<https://ft-itjenkins:9443/job/PRODUCTION%20-%20LSTORE%20Image%20Sync/server=ft-lstore-02/ws/")>: error=24, Too many open files
via GitHub by xech3l0nx
, 2 weeks ago
Cannot run program "/bin/sh" (in directory "/pipeline-dev"): error=20, Not a directory
via Google Groups by Unknown author, 1 year ago
Cannot run program "cmd" (in directory "<http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Pull%20Request%20-%20Distribution%20Tests/ws/")>: error=2, No such file or directory
via Software Quality Assurance & Testing by user3341382
, 6 months ago
Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\Motor Trade"): CreateProcess error=2, The system cannot find the file specified
via developpez.net by Unknown author, 1 year ago
Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\TEST *** QUA"): CreateProcess error=2, Le fichier spécifié est introuvable
java.io.IOException: error=24, Too many open files
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:186)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
at hudson.Proc$LocalProc.(Proc.java:244)
at hudson.Proc$LocalProc.(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:803)
at hudson.Launcher$ProcStarter.start(Launcher.java:381)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
at hudson.model.Run.execute(Run.java:1759)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
Once, 2 months ago
15 times, 2 months ago
6 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.