linuxmint / linuxmint/cinnamon

Cinnamon slows down over a few days to an unusable slow crawl, alt-f2 -> `r` to restart it refreshes it to work fast again for a few days.

Open
#13,015 18 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Linux Mint 22.1

Package version

6.4.8

Graphics hardware in use

RTX 1060 Ti

Frequency

Always

Bug description

About a month ago, I installed Linux Mint 22.1 to a PC to use it as a backup system, where its only use is practically in copy-paste organizing file directory structures in Nemo, and occassional previewing of a backed up video file.

I am seeing this recurringly occurring behavior where when I navigate files in Nemo for a few days, Nemo starts to get slower and slower, this kind of sluggish/laggy behavior.

htop does not show anything hogging the CPU. htop shows cinnamon hogging up 100% CPU, and gnome-terminal-server, Xorg and touchegg taking up extra 50% CPU as well.

At first I thought that performance of Nemo/Cinnamon was just poor on average..

But then I realized that if I tap Alt-F2 and run r to restart Cinnamon, it has a side effect of making Cinnamon run blazing fast and interactive again. Alt-tabbing works like a charm, and mouse is responsive, and navigating directories up and down in Nemo is responsive - whereas before all these actions would have random 0.5s - 5s delays.

Then fast forward a week or so, and Cinnamon/Nemo has again bogged down to run really slow. Closing all windows/applications/terminals doesn't help it.

I re-try running Alt-F2 and r, and just like that, Cinnamon and Nemo navigation is snappy and responsive again. Alt-tabbing between windows is immediate and does not have a sluggish lag to it.

Steps to reproduce

Use Nemo to navigate directories for a week, and Cinnamon/Nemo bogs down to a crawl. Alt-F2 and r does something to it to speed it up again.

Expected behavior

Desktop performance should not slow down spontaneously.

Additional information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the slowdown through prolonged Nemo directory navigation on Linux Mint 22.1, while monitoring Cinnamon, gnome-terminal-server, Xorg, and touchegg in htop. Compare the desktop before and after Alt-F2 → r, then identify the cause of the accumulating CPU use and verify that Cinnamon and Nemo remain responsive without restarting Cinnamon.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.