• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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