Skip to content

Troubleshooting: Core connectivity and platform limits

Core connectivity (daemonitor-cored)

Both daemonitor-cli and the Desktop application connect to daemonitor-cored over local IPC and auto-start it when absent.

Diagnostic checks

# Verify core health, version, socket path, and DB path
daemonitor-cli health

# Inspect available platform metrics on this machine
daemonitor-cli metrics list

# Inspect host-level metrics
daemonitor-cli host

Common issues

  • --no-autostart fails to connect: Start daemonitor-cored manually or omit --no-autostart.
  • Stale socket or custom socket path: Verify both client and daemonitor-cored use the same --socket / -socket path. Default path is <appSupportDir>/daemonitor-core.sock on macOS/Linux and \\.\pipe\daemonitor-core-<UserSID> on Windows.
  • Gradle plugin socket mismatch: The experimental Gradle plugin defaults to <java.io.tmpdir>/daemonitor-core.sock, whereas daemonitor-cored defaults to <appSupportDir>/daemonitor-core.sock. Pass -Pdaemonitor.cored.socket=... to match.
  • daemonitor-cli top exits with code 1: top requires an interactive TTY with TERM != "dumb". Use daemonitor-cli ps in non-interactive shells, SSH pipelines, or CI.

Verified platform limitations

Platform Known limitations
macOS Logical I/O (read_bytes/write_bytes) is null (not exposed by gopsutil). physical_footprint_bytes, peak_resident_bytes, disk I/O bytes, host memory pressure, and thermal state require cgo (darwin && !cgo reports tool_unavailable).
Linux physical_footprint_bytes is unsupported. proportional_bytes (/proc/<pid>/smaps_rollup) requires read permission and updates on a 5s throttle. Cgroup v2 metrics require unified cgroup v2 under /sys/fs/cgroup. PSI requires kernel PSI support (/proc/pressure/*).
Windows Storage-only disk_read_bytes/disk_write_bytes, minor/major page fault splits, and POSIX open_file_descriptors are unsupported (process.handles.count is collected instead). Job Object metrics are not_collected. The experimental Gradle plugin does not yet support Windows named pipes.