I noticed this on upgrade from vanilla 6.14.3 to 6.14.4. 6.14.4 contains
"eventpoll: Set epoll timeout if it's in the future"

There's a patch proposing a fix for an endless busy wait: 
https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git/commit/?id=d9ec73301099

I'm going apply it to 6.14.7 and try it.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2110289

Title:
  snapd has high CPU usage for exactly 150 seconds every 5, 7.5 or 10
  minutes

Status in Go:
  New
Status in Linux:
  New
Status in snapd:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since recently, I have observed a periodic high CPU spike on the snapd
  process.

  It first occurs 5 minutes after start of the snapd systemd service. It
  always lasts for exactly 150 seconds (2.5 minutes) and occurs every 5,
  7.5 or 10 minutes. It maxes out a CPU core for the 150 seconds it is
  running.

  If you run `sudo snap refresh` while the CPU spike is occurring, the
  spike stops immediately.

  I have attached a CPU usage log which logs the CPU usage of the snapd
  process every 5 seconds.

  Some info about my system:

  snap --version:

  snap    2.68.4
  snapd   2.68.4
  series  16
  ubuntu  22.04
  kernel  6.14.5-1-liquorix-amd64

  lsb_release -a:

  Distributor ID:       Ubuntu
  Description:  Ubuntu 22.04.5 LTS
  Release:      22.04
  Codename:     jammy

  uname -a:

  Linux schneeflocke 6.14.5-1-liquorix-amd64 #1 ZEN SMP PREEMPT_DYNAMIC
  liquorix 6.14-7ubuntu1~jammy (2025-05 x86_64 x86_64 x86_64 GNU/Linux

  Measurements:

  Spike Start - Spike End -> Total Time
  12:25:26    - 12:22:56  -> 2:30 min
  12:35:26    - 12:37:56  -> 2:30 min
  12:40:26    - 12:42:56  -> 2:30 min
  12:47:56    - 12:50:26  -> 2:30 min
  12:52:56    - 12:55:26  -> 2:30 min

  What additional info can I provide to identify the problem?

To manage notifications about this bug go to:
https://bugs.launchpad.net/golang/+bug/2110289/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to