• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue An error has occurred while receiving disk operations usage.

KZM

Basic Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
Plesk Obsidian 18.055
Hi,

When I go to Plesk --> Process list, the message below is shown.
1694988664737.png


An error has occurred while receiving disk operations usage. Stdout: Stderr: Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment Exit code: 1

Question: what is it and how to fix?

Thanks in advance
 
It could be a bug, but it could also be linked to the Python version used on the system. Did you update//modify Python after installing Plesk?
Please either submit it as an issue report here: Plesk Forum
or, if you are seeking a fast solution, please submit a support ticket with https://support.plesk.com
 
just wondered if this has/can be fixed at all?
same issue here, Proxmox 8.2 KVM Ubuntu 22.04
error seems to be related to the iotop package
 
simple fix/patch is add
Code:
pgpgin = 0
pgpgout = 0
to
Code:
/usr/lib/python3/dist-packages/iotop/vmstat.py
at lines 26 just after
Code:
def read(self)
 
Back
Top