Repair kit does not show statistics for disk IO in Plesk on Debian 12

Started by mahesh, Dec 20, 2023, 06:49 AM

Previous topic - Next topic

mahesh

Symptoms
Repair kit does not show statisctics for disk IO in Plesk on Debian 12
'iotop' does not display values for SWAPIN and IO %.
Cause
Since Linux kernel 5.14, either kernel boot parameter delayacct needs to be specified or kernel.task_delayacct sysctl needs to be enabled.

Resolution
Temporary Workaround:

1. Connect to the server via SSH

2. Run the following command:

#sysctl -w kernel.task_delayacct=1
to confirm the change is complete

#sysctl -n kernel.task_delayacct
To make the change permanent
To make the change permanent after the system is rebooted run the following:

#echo "kernel.task_delayacct = 1" >> /etc/sysctl.conf

#sysctl -p