x/tools/gopls: sustained 100% cpu use from gopls for hours after editor interactions stop #38009
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What did you do?
https://github.com/openshift/origin.git
(downstream of github.com/kubernetes/kubernetes, has larger dependency tree)test/extended/builds/prometheus_builds.go
Observe that
gopls -mode=stdio serve -rpc.trace --debug=localhost:6060
process is using 100% CPU even after no further actions.gopls continues to use CPU for hours even while no use of vscode has continued.
What did you expect to see?
What did you see instead?
pprof.samples.cpu.002.pb.gz
pprof.samples.cpu.003.pb.gz
Build info
Go info
The text was updated successfully, but these errors were encountered: