High CPU usage/runaway process by MXPI after closing.

Report Bugs, Issues and non- package Requests
Message
Author
turfymiler
Posts: 15
Joined: Thu Oct 22, 2020 4:56 am

Re: High CPU usage/runaway process by MXPI after closing.

#21 Post by turfymiler »

25.09.1 appeared in MX Updater for me today. I installed it but the problem is still with me. The package Installer process doesn't stop when I close the application and suddenly takes up 25% of CPU after a couple of minutes. Each time I open MXPI again in a session another 25% of CPU gets used.

User avatar
wdscharff
Posts: 1150
Joined: Mon Feb 24, 2020 1:07 am

Re: High CPU usage/runaway process by MXPI after closing.

#22 Post by wdscharff »

I've tried every variation mentioned here, from opening and immediately closing the program to doing nothing and waiting, to doing something and quitting/or waiting and quitting later.
No matter what I do, after 1-3 seconds the memory is freed, MXPI disappears from the System Monitor, and my PC displays the usual idle values.

Since Conky is configured on my system so that I can directly monitor the memory requirements and utilization of all cores, including the top 5 (or 10 if needed) applications, I would have noticed this behavior immediately.
my working horse Desktop AMD Ryzen 9 3900x, 32GB Ram // SSD ... enough
mx-fluxbox, what else?

In nature there are neither rewards nor punishments.
There are consequences.


my wallpaper gallery

turfymiler
Posts: 15
Joined: Thu Oct 22, 2020 4:56 am

Re: High CPU usage/runaway process by MXPI after closing.

#23 Post by turfymiler »

I've found what was causing my problem with MX Package Installer. I use OpenSnitch and had set it to deny /usr/bin/flatpak as I don't use flatpaks. In an earlier post I mentioned that I thought I'd turned off flatpaks somewhere. Just occurred to me this morning that OpenSnitch is where I'd done that.

I changed /usr/bin/flatpak in OpenSnitch from 'Always deny' to 'Always allow', started MXPI from Terminal and closed it. This time I got the prompt back in Terminal and the MXPI process in Task Manager disappeared.

My problem is resolved. I guess not many others use OpenSnitch and decide to deny /usr/bin/flatpak without realising the consequence for MXPI.

@retroD0d0 - could this be the cause of your problem too?
Last edited by turfymiler on Mon Sep 15, 2025 3:17 am, edited 4 times in total.

User avatar
Eadwine Rose
Administrator
Posts: 15259
Joined: Wed Jul 12, 2006 2:10 am

Re: High CPU usage/runaway process by MXPI after closing.

#24 Post by Eadwine Rose »

Wow.. good that you found the problem! Please click the checkmark in the top right set of buttons of the post that holds the solution to mark the topic solved, this way readers will be taken directly to the solution. Thanks :)
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

retroD0d0
Posts: 86
Joined: Sat Aug 17, 2024 4:36 pm

Re: High CPU usage/runaway process by MXPI after closing.

#25 Post by retroD0d0 »

@turfymiler No, I don't use OpenSnitch. Hmmm, this certainly explains why a clean .iso works for you. Glad you managed to resolve the issue your end. It does seem @Adrian was onto something, the MXPI initialisation process, including package list updates, is not meant to be interrupted, manually in my case or by another application in yours. The cleanup function is what appears to hang.

Thanks @wdscharff for taking the time to test on your end for us. As I said, for me, it is every iso, every system, live or installed. The only common factor I can think of between my various installations is my geographic location (Indian Ocean), I was thinking it may be something to do with the way my local repos are configured, but on my fresh/clean/ live iso the default US repos are still configured. Unless it is something else geo-based? System time/region seems correctly configured across installations.

The only other common factor is that my systems are relatively low-spec, my most powerful system is an Intel N100! They all run mx dreamily though, generally speaking, including KDE except for my puny AMD E-350 (Fluxbox to the rescue!)

Personally, it is an issue I can live, now that I am aware, but I would hate for other users to have the issue and not know, it mercilessly gobbles cpu cycles and electricity.

turfymiler
Posts: 15
Joined: Thu Oct 22, 2020 4:56 am

Re: High CPU usage/runaway process by MXPI after closing.

#26 Post by turfymiler »

@Eadwine Rose - Yes, it's good to have resolved my issue but @retroD0d0 is the original poster and still has their issue. So it wouldn't be right for to mark this topic as solved.

Thank you to all who've posted to help me with the issue I had.

User avatar
Adrian
Developer
Posts: 9222
Joined: Wed Jul 12, 2006 1:42 am

Re: High CPU usage/runaway process by MXPI after closing.

#27 Post by Adrian »

turfymiler wrote: Mon Sep 15, 2025 3:16 am @Eadwine Rose - Yes, it's good to have resolved my issue but @retroD0d0 is the original poster and still has their issue. So it wouldn't be right for to mark this topic as solved.

Thank you to all who've posted to help me with the issue I had.
Agreed. BTW, you can also uninstall flatpak, you don't need to block it on the firewall...

Post Reply

Return to “Bugs and Non-Package Requests Forum”