Comment 7 for bug 2066286

Revision history for this message
Ninoy Radhakrishnan (nradhakrishnan) wrote : Re: [Bug 2066286] Re: Multipath 0.8.8 reports High CPU usage when having Lun's using Multipath

I was able to install.

Is this the fix backported to 0.8.8 and the multipath version will be still
names 0.8.8-* or will it be like multipath 0.9.4 available with Ubuntu 22.04

root@ninoy-ubuntu-22-04-template:~# apt list multipath\*
Listing... Done
multipath-tools-boot/jammy 0.8.8-1ubuntu1.22.04.5~jammy1 all
multipath-tools/jammy 0.8.8-1ubuntu1.22.04.5~jammy1 amd64 [upgradable from:
0.8.8-1ubuntu1.22.04.4]
root@ninoy-ubuntu-22-04-template:~# apt --only-upgrade install
multipath-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  kpartx
Suggested packages:
  multipath-tools-boot
The following packages will be upgraded:
  kpartx multipath-tools
2 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
Need to get 414 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1
https://ppa.launchpadcontent.net/mitchdz/lp2066286-multipath-tools-high-cpu-usage/ubuntu
jammy/main amd64 kpartx amd64 0.8.8-1ubuntu1.22.04.5~jammy1 [53.8 kB]
Get:2
https://ppa.launchpadcontent.net/mitchdz/lp2066286-multipath-tools-high-cpu-usage/ubuntu
jammy/main amd64 multipath-tools amd64 0.8.8-1ubuntu1.22.04.5~jammy1 [361
kB]
Fetched 414 kB in 1s (288 kB/s)
(Reading database ... 74437 files and directories currently installed.)
Preparing to unpack .../kpartx_0.8.8-1ubuntu1.22.04.5~jammy1_amd64.deb ...
Unpacking kpartx (0.8.8-1ubuntu1.22.04.5~jammy1) over
(0.8.8-1ubuntu1.22.04.4) ...
Preparing to unpack
.../multipath-tools_0.8.8-1ubuntu1.22.04.5~jammy1_amd64.deb ...
Unpacking multipath-tools (0.8.8-1ubuntu1.22.04.5~jammy1) over
(0.8.8-1ubuntu1.22.04.4) ...
Setting up kpartx (0.8.8-1ubuntu1.22.04.5~jammy1) ...
Setting up multipath-tools (0.8.8-1ubuntu1.22.04.5~jammy1) ...
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
root@ninoy-ubuntu-22-04-template:~# apt list multipath\*
Listing... Done
multipath-tools-boot/jammy 0.8.8-1ubuntu1.22.04.5~jammy1 all
multipath-tools/jammy,now 0.8.8-1ubuntu1.22.04.5~jammy1 amd64 [installed]
root@ninoy-ubuntu-22-04-template:~#

On Tue, May 21, 2024 at 2:35 PM Ninoy Radhakrishnan (he/him) <
<email address hidden>> wrote:

> Thank you for the quick help! I will test and let you know
>
> Regards,
> Ninoy
> ------------------------------
> *From:* <email address hidden> <email address hidden> on behalf of
> Mitchell Dzurick <email address hidden>
> *Sent:* Tuesday, May 21, 2024 2:17:53 PM
> *To:* <email address hidden> <email address hidden>
> *Subject:* [Bug 2066286] Re: Multipath 0.8.8 reports High CPU usage when
> having Lun's using Multipath
>
> Thank you for the quick reply!
>
> I'll set Focal to Invalid due to the patch not applying cleanly and
> supposedly not being affected by this issue. Let me know if you think
> that is wrong.
>
> I applied the patch to Jammy in my PPA for testing and it applied with
> fuzz. I didn't see any major concerns applying it. The package in my PPA
> is available at [0], so please test it once you have a chance.
>
> [0] -
> https://launchpad.net/~mitchdz/+archive/ubuntu/lp2066286-multipath-
> tools-high-cpu-usage
>
> ** Also affects: multipath-tools (Ubuntu Jammy)
> Importance: Undecided
> Status: New
>
> ** Also affects: multipath-tools (Ubuntu Focal)
> Importance: Undecided
> Status: New
>
> ** Changed in: multipath-tools (Ubuntu Focal)
> Status: New => Won't Fix
>
> ** Changed in: multipath-tools (Ubuntu Focal)
> Status: Won't Fix => Invalid
>
> ** Changed in: multipath-tools (Ubuntu Jammy)
> Status: New => Triaged
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2066286
>
> Title:
> Multipath 0.8.8 reports High CPU usage when having Lun's using
> Multipath
>
> Status in multipath-tools package in Ubuntu:
> Incomplete
> Status in multipath-tools source package in Focal:
> Invalid
> Status in multipath-tools source package in Jammy:
> Triaged
>
> Bug description:
> When Multipath 0.8.8 to 0.9.3 is used with Ubuntu20.04 and especially
> with 22.04, showing High CPU usage for systemd and multipathd
> processes, making node unresponsive. Multipath 0.9.4 works just fine.
> But as there is no official multipath package for 0.9.4 with Ubuntu
> 20.04/22.04, need to compile.
>
> The ask here is to have 0.9.4 available for Ubuntu 20.04 / 22.04.
> Currently its available for 23.x versions.
>
> I was able to use the Mantic package repo and install with 22.04 and
> make it work.
>
>
> Redhat fixed the same issue and below is the link,
>
> Redhat Bug description: https://access.redhat.com/solutions/7059978
>
> May be below is the code path having issue
> Seems this impacting 0.8.8 till 0.9.3.
>
> https://github.com/opensvc/multipath-tools/pull/31/commits/38851dcaafe31073655761228db7f09ffc5a9a58
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/2066286/+subscriptions
>
>