Skip to content

tsserver maxing out CPU "WatchType: Directory of Failed lookup locations in module resolution" #21274

@Tyriar

Description

@Tyriar

TypeScript Version: 2.7.0-insiders.20180117

Search Terms: directorywatcher

Today's VS Code Insider seeings tsserver maxing out the CPU after a few minutes (under Microsoft/vscode codebase). Verbose logs are just pages and pages of this:

Info 27855[10:7:22.843] DirectoryWatcher recursive:: Elapsed: 24ms Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/workbench/parts/welcome/walkThrough/electron-browser/editor PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27856[10:7:22.843] DirectoryWatcher recursive:: Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/workbench/parts/welcome/walkThrough/electron-browser/walkThroughPart.css PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27857[10:7:22.869] DirectoryWatcher recursive:: Elapsed: 26ms Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/workbench/parts/welcome/walkThrough/electron-browser/walkThroughPart.css PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27858[10:7:22.869] DirectoryWatcher recursive:: Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/base/test/node/extfs/fixtures/examples/company.jxs PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27859[10:7:22.896] DirectoryWatcher recursive:: Elapsed: 27ms Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/base/test/node/extfs/fixtures/examples/company.jxs PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27860[10:7:22.896] DirectoryWatcher recursive:: Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/base/test/node/extfs/fixtures/examples/conway.jxs PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27861[10:7:22.920] DirectoryWatcher recursive:: Elapsed: 24ms Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/base/test/node/extfs/fixtures/examples/conway.jxs PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 27862[10:7:22.920] DirectoryWatcher recursive:: Trigger: /Users/daimms/dev/Microsoft/vscode/out/vs/base/test/node/extfs/fixtures/examples/employee.jxs PathInfo: /Users/daimms/dev/Microsoft/vscode Project: /Users/daimms/dev/Microsoft/vscode/src/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution

screen shot 2018-01-18 at 10 07 41 am

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueHigh Priority

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions