powerapi-scala icon indicating copy to clipboard operation
powerapi-scala copied to clipboard

docker - library initialization failed - unable to allocate file descriptor table - out of memory

Open pmav99 opened this issue 5 years ago • 0 comments

Trying to get started with powerapi on Archlinux. I tried this

$ cat powerapi-cli.conf
powerapi.cpu.tdp = 45

$ docker run \
        --rm --privileged --pid=host \
        -v $PWD/powerapi-cli.conf:/powerapi/conf/powerapi-cli.conf \
        spirals/powerapi-cli:4.2.1 \
        modules procfs-cpu-simple monitor --frequency 1000 --apps firefox --pids 2372 --console

results in:

library initialization failed - unable to allocate file descriptor table - out of memory%      

Further info:

kernel: 4.20.1

$ free -m
              total        used        free      shared  buff/cache   available
Mem:          16010        1908       12072         257        2029       13530
Swap:             0           0           0

$ docker version
Client:
 Version:           18.09.1-ce
 API version:       1.39
 Go version:        go1.11.4
 Git commit:        4c52b901c6
 Built:             Thu Jan 10 06:51:04 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.1-ce
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.11.4
  Git commit:       4c52b901c6
  Built:            Thu Jan 10 06:50:46 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Any ideas?

pmav99 avatar Jan 19 '19 14:01 pmav99