You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key to my problem appears to be in here, ProcessLookupError: [Errno 3] No such process
$ journalctl -u jtop.service -n 100 --no-pager
-- Logs begin at Mon 2023-03-27 11:54:08 MDT, end at Mon 2024-05-27 20:54:18 MDT. --
May 27 20:01:35 edge jtop[3105]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:02:09 edge jtop[3105]: [INFO] jtop.service - jtop timer thread close
May 27 20:02:35 edge jtop[3105]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:03:09 edge jtop[3105]: [INFO] jtop.service - jtop timer thread close
May 27 20:03:49 edge jtop[3105]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:04:14 edge jtop[3105]: [INFO] jtop.service - jtop timer thread close
May 27 20:04:39 edge jtop[3105]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:05:14 edge jtop[3105]: [INFO] jtop.service - jtop timer thread close
May 27 20:05:40 edge jtop[3105]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:06:16 edge jtop[3105]: [INFO] jtop.service - jtop timer thread close
May 27 20:07:03 edge jtop[3105]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:07:08 edge jtop[3105]: [CRITICAL] jtop.core.timer_reader - Exception in 'timer_reader thread': [Errno 3] No such process
May 27 20:07:10 edge jtop[3105]: [ERROR] jtop.service - Error subprocess [Errno 3] No such process
May 27 20:07:10 edge jtop[3105]: Traceback (most recent call last):
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 414, in run
May 27 20:07:10 edge jtop[3105]: if self._timer_reader.open(interval=interval):
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/timer_reader.py", line 62, in open
May 27 20:07:10 edge jtop[3105]: self._error_status()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/timer_reader.py", line 90, in _error_status
May 27 20:07:10 edge jtop[3105]: raise ex_value
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/timer_reader.py", line 46, in _timer_callback
May 27 20:07:10 edge jtop[3105]: self._callback()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 605, in jtop_stats
May 27 20:07:10 edge jtop[3105]: data = self.jtop_decode()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 569, in jtop_decode
May 27 20:07:10 edge jtop[3105]: total, table = self.processes.get_status()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/processes.py", line 136, in get_status
May 27 20:07:10 edge jtop[3105]: table = [self.get_process_info(prc[0], prc[3], prc[2], uptime) for prc in table]
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/processes.py", line 136, in <listcomp>
May 27 20:07:10 edge jtop[3105]: table = [self.get_process_info(prc[0], prc[3], prc[2], uptime) for prc in table]
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/processes.py", line 101, in get_process_info
May 27 20:07:10 edge jtop[3105]: mem_raw = cat(os.path.join('/proc', pid, 'statm')).split()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/common.py", line 110, in cat
May 27 20:07:10 edge jtop[3105]: return f.readline().rstrip('\x00')
May 27 20:07:10 edge jtop[3105]: ProcessLookupError: [Errno 3] No such process
May 27 20:07:10 edge jtop[3105]: Process JtopServer-1:
May 27 20:07:10 edge jtop[3105]: Traceback (most recent call last):
May 27 20:07:10 edge jtop[3105]: File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
May 27 20:07:10 edge jtop[3105]: self.run()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 466, in run
May 27 20:07:10 edge jtop[3105]: if self._timer_reader.close(timeout=TIMEOUT_SWITCHOFF):
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/timer_reader.py", line 75, in close
May 27 20:07:10 edge jtop[3105]: self._error_status()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/timer_reader.py", line 90, in _error_status
May 27 20:07:10 edge jtop[3105]: raise ex_value
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/timer_reader.py", line 46, in _timer_callback
May 27 20:07:10 edge jtop[3105]: self._callback()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 605, in jtop_stats
May 27 20:07:10 edge jtop[3105]: data = self.jtop_decode()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 569, in jtop_decode
May 27 20:07:10 edge jtop[3105]: total, table = self.processes.get_status()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/processes.py", line 136, in get_status
May 27 20:07:10 edge jtop[3105]: table = [self.get_process_info(prc[0], prc[3], prc[2], uptime) for prc in table]
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/processes.py", line 136, in <listcomp>
May 27 20:07:10 edge jtop[3105]: table = [self.get_process_info(prc[0], prc[3], prc[2], uptime) for prc in table]
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/processes.py", line 101, in get_process_info
May 27 20:07:10 edge jtop[3105]: mem_raw = cat(os.path.join('/proc', pid, 'statm')).split()
May 27 20:07:10 edge jtop[3105]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/common.py", line 110, in cat
May 27 20:07:10 edge jtop[3105]: return f.readline().rstrip('\x00')
May 27 20:07:10 edge jtop[3105]: ProcessLookupError: [Errno 3] No such process
May 27 20:07:10 edge jtop[2963]: [INFO] jtop.service - Service closed
May 27 20:07:11 edge systemd[1]: jtop.service: Succeeded.
May 27 20:54:01 edge systemd[1]: Started jtop service.
May 27 20:54:02 edge jtop[57871]: [INFO] jtop.service - jetson_stats 4.2.7 - server loaded
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.service - Running on Python: 3.8.10
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.hardware - Hardware detected aarch64
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.hardware - NVIDIA Jetson 699-level Part Number=699-13668-0000-300 B.0
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.hardware - NVIDIA Jetson Module=NVIDIA Jetson Xavier NX (Developer kit)
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.hardware - NVIDIA Jetson detected L4T=35.3.1
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.cpu - Found 6 CPU
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.gpu - GPU "gv11b" status in /sys/devices/platform/17000000.gv11b
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.gpu - GPU "gv11b" frq in /sys/devices/platform/17000000.gv11b/devfreq/17000000.gv11b
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.processes - Process service started
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.memory - Found EMC!
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.memory - Memory service started
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.engine - Special Engine group found: [dlaX]
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.engine - Special Engine group found: [pvaX]
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.engine - Engines found: [APE CVNAS DLA0 DLA1 NVDEC NVENC NVJPG PVA0 PVA1 SE VIC]
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.temperature - Found thermal "AUX" in thermal_zone2
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.temperature - Found thermal "CPU" in thermal_zone0
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.temperature - Found thermal "thermal" in thermal_zone5
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.temperature - Found thermal "AO" in thermal_zone3
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.temperature - Found thermal "GPU" in thermal_zone1
May 27 20:54:03 edge jtop[57871]: [WARNING] jtop.core.temperature - Skipped PMIC
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.power - Alarms VDD_IN - {'crit_alarm': 0, 'max_alarm': 0}
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.power - Alarms VDD_CPU_GPU_CV - {'crit_alarm': 0, 'max_alarm': 0}
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.power - Alarms VDD_SOC - {'crit_alarm': 0, 'max_alarm': 0}
May 27 20:54:03 edge jtop[57871]: [WARNING] jtop.core.power - Skipped "sum of shunt voltages" /sys/bus/i2c/devices/7-0040/hwmon/hwmon5/in7_label
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.power - Found I2C power monitor
May 27 20:54:03 edge jtop[57871]: [WARNING] jtop.core.power - Skipped usb-charger type=USB in=usb-charger
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.fan - Fan pwmfan(1) found in /sys/class/hwmon/hwmon4
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.fan - RPM pwm_tach found in /sys/class/hwmon/hwmon2
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.fan - Found nvfancontrol.service
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.core.nvpmodel - nvpmodel running in [8]MODE_20W_6CORE - Default: 5
May 27 20:54:03 edge jtop[57871]: [INFO] jtop.service - Remove folder /run/jtop.sock
May 27 20:54:04 edge jtop[57894]: [INFO] jtop.service - Initialization service
May 27 20:54:06 edge jtop[57894]: [INFO] jtop.service - service ready
May 27 20:54:07 edge jtop[57894]: [INFO] jtop.service - jtop timer thread started 1000ms
May 27 20:54:18 edge jtop[57894]: [INFO] jtop.service - jtop timer thread close
Describe the bug
After a period of time, the "jtop" command begins to fail.
To Reproduce
Restart board or jtop.service. Wait several minutes.
Board
Log from jtop.service
The key to my problem appears to be in here,
ProcessLookupError: [Errno 3] No such process
Log from jetson-stats installation
https://pastebin.com/vDWHzKhx
RAW Data
The text was updated successfully, but these errors were encountered: