Mabox is slow and Terminator works strangely

Hi to all.
I noticed that Mabox was slow at startup, when I opened Firefox it took a long time to display the home page and I noticed that the cpu usage reached 100%, this had never happened to me, I opened a terminal and it also took a long time to display on screen, when I typed ‘sudo find / -name *. pacsave’ I noticed that it was stuck and after a while it gave the requested result, both issues caught my attention so I decided to reinstall Terminator which apparently solved the issue with the terminal and deactivated Picom, now it seems more fluid. I searched for errors in journactl and this is the result it gave:

claudio@Claudio-Mabox ~ $ journalctl | grep error
ago 08 20:54:46 Claudio-Mabox pulseaudio[576]: X11 I/O error handler called
ago 08 20:54:46 Claudio-Mabox pulseaudio[576]: X11 I/O error exit handler called, preparing to tear down X11 modules
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
ago 08 21:56:41 Claudio-Mabox pulseaudio[555]: X11 I/O error handler called
ago 08 21:56:41 Claudio-Mabox pulseaudio[555]: X11 I/O error exit handler called, preparing to tear down X11 modules
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
ago 12 22:11:00 Claudio-Mabox pulseaudio[570]: X11 I/O error handler called
ago 12 22:11:00 Claudio-Mabox pulseaudio[570]: X11 I/O error exit handler called, preparing to tear down X11 modules
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
ago 17 22:35:16 Claudio-Mabox pulseaudio[567]: X11 I/O error handler called
ago 17 22:35:16 Claudio-Mabox pulseaudio[567]: X11 I/O error exit handler called, preparing to tear down X11 modules
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
ago 18 20:20:49 Claudio-Mabox dirmngr[36260]: error mientras se accedía 'https://openpgpkey.archlinux.org/.well-known/openpgpkey/archlinux.org/hu/ymokugqfbcxatz54t7pyjapzpc46w4we?l=andrew': http status 404
ago 18 20:20:49 Claudio-Mabox archlinux-keyring-wkd-sync[40129]: gpg: error recuperando 'andrew@archlinux.org' vía WKD: No hay datos
ago 18 20:20:49 Claudio-Mabox archlinux-keyring-wkd-sync[40129]: gpg: error reading key: No hay datos
ago 18 20:27:45 Claudio-Mabox dirmngr[36260]: error mientras se accedía 'https://openpgpkey.archlinux.org/.well-known/openpgpkey/archlinux.org/hu/ymokugqfbcxatz54t7pyjapzpc46w4we?l=andrew': http status 404
ago 18 20:27:45 Claudio-Mabox archlinux-keyring-wkd-sync[56255]: gpg: error recuperando 'andrew@archlinux.org' vía WKD: No hay datos
ago 18 20:27:45 Claudio-Mabox archlinux-keyring-wkd-sync[56255]: gpg: error reading key: No hay datos
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
ago 18 20:34:43 Claudio-Mabox dirmngr[36260]: error mientras se accedía 'https://openpgpkey.archlinux.org/.well-known/openpgpkey/archlinux.org/hu/ymokugqfbcxatz54t7pyjapzpc46w4we?l=andrew': http status 404
ago 18 20:34:43 Claudio-Mabox archlinux-keyring-wkd-sync[73122]: gpg: error recuperando 'andrew@archlinux.org' vía WKD: No hay datos
ago 18 20:34:43 Claudio-Mabox archlinux-keyring-wkd-sync[73122]: gpg: error reading key: No hay datos
ago 18 20:38:12 Claudio-Mabox pulseaudio[574]: X11 I/O error handler called
ago 18 20:38:12 Claudio-Mabox pulseaudio[574]: X11 I/O error exit handler called, preparing to tear down X11 modules
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
ago 18 20:57:34 Claudio-Mabox pulseaudio[563]: X11 I/O error handler called
ago 18 20:57:34 Claudio-Mabox pulseaudio[563]: X11 I/O error exit handler called, preparing to tear down X11 modules
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)
                                             (g-io-error-quark, 0)

I don’t see anything inherent to the issue in question in this topic, I share it in case someone has these same errors and know if they have problems with the performance of Mabox.
I am not an advanced user so I do not know well what could be generating these and how to solve them.

1 Like

I checked my journalctl logs and they are similar to yours. I don’t see a problem there.

A few things to check:
(You can paste the results of these commands here…)

1. Which process is eating up your CPU?

Check which process is using the CPU. Look at the Conky (default one shows process lists), run btop, top, lxtask or the following command:

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head

2. Full disk?

Check the disk usage and whether it is full

df -kh

3. Enable fstrim if you use solid-state-drive

If you use SSD (solid-state drives) or NVMe disc, then enable fstrim service.

2 Likes

What version of Mabox do you use? I am considering to upgrade mine to the latest (24.07).

1 Like

Mabox is a rolling distribution, versions are basically used to mark iso images.
The system should be updated regularly, e.g. at least once a month.
If you update today, the version will change to 24.08 Istredd, even though the August iso images are not yet released.

2 Likes

Hi @napcok Thank you for your answer. Here are the results you are requesting.

claudio@Claudio-Mabox ~ $ ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head
    PID    PPID CMD                         %MEM %CPU
   4210       1 /usr/lib/firefox/firefox    12.5 51.2
   5093    4210 /usr/lib/firefox/firefox -c  6.2 26.9
   8205       1 /usr/bin/python /usr/bin/te  2.0 10.3
   8528    8275 ps -eo pid,ppid,cmd,%mem,%c  0.0  9.0
   6683    4210 /usr/lib/firefox/firefox -c  5.1  8.9
   4911    4210 /usr/lib/firefox/firefox -c  3.2  5.6
    439     415 /usr/lib/Xorg :0 -seat seat  1.6  3.1
   6863    4210 /usr/lib/firefox/firefox -c  3.0  3.0
    539       1 conky -c /home/claudio/.con  0.6  2.0
claudio@Claudio-Mabox ~ $ df -kh
S.ficheros     Tamaño Usados  Disp Uso% Montado en
dev              1,9G      0  1,9G   0% /dev
run              2,0G   900K  2,0G   1% /run
/dev/sda3         28G   8,7G   18G  33% /
tmpfs            2,0G      0  2,0G   0% /dev/shm
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-udev-load-credentials.service
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-sysctl.service
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-journald.service
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-vconsole-setup.service
tmpfs            2,0G   8,0K  2,0G   1% /tmp
/dev/sda1         46G   6,7G   37G  16% /home
tmpfs            1,0M      0  1,0M   0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs            391M    68K  391M   1% /run/user/1000

My Hardware configuration is:
Intel Dual Core 2.5 ghz Cpu.
Ram 4 Gigas.
HDD: Hitachi 83 Gigas and a Western Digital 160 Gigas as a slave that I use for backups and personal documents.

GSmart control does not throw errors during testing.
According to Conky I have used 8,7 gigs of 28 gigs of the / partition.
6.7 gigs of 46 gigs of the /home partition and I have a swap partition of 2 gigs.
Kernel 6.6.44-1
I have no SSD

btop, top, lxtask do not show alarming results,
the most the cpu has used today is 50%.
In Conky I can see that they are running
Isolated Web Co
tint 2
firefox
pulseaudio
Xorg
Conky
Webextensions

In the remaining lines of btop there is nothing that is using cpu

Hi @ninja As @napcok told you my system is fully updated as of today and the version of my Mabox is the latest.

1 Like

Hello again, it seems that the cpu usage problem is generated at times by Firefox, I have noticed that visiting the forum, which is almost the only thing I am using it for, it shows the posts as if they were repeated, I refresh the page and it is corrected, I don’t know how to explain it, maybe a bug in the updates because it didn’t happen before.