Crash after WebSocket opened "Error: spawn ENOMEM"
See original GitHub issuecode-server
version: 1.408-vsc1.32.0- OS Version: ubuntu 18.10 cloud // vulture - 1 CPU /1024MB Memory
Description
Error
root@node:~# code-server
INFO code-server v1.408-vsc1.32.0
INFO Additional documentation: http://github.com/codercom/code-server
INFO Initializing {"data-dir":"/root/.local/share/code-server","working-dir":"/root","log-dir":"/root/.cache/code-server/logs/20190403071721342"}
INFO Starting webserver... {"host":"0.0.0.0","port":8443}
WARN No certificate specified. This could be insecure.
WARN Documentation on securing your setup: https://coder.com/docs
INFO
INFO Password: 1dc067aad902ac9e90fbadf0
INFO
INFO Started (click the link below to open):
INFO http://localhost:8443/
INFO
INFO Starting shared process [1/5]...
INFO Connected to shared process
ERROR SHARED stderr {"data":"Uncaught Exception: Error: ENOENT: no such file or directory, open '/root/.local/share/code-server/Backups/workspaces.json'\n\nError: ENOENT: no such file or directory, open '/root/.local/share/code-server/Backups/workspaces.json'\n at Timeout.setTimeout [as _onTimeout] (/home/travis/build/codercom/code-server/packages/server/build/bootstrap-fork.js.gz:52540:31)\n at ontimeout (timers.js:498:11)\n at tryOnTimeout (timers.js:323:5)\n at Timer.listOnTimeout (timers.js:290:5)\n"}
INFO WebSocket opened / {"client":1,"ip":"37.237.144.27"}
internal/child_process.js:313
throw errnoException(err, 'spawn');
^
Error: spawn ENOMEM
at ChildProcess.spawn (internal/child_process.js:313:11)
at Object.exports.spawn [as _spawn] (child_process.js:508:9)
at t.async (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:34463)
at e.exports (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:33964)
at e (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:32689)
at Timeout.u [as _onTimeout] (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:32982)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Crash after WebSocket opened "Error: spawn ENOMEM" #410
code-server version: 1.408-vsc1.32.0 OS Version: ubuntu 18.10 cloud // vulture - 1 CPU /1024MB Memory Description Error root@node:~# ...
Read more >Node.js catch ENOMEM error thrown after spawn
js script crashes because of a thrown ENOMEM (Out of memory) errnoException when using spawn. The error: child_process.js:935 throw errnoException(process.
Read more >Node.js ChangeLog - Google Git
Known issues. When a server queues a large amount of data to send to a client over a pipelined HTTP connection, the underlying...
Read more >Untitled
Resolves: Bug 1653163 - certmap fails when Issuer DN has comma in name ... Fix crash on repeated opening of presentations Resolves: #1444437...
Read more >Changelog — Python 3.7.15 documentation
bpo-43660: Fix crash that happens when replacing sys.stderr with a callable that can remove the object while an exception is being printed. Patch...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks.I create a server .It has 4gb of RAM.Now it works well.
Michael Desantis notifications@github.com 于2019年4月16日周二 上午12:36写道:
cool, thanks for the hint - worked. I did: