Cursor Causing High CPU Usage and Crashing My EC2 Instance

Hi everyone,

I’m experiencing a persistent issue with Cursor that is making it very difficult to use for my development work.

Environment:

  • Development Setup: SSH into an AWS EC2 instance
  • Instance Type: t3a.large
  • Operating System: 20.04
  • Cursor IDE Version: 0.38.1

Problem: Every hour or so, my EC2 instance crashes, and I suspect it’s due to Cursor. When I check the running processes using top, I often see a Cursor process taking up > 100%+ of my CPU, which eventually leads to the instance crashing.

Here’s a snippet of what I found using ps:

ps -o pid,ppid,cmd -p 174844
    PID    PPID CMD
 174844  174585 /home/my.name/.cursor-server/cli/servers/Stable-39ded7305e8d625076ebbbf98510c53152232660/server/node /home/my.name/.cur

Troubleshooting Steps Taken:

  1. Restarted the instance multiple times.
  2. Ensured that all software packages are up to date.
  3. Monitored system resources to confirm that Cursor is the cause.

Request: Has anyone else experienced similar issues with Cursor IDE on an EC2 instance? Are there any known fixes or workarounds to prevent Cursor from consuming excessive CPU and crashing the instance?

Any help or suggestions would be greatly appreciated!

Thank you!

7 Likes

I had the same issue. Cursor crashed my production server!

1 Like

Same here. I checked the CPU usage from Glances UI and there was Command called node that points to server/cli/servers/Stable-b1e87884330fc271d5eb589e368c35f14e76dec0/server/node --dns-result-order=ipv4first /home/.cursor-serve

It keeps happening.

Yes it happens to many people. It’s a well-known issue. It also happens with VSCode.
It is due to VSCode (Cursor here) executing built-in language features and instantly saturate your instance’s CPU.

You have to disable those features. Go to Extensions, type @builtin language features in the search bar and disable TypeScript and JavaScript. It will resolve the issue.