[SOLVED, I think...NOPE] Conky showing incorrect RAM usage

Not sure but I made around 50-60 changes and I restarted each time for some reason :smiley:

1 Like

Maybe you need to reboot after each change, just as you did this last time… boy is that going to be fun… :grin:

I’ve had that happen. Conky locks up if you’re editing it. Usually more than just the RAM froze, as I recall.

1 Like

I think what happened was that your previous version was still in the buffer. So, when you ran conky, it kept running the older version instead of the updated version. That’s probably why when you had rebooted the system, the buffer was cleared and your new version loaded like it was supposed to and ran the latest version… :thinking:

Yeah I have had it happen as well though not after I had killed the Conky session though.

Hmmm the RAM issue has reappeared. I haven’t made any changes to conky at all. My computer was idle all night.

Shows me using 14gb RAM when I’m actually using 3.2gb.

That computer run any cron jobs or services like web server? Something that would normally spike the memory every now and then.

Like the memory gets spiked and that part of conky doesn’t recover.

The code you posted yesterday looked good. As a test, maybe make a memory percent only conky and run it with your usual one. See if they output the same memory use.

No cron jobs or services, I suppose if I did the System Monitor would reflect the conky display?

I’m gonna mess around with a Membar only conky and see if it duplicates there.

It should. Does that system monitor keep a log? You can take a look at that and see if there is a spike in the memory use. That’s all I can think of, something spikes the memory usage and breaks that part of conky - which seems weird; you would think it would freeze the entire conky.

Good call.

I’m just gonna watch the system monitor for a bit to see if there are any spikes etc.

I agree with @PackRat, when there’s an issue in conky on my system, the whole thing freezes until I reboot the system. As I saw in your earlier post @Dobbie03, I have seen a lot of activity of writing to your HDD/SSD but not so much in the reading from. It would be helpful to see what your logs show and maybe give us a clue as to what is transpiring. Could it be a glitch in conky and not your structure of your code? Your log may help us determine what is breaking conky. If you reboot your machine, does it correct the readings?

Can we see the output of free -h when conky shows the excessive usage? Perhaps also check ps_mem.

1 Like

Start that conky from a terminal and post the output.

Is that a lua function for the background, or conky native argb value.

Post the entire code for the conkyrc, I guess.

free -h reflected what the Mate System Monitor was showing.

I’ll check it out later with ps_mem.

Well here we go again. Here is the output of ps_mem

 Private  +   Shared  =  RAM used	Program

164.0 KiB +  35.5 KiB = 199.5 KiB	tail
252.0 KiB +  44.5 KiB = 296.5 KiB	xinit
128.0 KiB + 168.5 KiB = 296.5 KiB	sleep
320.0 KiB +  64.5 KiB = 384.5 KiB	xprop
380.0 KiB +  66.5 KiB = 446.5 KiB	rtkit-daemon
260.0 KiB + 272.5 KiB = 532.5 KiB	mpc
624.0 KiB + 233.5 KiB = 857.5 KiB	xfconfd
540.0 KiB + 329.5 KiB = 869.5 KiB	check-network
800.0 KiB +  70.0 KiB = 870.0 KiB	ksuperkey (2)
560.0 KiB + 328.5 KiB = 888.5 KiB	check-update
580.0 KiB + 329.5 KiB = 909.5 KiB	startx
840.0 KiB + 112.5 KiB = 952.5 KiB	dconf-service
684.0 KiB + 328.5 KiB =   1.0 MiB	bash
932.0 KiB + 148.5 KiB =   1.1 MiB	gvfs-mtp-volume-monitor
  1.1 MiB +  22.5 KiB =   1.1 MiB	urxvtd
  1.0 MiB + 152.5 KiB =   1.1 MiB	at-spi-bus-launcher
  1.0 MiB + 190.5 KiB =   1.2 MiB	login
  1.1 MiB + 162.5 KiB =   1.2 MiB	gvfsd-fuse
  1.1 MiB + 187.5 KiB =   1.2 MiB	at-spi2-registryd
  1.0 MiB + 305.5 KiB =   1.3 MiB	gvfsd
  1.1 MiB + 221.5 KiB =   1.3 MiB	gsettings-helper
  1.3 MiB + 137.5 KiB =   1.4 MiB	xscreensaver
  1.2 MiB + 303.5 KiB =   1.5 MiB	gvfsd-metadata
  1.3 MiB + 196.5 KiB =   1.5 MiB	ntpd
  1.1 MiB + 569.5 KiB =   1.7 MiB	gvfsd-dnssd
  1.3 MiB + 511.5 KiB =   1.8 MiB	gvfsd-trash
  1.3 MiB + 501.5 KiB =   1.8 MiB	gvfsd-network
  1.2 MiB + 599.5 KiB =   1.8 MiB	systemd-logind
  1.8 MiB + 252.5 KiB =   2.1 MiB	mpdscribble
  1.8 MiB + 521.5 KiB =   2.3 MiB	sudo
  2.2 MiB + 525.0 KiB =   2.8 MiB	mount.ntfs (4)
  2.2 MiB + 519.5 KiB =   2.8 MiB	systemd-udevd
  2.1 MiB + 777.5 KiB =   2.9 MiB	upowerd
  2.4 MiB + 544.5 KiB =   3.0 MiB	dbus-daemon (3)
  3.1 MiB + 120.5 KiB =   3.2 MiB	gnome-keyring-daemon
  2.8 MiB + 595.5 KiB =   3.4 MiB	gvfs-udisks2-volume-monitor
  2.7 MiB + 795.5 KiB =   3.5 MiB	i3
  2.9 MiB + 677.5 KiB =   3.6 MiB	(sd-pam)
  2.7 MiB +   1.5 MiB =   4.2 MiB	nginx (5)
  4.0 MiB + 682.5 KiB =   4.7 MiB	sxiv
  5.2 MiB +   0.5 KiB =   5.2 MiB	greenclip
  5.2 MiB + 100.5 KiB =   5.3 MiB	zsh
  4.5 MiB +   2.9 MiB =   7.3 MiB	systemd (2)
  6.3 MiB +   1.2 MiB =   7.5 MiB	NetworkManager
  7.0 MiB + 665.5 KiB =   7.7 MiB	udisksd
  6.6 MiB +   1.6 MiB =   8.2 MiB	conky
  7.3 MiB +   1.0 MiB =   8.3 MiB	pulseaudio
  7.9 MiB +   1.4 MiB =   9.3 MiB	dunst
  8.9 MiB + 715.5 KiB =   9.6 MiB	i3-switch-if-wo
  8.7 MiB +   1.4 MiB =  10.0 MiB	mate-power-manager
  8.9 MiB +   2.0 MiB =  10.9 MiB	httpd (4)
  8.9 MiB +   2.2 MiB =  11.1 MiB	mate-volume-control-status-icon
 11.7 MiB +  15.5 KiB =  11.7 MiB	nordvpnud
 10.7 MiB +   2.5 MiB =  13.2 MiB	nm-applet
  8.6 MiB +   5.3 MiB =  13.9 MiB	polybar (2)
 14.9 MiB + 255.5 KiB =  15.1 MiB	polkitd
 11.2 MiB +   6.5 MiB =  17.7 MiB	php-fpm (3)
 12.8 MiB +   6.5 MiB =  19.3 MiB	urxvt (2)
 24.7 MiB +   2.1 MiB =  26.8 MiB	python3.7 (3)
 23.6 MiB +   4.7 MiB =  28.3 MiB	systemd-journald
 19.2 MiB +   9.8 MiB =  28.9 MiB	polkit-gnome-authentication-agent-1
 20.4 MiB +   9.5 MiB =  29.9 MiB	mate-session
 21.9 MiB +  12.6 MiB =  34.5 MiB	compton
 35.4 MiB + 610.5 KiB =  36.0 MiB	ncmpcpp
 43.5 MiB +   1.2 MiB =  44.7 MiB	mpd
 10.8 MiB +  33.9 MiB =  44.7 MiB	mate-settings-daemon
 70.6 MiB + 115.5 KiB =  70.7 MiB	nordvpnsd
 34.7 MiB +  76.8 MiB = 111.5 MiB	Xorg
257.8 MiB +  10.8 MiB = 268.6 MiB	WebExtensions
330.5 MiB + 152.5 MiB = 483.0 MiB	firefox
  1.1 GiB + 187.5 MiB =   1.2 GiB	Web Content (6)
---------------------------------
                          2.7 GiB
=================================

and free -h

              total        used        free      shared  buff/cache   available
Mem:           15Gi       2.2Gi       2.7Gi       754Mi        10Gi        12Gi
Swap:          17Gi       1.0Mi        17Gi

Conky is saying I am using 13gb’s of RAM.

You’re running mate with i3 as the window manager?

This wasn’t happening when you were only running i3 was it?

One thing that sticks out is compton; you don’t need that since mate has it’s own compositor. Maybe some conflict there.

That memory use for Xorg is pretty high.

Looks like conky is reporting the buffers & cache as used RAM, which is a bit silly.

Perhaps submit a bug report with a link to https://www.linuxatemyram.com/ :grin:

@PackRat, X is using up loads of memory 'cos Dobbie has an obscenely high screen resolution :slight_smile:

3 Likes

It’s disabled by default and I haven’t enabled it. Plus it doesn’t seem to work with i3 so I stuck with compton. :smiley:

What HoaS said :smiley:

Yeah I have no-buffers set to true, so theoritcally Conky should be reporting just the RAM being used.