Hi, you can try to find logs here: /var/log/lxc/CTNUM.log
regards, dale.
Hi, thank you for response, but in /var/log/lxc directory view only file lxc-monitord.log
root@XXX:/var/log/lxc# ls -l
total 4
-rw-r----- 1 root root 1379 may 28 20:03 lxc-monitord.log
root@frproxmox01:/var/log/lxc# cat lxc-monitord.log
lxc-monitord 20200526082541.490 INFO monitor - monitor.c:lxc_monitor_sock_name:191 - Using monitor socket name "lxc/ad055575fe28ddd5//var/lib/lxc" (length of socket name 33 must be <= 105)
lxc-monitord 20200526082541.490 NOTICE lxc_monitord - cmd/lxc_monitord.c:main:451 - lxc-monitord with pid 15855 is now monitoring lxcpath /var/lib/lxc
lxc-monitord 20200526084327.406 INFO monitor - monitor.c:lxc_monitor_sock_name:191 - Using monitor socket name "lxc/ad055575fe28ddd5//var/lib/lxc" (length of socket name 33 must be <= 105)
lxc-monitord 20200526084327.410 NOTICE lxc_monitord - cmd/lxc_monitord.c:main:451 - lxc-monitord with pid 997 is now monitoring lxcpath /var/lib/lxc
lxc-monitord 20200526084607.153 INFO monitor - monitor.c:lxc_monitor_sock_name:191 - Using monitor socket name "lxc/ad055575fe28ddd5//var/lib/lxc" (length of socket name 33 must be <= 105)
lxc-monitord 20200526084607.639 NOTICE lxc_monitord - cmd/lxc_monitord.c:main:451 - lxc-monitord with pid 914 is now monitoring lxcpath /var/lib/lxc
lxc-monitord 20200528180341.201 INFO monitor - monitor.c:lxc_monitor_sock_name:191 - Using monitor socket name "lxc/ad055575fe28ddd5//var/lib/lxc" (length of socket name 33 must be <= 105)
lxc-monitord 20200528180341.209 NOTICE lxc_monitord - cmd/lxc_monitord.c:main:451 - lxc-monitord with pid 1231 is now monitoring lxcpath /var/lib/lxc
root@XXX:/var/log/lxc#
Hi,
You should also check out the hosts syslog during the time such a CT shuts down, maybe you see some hints or errors that are more specific there.
You can do this in the webinterface, Node → Syslog.
Hi thank you for response. In syslog node view this information, attach txt with the log.
It seems that oom is the one for the container process, but the memory and CPU of the server do not have worrisome consumption levels.
root@XXX:~# mpstat
Linux 5.4.41-1-pve (XXX) 17/06/20 _x86_64_ (8 CPU)
16:14:48 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
16:14:48 all 2,05 0,00 3,37 3,66 0,00 0,57 0,00 1,25 0,00 89,09
root@XXX:~# uptime
16:14:52 up 19 days, 20:11, 1 user, load average: 1,13, 1,23, 1,28
root@XXX:~# free -h
total used free shared buff/cache available
Mem: 31Gi 15Gi 342Mi 1,3Gi 15Gi 13Gi
Swap: 0B 0B 0B
The storage is a local hard disks with mdadm raid. The storage in lxc is a lvm.
Do you know why this can happen?
Thanks