-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fork failed: resource temporarily unavailable #1898
Comments
I am also experiencing this issue. Sometimes it goes away but then comes back |
Please anyone tell me how to solve this terrible problem... :-( |
If this problem is still exists for some of you, maybe my solution will help you. In your "oh-my-zsh.sh" file, originally in the directory ~./.oh-my-zsh on the first lines you will find the following code: # Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
/usr/bin/env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh $ZSH/tools/check_for_upgrade.sh
fi
# Initializes Oh My Zsh
# add a function path
fpath=($ZSH/functions $ZSH/completions $fpath)
... I just uncommented the if condition to check the updates so it should look like this: # Check for updates on initial load...
# if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
# /usr/bin/env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh # $ZSH/tools/check_for_upgrade.sh
# fi
# Initializes Oh My Zsh
# add a function path
fpath=($ZSH/functions $ZSH/completions $fpath)
... You can manually check for updates if you execute the following command in your Terminal/iTerm: /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh |
Duplicate of #1509. This is a difficult issue to debug; it basically means that you've reached the maximum number of processes you can run at the same time. This means that the real cause of the problem can be anything and as such it will be very difficult to figure it out. If you can execute The last thing I can recommend is to try to describe your environment as detailed as possible to look for any pattern as to why it is happening: OS, zsh plugins, theme, etc. |
@razrunelord, @samuelb2, @bom-d-van check your |
Hey Marc! I had a symlink on Thanks for investigating! |
Hi all, |
To view all limits
or
Notice the -u processes limit. To set to a higher number:
This will only last until a new terminal window is open so put it in your .bash_profile or equivalent Then run the previous command to verify Hope this helps. |
ps aux | grep "what you want to execute" I think it's because there are already the same processes running. |
Just close Zsh and open again |
Hey guys all of a sudden I am getting the following
/etc/zshenv:3: fork failed: resource temporarily unavailable
/Users/XXX/.oh-my-zsh/tools/check_for_upgrade.sh:31: fork failed: resource temporarily unavailable
git_compare_version:4: fork failed: resource temporarily unavailable
getent:4: fork failed: resource temporarily unavailable
__rvm_has_opt:3: fork failed: resource temporarily unavailable
[5] 14246 done
git_prompt_info:1: fork failed: resource temporarily unavailable
The text was updated successfully, but these errors were encountered: