Skip to content

Experimental File Watcher - high CPU on "circular" symlinks #36307

Closed
@promansk

Description

@promansk
  • VSCode Version: 1.17.0 (be377c0)
  • OS Version: Ubuntu 16.04 LTS

Steps to Reproduce:

  1. Set "files.useExperimentalFileWatcher": true and close VS Code
  2. Create a symlink to root directory (must be an absolute link, not relative!):
$ mkdir loop
$ ln -s / loop/root
  1. Open directory containing that symlink in VS Code:
$ code --disable-extensions loop
  1. Watch processes - one of vs code processes takes high CPU

Reproduces without extensions: Yes

See also: #3998

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfile-watcherFile watcherlinuxIssues with VS Code on LinuxperfupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions