elastic / elastic/logstash

Metric gathering make Logstash 5 crash at startup when procfs is not mounted

Open
#6,296 9 comments 1 reaction 0 assignees View on GitHub
bug monitoring v5.5.0
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

I just installed logstash5[1] on a FreeBSD 10[2] system. Logstash startup fails due to unmounted procfs:

```
OperatingSystemImpl.java:-2:in `getCommittedVirtualMemorySize': java.lang.InternalError: errno: 2 error: Unable to open /proc/curproc/map
```

For security reasons we can't mount the procfs. Is there any solution for this? procfs wasn't required in logstash version 2.3.2.

[1] Logstash
Version: `logstash5-5.0.0 `

[2] FreeBSD
Version: `FreeBSD 10.3-RELEASE-p12`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.