Skip to content

[MACOS] Web server drops process list #3268

@nixta

Description

@nixta

Describe the bug
When I open a web page to a glances web server (locally or from another machine), the process list usually appears and then immediately disappears. It may eventually reappear for a short time. And if I close and reopen a browser window and refresh the page, it might open up without the process list.

I'm guessing once the server is serving, that state continues (if I open multiple browsers on multiple machines, they all show the same content at the same time). To be clear - I am seeing this with just 1 browser viewing.

To Reproduce
Steps to reproduce the behavior:

  1. Start Glances with the following options -w
  2. Open a browser (Safari and Chrome tested).
  3. Browse to the machine on port 61208 (e.g. http://localhost:61208 or http://bunkercorem4.bunker:61208)
  4. Observe the browser for a few seconds.

Expected behavior
Expect to see the full UI, including process list.

Screenshots
Image

Environment (please complete the following information)

  • Operating System (server): macOS 15.5 (24F74)
  • Browser: Safari 18.5 (20621.2.5.11.8), Safari 18.6 (20621.3.11.11.3), Chrome 139.0.7258.139 (Official Build) (arm64)
  • Glances & psutil versions:
    Glances version:	4.3.3
    Glances API version:	4
    PsUtil version:		7.0.0
    Log file:		/var/folders/96/lrsddppd6svchgn76slgtckh0000gp/T/glances-nich6493.log
    
  • How do you install Glances: brew install glances (also happens with the 4.4.0.dev2 build).
  • Glances test: glances-web-ps-list-issue.log

Additional context

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions