LXC Stops Randomly

manjotsc

Active Member
Jul 2, 2020
73
6
28
Montreal, Quebec
Hi,

Container stop randomly, sometimes immediately after the start and sometimes after few minutes.

Code:
arch: amd64
cores: 1
hostname: Torrent
memory: 2024
mp2: /mnt/pve/TwelveTBWD/torrent,mp=/mnt/NewTorrent/
nameserver: 192.168.40.1 1.1.1.1
net0: name=eth0,bridge=vmbr0,gw=192.168.80.1,hwaddr=4E:7B:5E:9C:FF:9B,ip=192.168.80.14/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: SSDStorage:102/vm-102-disk-0.raw,size=10G
swap: 1000
unprivileged: 1
lxc.mount.entry: /dev/net/openpvn dev/net/tun none bind,create=file


Code:
lxc-start 102 20230427160144.882 INFO     conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "102", config section "lxc"
lxc-start 102 20230427160145.231 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp3: not mounted.

lxc-start 102 20230427160145.231 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp3' failed: exit code 32

lxc-start 102 20230427160145.233 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp7: not mounted.

lxc-start 102 20230427160145.233 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp7' failed: exit code 32

lxc-start 102 20230427160145.235 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp0: not mounted.

lxc-start 102 20230427160145.235 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp0' failed: exit code 32

lxc-start 102 20230427160145.237 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp8: not mounted.

lxc-start 102 20230427160145.238 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp8' failed: exit code 32

lxc-start 102 20230427160145.240 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp4: not mounted.

lxc-start 102 20230427160145.240 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 102 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp4' failed: exit code 32

lxc-start 102 20230427160145.326 INFO     conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "102", config section "lxc"
 
Hi,

Thank you for the CT config!

Did you check the Proxmox VE, and the container syslogs looking for any interesting message?