Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Every ~5 minutes the whole machine freezes for ~10 s: all 16 logical cores at 100%, mouse barely moves, Task Manager shows Cursor at ~60% of total CPU. Started with the first session on 3.26.13 (2026-10-21). Survives a full restart, and turning off Index Repositories for Instant Grep does not help.
The load comes from the retrieval extension host of every open window, all firing at the same moment. WPR traces show each one rescanning the mcps folder of every project under ~/.cursor/projects, not just the open workspace.
File I/O trace (wpr -start CPU -start FileIO), one spike, 3 windows open:
| Process | File I/O events |
|---|---|
| retrieval ext host, window 1 | 1,075,276 |
| retrieval ext host, window 2 | 1,030,421 |
| retrieval ext host, window 3 | 1,022,461 |
| next busiest process on the PC (System) | 37,552 |
~97% of each host’s events are under ~\.cursor\projects\C-Users-<user>-AppData-Local-Temp-<guid>\mcps\...\tools\*.json, e.g.
~\.cursor\projects\C-Users-<user>-AppData-Local-Temp-b232eac3-...\mcps\user-eda-agent\tools\app_attach.json
~\.cursor\projects\C-Users-<user>-AppData-Local-Temp-a47d1a81-...\mcps\user-jdatamunch\tools\find_unused_columns.json
Op mix: Create 787k, Close 777k, Cleanup 700k, QueryInfo 659k, DirEnum 139k, Read 65k. The open workspaces (1-2k files each) are negligible.
CPU trace, retrieval host during spike (~55 CPU-s in ~65 s): ntoskrnl 69%, Ntfs.sys 13%, file_service.win32-x64-msvc.node 7%, FLTMGR 4.5% - file open / name lookup paths (NtfsFcbTableCompare, NtfsWalkUpTree, FltpPerformPreCallbacksWorker). Thread count of one host jumps 68 → 507 (Win32 thread-pool workers) during the burst.
Why it’s so big here: ~/.cursor/projects had accumulated 481 project folders / ~228k files. 417 were for temporary workspaces that no longer exist (...AppData-Local-Temp-<guid>, created Feb-Oct 2026, 345 of them in September), each holding ~620 mcps tool JSONs + identical canvases SDK stubs, no transcripts. Cursor never cleaned them up.
Timeline from main.log: session 2026-10-15 to 10-20: 0 x No ptyHost heartbeat after 6 seconds. From 2026-10-21 (3.26.13): 864 in 5 days. Spike gaps are multiples of ~5 min 09 s.
Workaround that worked: close Cursor, move the stale ~/.cursor/projects/*-AppData-Local-Temp-* folders elsewhere (228k → 7k files).
Possibly related: Remote SSH: .cursor-server pegs VPS CPU at 100% (Remote SSH .cursor-server 100% CPU).
Steps to Reproduce
- Have many folders in
~/.cursor/projectswith populatedmcps/(e.g. open many temporary/empty-folder windows over time with several MCP servers configured - each creates a new...-AppData-Local-Temp-<guid>project folder). - Open 2-3 Cursor windows on any small repos and leave them idle.
- Watch CPU: every ~5 min each window’s
retrievalextension host spikes to many cores for ~10 s;main.loglogsNo ptyHost heartbeat after 6 seconds. - Move the stale project folders out → spikes drop accordingly.
Expected Behavior
- The retrieval host should only scan
mcps/project data for the workspace(s) open in that window, not every folder under~/.cursor/projects. - Periodic scans shouldn’t fan out to hundreds of thread-pool threads, and windows shouldn’t all scan at the same moment.
- Project folders for deleted temporary workspaces should be garbage-collected.
Operating System
Windows 10/11
Version Information
Version: 3.26.13
Commit: 3bfec373749d3d4a53a151283022d49743ab50b0
Date: 2026-10-20
OS: Windows 10 Home 10.0.19045, AMD Ryzen 7 5700X (16 logical cores)
Additional Information
I have the WPR traces (CPU 1.7 GB, CPU+FileIO 3.8 GB) and log folders %APPDATA%\Cursor\logs\20261021T130705 and 20261026T141752 if useful - happy to share privately.
Does this stop you from using Cursor
No - Cursor works, but with this issue