Closed Mek101 closed 6 years ago
Update: seems like some sort of memory leak.
I noticed cinnamon --replace
grows in memory usage with time. I closed it once it reached 300mb, and after restarting it was only 95mb.
So yeah, i think there's some sort of memory leak.
Do you have indicator support enabled? If so disable it (in cinnamon-settings > general, then restart). Otherwise, I'm not sure.
I am having the same problem with the same version of cinnamon (3.6.6) on an up-to-date ubuntu 16.04. The RES memory usage went once up to more than 10GB... Re-starting cinnamon reduces its RES memory usage down to ~200mb. Indicator support is already disabled.
$ inxi -Fxz
System: Host: sky Kernel: 4.4.0-103-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Cinnamon 3.6.6 (Gtk 2.24.30)
Distro: Ubuntu 16.04 xenial
Machine: System: Dell (portable) product: XPS 13 9360
Mobo: Dell model: 06CC14 v: A00 Bios: Dell v: 2.1.0 date: 08/02/2017
CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11615
clock speeds: max: 3500 MHz 1: 719 MHz 2: 692 MHz 3: 705 MHz 4: 672 MHz
Graphics: Card: Intel Device 5916 bus-ID: 00:02.0
Display Server: X.Org 1.18.4 driver: N/A Resolution: 3200x1800@59.98hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.4.0-103-generic
Network: Card: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter driver: ath10k_pci bus-ID: 3a:00.0
IF: wlp58s0 state: up mac: <filter>
Drives: HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 1024.2GB
Partition: ID-1: / size: 904G used: 394G (46%) fs: ext4 dev: /dev/nvme0n1p3
ID-2: swap-1 size: 34.12GB used: 0.12GB (0%) fs: swap dev: /dev/nvme0n1p4
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 63.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 292 Uptime: 2 days Memory: 8571.9/15932.2MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
Same issue, on one machine only - the other has never been affected. I keep switching back to Mate (which does not have the problem) when the Cinnamon desktop becomes unusable. But I like Cinnamon better, so every time a new version of Mint comes out I try again. I have had the problem from Mint 17.3, 18.1, 18.2 and now 18.3, with various kernels. After a clean install it takes perhaps a couple of weeks before the issue arises, and as time goes on it gets worse and worse. Restarting Cinnamon with Ctrl-Alt-Esc fixes the problem for a few minutes, but it soon comes back. Rebooting also gives only a few minutes respite. So this is a very peculiar problem - there is clearly some configuration data that Cinnamon is saving that does not get reset on a reboot and that gets progressively worse. There is ample memory and disk space, on an 8-processor Core i7.
$ inxi -Fxz
System: Host: Nimrod Kernel: 4.10.0-40-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: H170M-PLUS v: Rev X.0x Bios: American Megatrends v: 3404 date: 07/10/2017
CPU: Quad core Intel Core i7-6700K (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 32064
clock speeds: max: 4200 MHz 1: 1168 MHz 2: 3899 MHz 3: 3865 MHz 4: 917 MHz 5: 2097 MHz 6: 3507 MHz
7: 3799 MHz 8: 1166 MHz
Graphics: Card: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1024x768@60.00hz, 1920x1200@59.95hz
GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.10.0-40-generic
Network: Card: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1000.2GB (15.8% used) ID-1: /dev/sda model: WDC_WD10J31X size: 1000.2GB
Partition: ID-1: / size: 20G used: 9.5G (53%) fs: ext4 dev: /dev/sda7
ID-2: /home size: 289G used: 124G (46%) fs: ext4 dev: /dev/sda4
ID-3: swap-1 size: 15.73GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: 0
Info: Processes: 262 Uptime: 5:08 Memory: 1431.0/15900.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
The same issue
The size of memory occupied by the cinnamon- process increasing. And after 8 hours, there is already more 1 gigabyte.
System: Host: Andrey Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) dm: mdm Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: RAMPAGE IV EXTREME v: Rev 1.xx
Bios: American Megatrends v: 4901 date: 05/14/2014
CPU: Hexa core Intel Core i7-3960X (-HT-MCP-) cache: 15360 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 39596
clock speeds: min/max: 1200/4700 MHz 1: 4399 MHz 2: 4399 MHz 3: 4399 MHz 4: 4399 MHz
5: 4399 MHz 6: 4399 MHz 7: 4399 MHz 8: 4399 MHz 9: 4399 MHz 10: 4400 MHz 11: 4399 MHz
12: 4399 MHz
Graphics: Card-1: NVIDIA GK104 [GeForce GTX 690] bus-ID: 03:00.0 chip-ID: 10de:1188
Card-2: NVIDIA GK104 [GeForce GTX 690] bus-ID: 04:00.0 chip-ID: 10de:1188
Display Server: X.Org 1.18.4 drivers: nvidia,nouveau (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
GLX Renderer: GeForce GTX 690/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.90 Direct Rendering: Yes
Audio: Card-1 2x NVIDIA GK104 HDMI Audio Controller
driver: snd_hda_intelsnd_hda_intel bus-ID: 04:00.1 chip-ID: 10de:0e0a
Card-2 Intel C600/X79 series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:1d20
Sound: Advanced Linux Sound Architecture v: k4.10.0-42-generic
Network: Card: Intel 82579V Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0 chip-ID: 8086:1503
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 2000.4GB (63.2% used)
ID-1: /dev/sda model: Hitachi_HDS72302 size: 2000.4GB serial: MN5220F32HW9UK
Partition: ID-1: / size: 48G used: 11G (23%) fs: ext4 dev: /dev/sda5
ID-2: /home size: 19G used: 12G (66%) fs: ext4 dev: /dev/sda7
ID-3: swap-1 size: 15.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: System: supported: N/A
No RAID devices: /proc/mdstat, md_mod kernel module present
Unused Devices: none
Sensors: System Temperatures: cpu: 75.0C mobo: N/A gpu: 0.0:71C
Fan Speeds (in rpm): cpu: 0
Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http: //mirrors.evowise.com/linuxmint/packages sylvia main upstream import backport
deb http: //mirror.corbina.net/ubuntu xenial main restricted universe multiverse
deb http: //mirror.corbina.net/ubuntu xenial-updates main restricted universe multiverse
deb http: //mirror.corbina.net/ubuntu xenial-backports main restricted universe multiverse
deb http: //security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http: //archive.canonical.com/ubuntu/ xenial partner
Info: Processes: 319 Uptime: 3:28 Memory: 4080.1/15981.1MB
Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
Client: Unknown python2.7 client inxi: 2.2.35
-cinnamon 800Mb Two hour after restart.
For those that are listing system specs, can you guys run this command? It will be more helpful for this issue.
Run gsettings get org.cinnamon enabled-applets && gsettings get org.cinnamon enabled-desklets && gsettings get org.cinnamon enabled-extensions
. It will list all the xlets that are currently in use. Third party xlets can do anything Cinnamon can, and is a factor that should always be known when reporting memory/cpu problems.
Also attaching ~/.xsession-errors
and ~/.cinnamon/glass.log
is a great help.
paul@Nimrod ~ $ gsettings get org.cinnamon enabled-applets ['panel1:right:0:systray@cinnamon.org:0', 'panel1:left:0:menu@cinnamon.org:1', 'panel1:left:2:panel-launchers@cinnamon.org:3', 'panel1:left:3:window-list@cinnamon.org:4', 'panel1:right:1:keyboard@cinnamon.org:5', 'panel1:right:2:notifications@cinnamon.org:6', 'panel1:right:3:removable-drives@cinnamon.org:7', 'panel1:right:4:user@cinnamon.org:8', 'panel1:right:5:network@cinnamon.org:9', 'panel1:right:6:bluetooth@cinnamon.org:10', 'panel1:right:7:power@cinnamon.org:11', 'panel1:right:8:calendar@cinnamon.org:12', 'panel1:right:9:sound@cinnamon.org:13'] paul@Nimrod ~ $ gsettings get org.cinnamon enabled-desklets @as [] paul@Nimrod ~ $ gsettings get org.cinnamon enabled-extensions @as []
Github would not let me upload the requested files directly, but here are copies. xsession-errors.txt cinnamon.glass.log
After 6 hours it is 1,4 Gb in the process list.
@IlyukhinAndrey You didn't provide any info about your Cinnamon environment, like the Cinnamon version, xlets used, log data I mentioned above, etc.
andrey@Andrey ~ $ gsettings get org.cinnamon enabled-applets && gsettings get org.cinnamon enabled-desklets && gsettings get org.cinnamon enabled-extensions ['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:show-desktop@cinnamon.org:1', 'panel1:left:2:panel-launchers@cinnamon.org:2', 'panel1:left:3:window-list@cinnamon.org:3', 'panel1:right:0:notifications@cinnamon.org:4', 'panel1:right:4:user@cinnamon.org:5', 'panel1:right:5:removable-drives@cinnamon.org:6', 'panel1:right:6:keyboard@cinnamon.org:7', 'panel1:right:7:network@cinnamon.org:9', 'panel1:right:8:sound@cinnamon.org:10', 'panel1:right:9:power@cinnamon.org:11', 'panel1:right:10:systray@cinnamon.org:12', 'panel1:right:11:calendar@cinnamon.org:13', 'panel1:right:12:windows-quick-list@cinnamon.org:14', 'panel1:right:1:gputemperature@silentage.com:16', 'panel1:right:2:temperature@fevimu:17'] @as [] @as [] glass.log
@jaszhix
mek101@mint18 ~ $ gsettings get org.cinnamon enabled-applets && gsettings get org.cinnamon enabled-desklets && gsettings get org.cinnamon enabled-extensions
['panel1:left:0:menu@cinnamon.org:1', 'panel1:center:0:window-list@cinnamon.org:4', 'panel1:right:1:systray@cinnamon.org:0', 'panel1:right:0:notifications@cinnamon.org:6', 'panel1:right:4:removable-drives@cinnamon.org:7', 'panel1:right:9:user@cinnamon.org:8', 'panel1:right:5:network@cinnamon.org:9', 'panel1:right:8:calendar@cinnamon.org:12', 'panel1:right:7:sound@cinnamon.org:13']
@as []
@as []
mek101@mint18 ~ $
glass.log and .xsession-errors
@pizzadude Indicator support now disabled. Let's see if it works.
Here is my output of gsettings:
$gsettings get org.cinnamon enabled-applets && gsettings get org.cinnamon enabled-desklets && gsettings get org.cinnamon enabled-extensions ['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:show-desktop@cinnamon.org:1', 'panel1:left:2:panel-launchers@cinnamon.org:2', 'panel1:left:3:window-list@cinnamon.org:3', 'panel1:right:7:notifications@cinnamon.org:4', 'panel1:right:11:user@cinnamon.org:5', 'panel1:right:12:removable-drives@cinnamon.org:6', 'panel1:right:14:network@cinnamon.org:9', 'panel1:right:15:sound@cinnamon.org:10', 'panel1:right:16:power@cinnamon.org:11', 'panel1:right:18:systray@cinnamon.org:12', 'panel1:right:19:calendar@cinnamon.org:13', 'panel1:right:20:windows-quick-list@cinnamon.org:14', 'panel1:right:8:temperature@fevimu:16', 'panel1:right:9:weather@mockturtl:31', 'panel1:right:10:cpufreq@mtwebster:32', 'panel1:right:6:sysmonitor@orcus:34', 'panel1:right:17:blueberry@cinnamon.org:35', 'panel1:right:1:keyboard@cinnamon.org:39'] @as [] @as []
The measured growth of RES mem usage is roughly 1kB/minute.
Hi,
i too have about 3.3GB Ram usage after 2 days. indicator support is disabled.
glass.log.txt xsession-errors.txt
melvin@r2d2 ~ └─ 07:29 PM $ gsettings get org.cinnamon enabled-applets ; echo; gsettings get org.cinnamon enabled-desklets ; echo ;gsettings get org.cinnamon enabled-extensions ['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:show-desktop@cinnamon.org:1', 'panel1:left:2:panel-launchers@cinnamon.org:2', 'panel1:left:3:window-list@cinnamon.org:3', 'panel1:right:0:notifications@cinnamon.org:4', 'panel1:right:3:keyboard@cinnamon.org:7', 'panel1:right:4:bluetooth@cinnamon.org:8', 'panel1:right:5:network@cinnamon.org:9', 'panel1:right:6:sound@cinnamon.org:10', 'panel1:right:8:systray@cinnamon.org:12', 'panel1:right:9:calendar@cinnamon.org:13', 'panel1:right:10:windows-quick-list@cinnamon.org:14', 'panel1:right:0:multicore-sys-monitor@ccadeptic23:15', 'panel1:right:0:temperature@fevimu:17']
@as []
I didn't power off my computer on Friday just for interest. It should be interesting to see on the size of process on Mondays morning :)
@IlyukhinAndrey good luck then
Does some know hot to tag this thread as "bug"?
@Mek101 Why would we tag it?, no one has provided proof it's cinnamon that's leaking. The only common denominator I can see is the crappy xenial base and some ancient Xorg version :-)
Closed
Duplicate of #6850
@Mek101 About 4,7Gb ))) I solved the issue. The reason were the GPU and CPU temperature applets in status bar. I didn`t try to define witch one is bad, but when I turned it off and restart -cinnamon it was finished to increase in memory. So if any body have such problem, try to turn OFF, it helped in my case: gputemperature@silentage.com or/and temperature@fevimu, or something like that...
Im having this issue aswell. Killing cinnamon (which automatically gets reopened) worksaround the issue.
Issue Cinnamon eats up to 25% cpu (100% of one core) at random spikes, making the GUI freeze, the more time passes, the more those freezes become longer and more frequent, until the desktop becomes unusable. To only way to temporarily solve the problem is restarting Cinnamon every 4-5 minutes. I've already tried different things: Updating the kernel Updating the video driver Disabling effects Renaiming $HOME/.cinnamon Useless to say that none of them worked. I've also already asked about this issue in the mint forums here: https://forums.linuxmint.com/viewtopic.php?f=208&t=254604&p=1371857#p1371857 But it keeps to reappear again and again. It also produces tearing while moving windows, during the visual effects, while watching videos (both youtube and local ones) and playing games, but the main problem is still the randomic freezing
Other information