proxmox-ve: 5.1-35
lxc-pve: 2.1.1-2
lxcfs: 2.0.8-1
Запускаю в lxc контейнере node init.js
получаю
root@node:~/nodetest# node init.js
[2018-01-10 11:46:25.975] [INFO] [default] - New Relic
[2018-01-10 11:46:25.977] [DEBUG] [default] - NewRelic Monitor New Relic initiated
[2018-01-10 11:46:26.028] [INFO] [default] - Setting POSIX
[2018-01-10 11:46:26.028] [INFO] [default] - POSIX Set
node: ../deps/uv/src/unix/linux-core.c:633: read_times: Assertion `num == numcpus' failed.
Aborted
node -e "var cpuCount = require('os').cpus().length;"
root@node:~/nodetest# node -e "var cpuCount = require('os').cpus().length;"
node: ../deps/uv/src/unix/linux-core.c:633: read_times: Assertion `num == numcpus' failed.
Aborted
cat 902.conf
arch: amd64
cores: 8
hostname: nodetest
memory: 4096
net0: name=eth0,bridge=vmbr0,gw=192.168.128.1,hwaddr=D6:FA:2E:03:24:A5,ip=192.168.128.100/24,type=veth
ostype: ubuntu
rootfs: tanksas:subvol-902-disk-1,size=65G
swap: 4096