Skip to content

FreeBSD: couldn't get memory: cannot allocate memory #2593

Description

@gavrik

Host operating system: output of uname -a

FreeBSD host 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64

node_exporter version: output of node_exporter --version

node_exporter, version 1.5.0 (branch: release-1.5, revision: 0)
build user: root
build date:
go version: go1.19.5
platform: freebsd/amd64

node_exporter command line flags

/usr/local/bin/node_exporter --web.listen-address=192.168.0.254:9100 --collector.textfile.directory=/var/tmp/node_exporter

node_exporter log output

Feb 6 13:58:10 host node_exporter[1449]: ts=2023-02-06T13:58:10.037Z caller=collector.go:169 level=error msg="collector failed" name=meminfo duration_seconds=3.1486e-05 err="couldn't get memory: cannot allocate memory"
Feb 6 13:58:15 host node_exporter[1449]: ts=2023-02-06T13:58:15.004Z caller=collector.go:169 level=error msg="collector failed" name=meminfo duration_seconds=5.2575e-05 err="couldn't get memory: cannot allocate memory"
Feb 6 13:58:20 host node_exporter[1449]: ts=2023-02-06T13:58:20.036Z caller=collector.go:169 level=error msg="collector failed" name=meminfo duration_seconds=3.8082e-05 err="couldn't get memory: cannot allocate memory"
Feb 6 13:58:25 host node_exporter[1449]: ts=2023-02-06T13:58:25.026Z caller=collector.go:169 level=error msg="collector failed" name=meminfo duration_seconds=4.7278e-05 err="couldn't get memory: cannot allocate memory"
Feb 6 13:58:30 host node_exporter[1449]: ts=2023-02-06T13:58:30.001Z caller=collector.go:169 level=error msg="collector failed" name=meminfo duration_seconds=3.2685e-05 err="couldn't get memory: cannot allocate memory"
Feb 6 13:58:35 host node_exporter[1449]: ts=2023-02-06T13:58:35.091Z caller=collector.go:169 level=error msg="collector failed" name=meminfo duration_seconds=2.069e-05 err="couldn't get memory: cannot allocate memory"

Are you running node_exporter in Docker?

NO

What did you do that produced an error?

just install node_exporter

What did you expect to see?

Memory information

What did you see instead?

N/A on all ram metrics

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