Containers fail to restart

Apr 26, 2018
85
4
8
With the recent Debian packages updates, we experienced containers failing to restart. We've seen this before. The solution is mentioned at the end of this thread:

Code:
find /sys/fs/cgroup/*/lxc/$CTID* -type d -print -delete
pct start $CTID
Does anybody know why this happens sporadically?
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
692
73
28
hi,

Does anybody know why this happens sporadically?
these directories are left behind when a container fails to start and doesn't clean up properly afterwards.

With the recent Debian packages updates
did you upgrade from old debian like wheezy? because newer debian versions use systemd instead of init, and upgrading from such versions seem to cause inconsistencies w.r.t. handling of services (which might be the cause of the restart problems).
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
692
73
28

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!