Skip to content

Glances not showing Processes #3100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Askath opened this issue Feb 5, 2025 · 2 comments
Open

Glances not showing Processes #3100

Askath opened this issue Feb 5, 2025 · 2 comments

Comments

@Askath
Copy link

Askath commented Feb 5, 2025

Check the bug
Before filling this bug report, please search if a similar issue already exists.
In this case, just add a comment on this existing issue.

Describe the bug
When opening glances via glances -w, I can see the processes in the ui for a split second.
after that they disappear and the console is full off errors.

Works fine in Cli tho

To Reproduce
Steps to reproduce the behavior:

  1. Start Glances with the following options '-w'
  2. Press the key 'nothing, just open the web ui'
  3. See error in console

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Image Image

Environement (please complete the following information)

  • Operating System: Mac Os M3 max
  • Glances & psutil versions:
    Glances version: 4.3.0.8
    Glances API version: 4
    PsUtil version: 6.1.1
  • How do you install Glances (Pypi package, script, package manager, source): Brew package manager
  • Glances test:
    ===============================================================================
    Glances 4.3.0.8 (/opt/homebrew/Cellar/glances/4.3.0.8/libexec/lib/python3.13/site-packages/glances/init.py)
    Python 3.13.1 (/opt/homebrew/Cellar/glances/4.3.0.8/libexec/bin/python)
    PsUtil 6.1.1 (/opt/homebrew/Cellar/glances/4.3.0.8/libexec/lib/python3.13/site-packages/psutil/init.py)
    ===============================================================================
    alert [OK] 0.00006s
    []
    amps [OK] 0.00019s
    []
    cloud [OK] 0.00011s
    {}
    connections [OK] 0.00300s
    {'net_connections_enabled': False, 'nf_conntrack_enabled': True}
    containers [OK] 0.00008s
    {}
    core [OK] 0.00008s
    {'log': 16, 'phys': 16}
    cpu [OK] 0.00036s
    {'cpucore': 16,
    'ctx_switches': 0,
    'ctx_switches_gauge': 186242,
    'idle': 96.7,
    'interrupts': 0,
    'interrupts_gauge': 142606,
    'nice': 0.0,
    'soft_interrupts': 0,
    'soft_interrupts_gauge': 236463501,
    'syscalls': 0,
    'syscalls_gauge': 1187703,
    'system': 1.9,
    'time_since_update': 2.053395986557007,
    'total': 3.3,
    'user': 1.4}
    diskio [OK] 0.00128s key=disk_name
    [{'disk_name': 'disk0',
    'key': 'disk_name',
    'read_bytes': 0,
    'read_bytes_gauge': 746768961536,
    'read_count': 0,
    'read_count_gauge': 4756852,
    'time_since_update': 2.0553300380706787,
    'write_bytes': 0,
    'write_bytes_gauge': 351502098432,
    'write_count': 0,
    'write_count_gauge': 4957801}, ...]
    folders [OK] 0.00004s
    []
    fs [OK] 0.00094s key=mnt_point
    [{'device_name': '/dev/disk3s1s1',
    'free': 756344528896,
    'fs_type': 'apfs',
    'key': 'mnt_point',
    'mnt_point': '/',
    'percent': 1.5,
    'size': 994662584320,
    'used': 11159609344}, ...]
    gpu [OK] 0.00006s
    []
    help [OK] 0.00001s
    None
    ip [OK] 0.00010s
    {}
    irq [OK] 0.00003s
    []
    load [OK] 0.00006s
    {'cpucore': 16, 'min1': 1.69140625, 'min15': 2.2509765625, 'min5': 2.13232421875}
    mem [OK] 0.00014s
    {'active': 21821423616,
    'available': 22510747648,
    'free': 22510747648,
    'inactive': 19459325952,
    'percent': 56.3,
    'total': 51539607552,
    'used': 29028859904,
    'wired': 2336456704}
    memswap [OK] 0.00024s
    {'free': 1144586240,
    'percent': 46.7,
    'sin': 710423396352,
    'sout': 6007455744,
    'time_since_update': 2.0586209297180176,
    'total': 2147483648,
    'used': 1002897408}
    network [OK] 0.00294s key=interface_name
    [{'alias': None,
    'bytes_all': 172032,
    'bytes_all_gauge': 8578783232,
    'bytes_all_rate_per_sec': 85259.0,
    'bytes_recv': 86016,
    'bytes_recv_gauge': 4289391616,
    'bytes_recv_rate_per_sec': 42629.0,
    'bytes_sent': 86016,
    'bytes_sent_gauge': 4289391616,
    'bytes_sent_rate_per_sec': 42629.0,
    'interface_name': 'lo0',
    'key': 'interface_name',
    'speed': 0,
    'time_since_update': 2.01774001121521}, ...]
    now [OK] 0.00006s
    {'custom': '2025-02-05 19:51:17 CET', 'iso': '2025-02-05T19:51:17+01:00'}
    percpu [OK] 0.00036s key=cpu_number
    [{'cpu_number': 0,
    'dpc': None,
    'guest': None,
    'guest_nice': None,
    'idle': 84.2,
    'interrupt': None,
    'iowait': None,
    'irq': None,
    'key': 'cpu_number',
    'nice': 0.0,
    'softirq': None,
    'steal': None,
    'system': 9.9,
    'total': 15.8,
    'user': 5.9}, ...]
    ports [OK] 0.00039s
    []
    processcount [OK] 0.03909s
    {'pid_max': 0, 'running': 586, 'sleeping': 0, 'thread': 2114, 'total': 586}
    processlist [OK] 0.00015s
    []
    programlist [OK] 0.00102s
    []
    psutilversion [OK] 0.00002s
    '6.1.1'
    quicklook [OK] 0.00010s
    {'cpu': 3.3,
    'cpu_hz': 4056000000.0,
    'cpu_hz_current': 4056000000.0,
    'cpu_log_core': 16,
    'cpu_name': 'CPU',
    'cpu_phys_core': 16,
    'load': 14.1,
    'mem': 56.5,
    'percpu': [{...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...},
    {...}],
    'swap': 46.7}
    raid [OK] 0.00001s
    {}
    sensors [OK] 0.00000s key=label
    [{'key': 'label',
    'label': 'Battery',
    'status': 'Charging',
    'type': <SensorType.BATTERY: 'battery'>,
    'unit': '%',
    'value': 100}, ...]
    smart [NA]
    system [OK] 0.00000s
    {'hostname': 'localhost',
    'hr_name': 'Darwin 15.3 64bit',
    'os_name': 'Darwin',
    'os_version': '15.3',
    'platform': '64bit'}
    uptime [OK] 0.00002s
    {'seconds': 123429}
    version [OK] 0.00001s
    '4.3.0.8'
    vms [OK] 0.00002s
    []
    wifi [OK] 0.00001s
    []
    ===============================================================================
    Total time to update all stats: 0.05423s
    ===============================================================================

** Pastebin of errors in console
https://pastebin.com/Z2i5JTQU

@realCommitment
Copy link

Same problem

@Tyri0n
Copy link

Tyri0n commented Apr 2, 2025

just installed on Mac and... similar - no errors, but the tasks disappear and briefly appear again periodically.

Image

correction: I do see this single error repeated in the browser console:

Image

works fine on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants