• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

An error has occurred while receiving disk operations usage.

KZM

Basic Pleskian
Username:

TITLE

An error has occurred while receiving disk operations usage.

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Your OS version Ubuntu 22.04.3 LTS
Plesk version Plesk Obsidian 18.055

PROBLEM DESCRIPTION

When I go to Plesk --> Process list, the message below is shown:

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?

STEPS TO REPRODUCE

Go to Plesk --> Process list

ACTUAL RESULT

error is shown

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?

EXPECTED RESULT

no errors

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Same Error here.

Plesk Obsidian v18.0.59_build1800240229.10 os_Ubuntu 22.04
Ubuntu 22.04.4 LTS

Se ha producido un error mientras se recibía el uso de las operaciones del disco. 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 Código de salida: 1
 
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