iotop after 7.2 upgrde

Tobbe

Member
Oct 4, 2021
21
7
8
Hello

after upgrade to 7.2 iotop fields SWAPIN and IO is unavailable.
i suspect this is related to the new kernel.

suggestions how to fix?
 
i suspect this is related to the new kernel.
Hmm - sounds sensible - and I just checked - the values are not present here as well with the new kernel - however - this thread:
https://www.spinics.net/lists/kernel/msg4053632.html

pointed me to the new sysctl - and:
Code:
sysctl -w kernel.task_delayacct=1

fixed the issue for me - you can set it in /etc/sysctl.d/99-local.cf for example.

I hope this helps!
 
  • Like
Reactions: MrThiemann
Actually, iotop shows "CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and...."

Editing /etc/grub/default with
GRUB_CMDLINE_LINUX_DEFAULT="delayacct"
fixes this issue.

So, maybe have sense to enable it in kernel again? And post and update (or with new kernel)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!