Skip to content

Collector fails with integer overflow #2856

@mirceastoian

Description

@mirceastoian

Host operating system:

Linux rpi4srv2 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

node_exporter version:

node_exporter, version 1.7.0 (branch: HEAD, revision: 7333465abf9efba81876303bb57e6fadb946041b)
  build user:       root@4214d220a8f2
  build date:       20231112-23:53:03
  go version:       go1.21.4
  platform:         linux/arm
  tags:             netgo osusergo static_build

node_exporter command line flags

/usr/local/bin/node_exporter --collector.systemd --collector.processes --collector.perf --web.listen-address=xxx:9100

node_exporter log output

2023-11-24T08:34:35.470077+02:00 rpi4srv2 node_exporter[194764]: ts=2023-11-24T06:34:35.469Z caller=collector.go:169 level=error msg="collector failed" name=processes duration_seconds=0.036614302 err="unable to retrieve number of allocated threads: error reading stat for pid 816: unsigned integer overflow on token 9950425088"

Are you running node_exporter in Docker?

No

What did you do that produced an error?

Probably after installing Kibana, the process belong to it.

Output of cat /proc/816/stat:

816 (node) R 1 816 816 0 -1 4194560 15687636 1849 654 44 256180 49710 2 8 20 0 11 0 1639 9950425088 131873 18446744073709551615 1 1 0 0 0 0 0 16781312 17923 0 0 0 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0

What did you expect to see?

No error in syslog.

What did you see instead?

see above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions