Git bash Error: Could not fork child process: There are no available terminals (-1)
- A. Petrizza
- 2017-08-21 14:27
- 9
I have had up to 8 git bash terminals running at the same time before.
Currently I have only 2 up.
I have not seen this error before and I am not understanding what is causing it.
Any help would be appreciated!
Picture attached:
9 Answers
I see the problem on windows in git bash when I kill my git bash console without using exit. I found killing ssh-agent.exe task from windows task manager to fix the problem.
git bash could not fork child process dll rebasing may be required, The documentation on github says "The simplest solution to fix that problem if it rears its ugly head at all is to switch to the 64-bit version of Git for Windows (the 64-bit address range is so large that MSYS2's runtime virtually never has any run-in with another .dll)," but in fact address conflicts are still possible with 64-bit Git for DLL rebasing may be required. See 'rebaseall / rebase --help'. Obviously there is no rebase binary packaged with this like Cygwin would typically
Joe z
2017-08-23 18:24
I address this with a workaround:
- Close the Git Bash window.
- Open Task manager.
- Find the 'Git for Windows' process.
- Kill it.
- Open Git Bash.
It should be ok now.
error: could not fork child process permission denied 1, Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more Git bash Error: Could not fork child process: There are no available terminals (-1) I found the solution to this. In my case, the issue was being caused by a new policy in McAfee Endpoint Security. To resolve, my IT Support
Return_Of_The_Archons
2018-02-06 10:32
In my case, it was related with the use of VS code. Previously I have openen VS code using a git bash terminal and executing
code .
then closing the terminal.
The problem is solved by closing all the VS code windows opened.
When you have any editor or IDE configure to open a terminal as git bash, then when the IDE/IDE is running, the git bash will spin up bash from "C:\Windows\System32\bash.exe" and any other attempt to open bash from a separate window is likely to crash.
The best solution is to kill the IDE/Editor bash and open from a new window or continue from the IDE/Editor command.
windows git bash could not fork child process, Found a similar issue and solution in google groups. I opened a windows command prompt and ran the command $ tasklist It looks as though the ssh connections I had made in my git bash shells weren't being closed when those windows were closed and were hanging the available git bash shell windows. Found a similar issue and solution in google groups. I opened a windows command prompt and ran the command $ tasklist. It looks as though
Federico Caccia
2019-10-30 18:47
Restart your machine.
(The other answers did not work for me. (I didn't try reinstalling. Restarting is probably faster.))
windows git bash: fork: retry: resource temporarily unavailable, A vmcore file is captured during this issue to determine the root cause. # su – -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: Resource temporarily unavailable "bash: fork: retry: Resource temporarily unavailable" error on Windows 10. When I open `git bash` I get these messages: 2 [main] bash (40164)
andydavies
2017-11-16 16:05
To make life easier (this problems happens quite often) create a file called fixbash.bat
in home directory and paste this:
taskkill /F /IM ssh-agent.exe
When problem occurs just open cmd
and type fixbash.bat
to fix a problem.
Or
Just paste the taskkill command into your cmd
if you don't want to create a script.
git bash error no available terminals, Found a similar issue and solution in google groups. I opened a windows command prompt and ran the command $ tasklist It looks as though the ssh connections I had made in my git bash shells weren't being closed when those windows were closed and were hanging the available git bash shell windows. I have had up to 8 git bash terminals running at the same time before. Currently I have only 2 up. I have not seen this error before and I am not
klimat
2019-02-22 10:27
For me (or anyone running protractor, which may spin up a standalone Selenium/WebDriver server), I needed to taskkill
the specific webdriver which was running my tests.
So just a different argument: or your chromedriver version may vary
taskkill /f /im chromedriver_2.34.exe
Note your driver may vary: IEDriverServer*.*.*.exe
vs chromedriver_*.**exe
Your driver may version may vary:chromedriver_2.34.exe
vs chromedriver_2.33.exe
This problem got worse after protractor quit without closing the automated /test-driven browser, (due to a separate issue I don't yet understand.) Naturally many chromedriver
tasks remain running, that's why kill them.
git-stash resource temporarily unavailable, When i use git bash it says"Failed to fork child process: Resource temporarily unavailable.DLL rebasing may be required. See 'rebaseall --help'." I just hit this issue today trying to launch WSL Terminal on Windows 10 (build 17134.228), and then found it affected Git Bash and msys2 as well.
The Red Pea
2018-01-06 02:43
Open task manager and kill process with name bash, this worked for me.
msys2 rebaseall, Using Cygwin on Windows 7 64 bit. Trying to rebase msys-2.0.dll: for Git with the below command. However I am getting the message saying its skipped because its wrong machine type. Sometimes, when launching new programs under Cygwin or MSYS2, cards and instead of rebase you can use rebaseall -v which will try to
Hari
2018-07-16 15:29
This happens when you exit git bash without terminating existing process. Just try and kill those processes that you started from git bash. I was running node process inside git bash, so I killed all node processes Steps to kill
- Open Task Manager
- Goto Details Tab
- Look for node.exe(you look for you processes)
- Kill it each and every node process
- Open Git Bash again
could not fork error 11, Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more Git bash Error: Could not fork child process: There are no available terminals (-1) Login: could not fork user's shell process resources temp unavailable (Error 11) /​etc/getty tty09 sc_m connot fork to run /tcb/lib/initcond:.
Ishan
2018-12-28 09:59
Found a similar issue and solution in google groups
Additional note: you can also kill other processes, for example like:
How to solve Cygwin Terminal Error: Could not fork child process , Found a similar issue and solution in google groups. I opened a windows command prompt and ran the command $ tasklist. It looks as though How to solve Cygwin Terminal Error: Could not fork child process: There are no available terminals (-1). November 10th 2018 For my surprise this doesn't happen only to Cygwyn but to other tools like Git Bash. The error is
Scott Newson
2019-11-02 23:05