Skip to content

bash: fork: retry: Resource temporarily unavailable #2774

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

Closed
gaozhidf opened this issue Apr 16, 2020 · 3 comments
Closed

bash: fork: retry: Resource temporarily unavailable #2774

gaozhidf opened this issue Apr 16, 2020 · 3 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@gaozhidf
Copy link

  • VSCode Version: 1.43.2
  • Local OS Version: MacOS 10.15.4
    image
  • Remote OS Version: Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. vscode created too much processes in my remote server, and make it resource temporarily unavailable
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: wait_for: No record of process 2393
bash: fork: retry: Resource temporarily unavailable
bash: fork: retry: Resource temporarily unavailable

image
image

@roblourens
Copy link
Member

If this is still an issue, please let me know and give some more details about what I can do to reproduce this.

@datenteiler
Copy link

datenteiler commented Nov 8, 2020

Hi,

  • VS Code 1.51.0
  • openSUSE Tumbleweed Kernel 5.9
  • Remote machine: Debian Linux 4.9.0-11-amd64
  • Remote Extension/Connection Type: SSH

I can confirm, it's still an issue:

Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64
Last login: Sun Nov 8 15:50:04 2020 from 2a02:560:4a7c:ea00:2472:3199:806a:706e
-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-4.4$

The OS has limited my ability to "fork" and stops me creating new threads or processes on the remote machine. I am not and cannot become root on this server.

With VS Code:

Version: 1.51.0
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-05T18:16:10.374Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.9.1-1-default

$ ps -eLf | grep vscode | wc -l
61

ps -eLf | grep vscode
[...]
datenteiler 22805 22709 22818 0 5 15:24 ? 00:00:00 /home/datenteiler/.vscode-server/bin/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/node -p "108f28ba0d73" + JSON.stringify(process.env) + "108f28ba0d73"
datenteiler 22805 22709 22819 0 5 15:24 ? 00:00:00 /home/datenteiler/.vscode-server/bin/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/node -p "108f28ba0d73" + JSON.stringify(process.env) + "108f28ba0d73"
datenteiler 22805 22709 22820 0 5 15:24 ? 00:00:00 /home/datenteiler/.vscode-server/bin/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/node -p "108f28ba0d73" + JSON.stringify(process.env) + "108f28ba0d73"

@roblourens
Copy link
Member

The OS has limited my ability to "fork" and stops me creating new threads or processes on the remote machine.

Sorry I'm not sure what we can do about this, it sounds like an issue.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

4 participants