mosquitto snap produces high CPU load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Running the MQTT broker mosquitto as snap produced a CPU load of 10-30%. Moving it to a docker container with the same settings reduced the load to 1-2%.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: snap (not installed)
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
Date: Tue May 10 18:00:04 2022
InstallationDate: Installed on 2021-10-22 (199 days ago)
InstallationMedia: Ubuntu-Server 21.10 "Impish Indri" - Release amd64 (20211013)
ProcEnviron:
SHELL=/bin/bash
LANG=C.UTF-8
TERM=xterm
XDG_RUNTIME_
PATH=(custom, no user)
SourcePackage: snap
UpgradeStatus: Upgraded to jammy on 2022-04-22 (18 days ago)
affects: | snap (Ubuntu) → snapd (Ubuntu) |
Are there any denials being logged? Anything in dmesg?
Did you move the extracted snap binaries to a container?