Skip to content

[Bug]: "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC) #4782

Closed

Description

@YueMiyuki

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

- Web Browser: Opera
- Local OS: Synology DSM
- Remote OS: Windows 10
- Remote Architecture: ARM64 v8
- `code-server --version`: 4.0.1

Expected

It should not return error

Actual

It show error

"Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)

Logs

none

Screenshot/Video

image

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

I am using the fixes at https://gist.github.com/tbjgolden/c53ca37f3bc2fab8c930183310918c8c and https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
But none of these works, it returns:
image

Activity

  1. added
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Jan 22, 2022
  2. jsjoeio commented on Jan 24, 2022

    @jsjoeio
    Contributor

    Oops. Looks like our new template is missing reproduction steps. How do I reproduce this?

  3. YueMiyuki commented on Jan 24, 2022

    @YueMiyuki
    Author

    Hi
    Just create an new code-server and if you have big files like node_modules and the project is running somewhere else,
    It will return this

  4. mauri-sfdc commented on Jan 25, 2022

    @mauri-sfdc

    @ItzMiracleOwO is the output of df -i in the terminal? are you running code-server in docker in Synology DSM?

  5. YueMiyuki commented on Jan 25, 2022

    @YueMiyuki
    Author

    yes im on DSM

  6. jsjoeio commented on Jan 25, 2022

    @jsjoeio
    Contributor

    Hmm...I guess this is specific to Linux. I couldn't reproduce locally on macOS.

    image

    I'm seeing the "permission denied" errors in your logs. Sounds like that solution isn't working.

    To me, this seems like an issue specific to your environment and not a bug in code-server. Do you agree? (Still willing to help but want to clarify and see if we're on the same page)

  7. added
    waiting-for-infoWaiting for more information from submitter
    and removed
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Jan 25, 2022
  8. YueMiyuki commented on Jan 26, 2022

    @YueMiyuki
    Author

    Hmm I do agree
    Synology have lots of stupid issues and their docker version is ancient…
    What is interesting is, before when I was in older version, this error didnt pop up..

  9. jsjoeio commented on Jan 26, 2022

    @jsjoeio
    Contributor

    Hmm...well things definitely changed in code-server between versions so not ruling that out, but at least we agree. Let's move this to a Q and A then and continue there.

  10. locked and limited conversation to collaborators on Jan 26, 2022
  11. converted this issue into a discussion #4796 on Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions