[Bug]: code-server hang #5822
Unanswered
ericzhucode
asked this question in
Q&A
Replies: 1 comment 7 replies
-
This is a tough one 🤔 Nothing obvious is coming to me after reading your logs. @code-asher any ideas? I'm not sure if long-running processes have issues or something. What happens if you restart code-server? Does it work then? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
I know this issue may not be caused by code-server but nodejs since when process hangs, it seems no any js code is running and all nodejs environment stucks. Just post this here to see if it's possible to get professional suggestions from your team.
I will also post this issue at nodejs community
Thank you for your team's effort!
OS/Web Information
code-server --version
: 4.1.0 / 4.2.0 / 4.4.0 (Some customers are upgrading to 4.5.3 now and we will monitor if this version also has the issue)Steps to Reproduce
Troubleshooting so far
telnet 127.0.0.1 8080
)(if it's working then we should see the direction infomation like)

entry.js
) and use gdb to debug it. When we usebt
to look at the frames, we can get the following contentWe get this core files from over 20+ of our users and the contents are all the same, showing nodejs is stucking at
write() from /lib64/libpthread.so.0
Expected
nodejs server in linux backend system should response when we use curl or open IDE in browser
Actual
nodejs process in linux backend system hangs and no response at all
Logs
from ~/.local/share/code-server/code-server-stderr.log

We found the following logs and it seems that there's network traffic issue in socket connection but I don't know how we use these information to troubleshoot. I will be appreciated it if you team can suggest something.
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response
Beta Was this translation helpful? Give feedback.
All reactions