Start all LXCs at boot at once

May 31, 2015
19
0
21
Hi Proxmox-Team!

I've "Start at boot" enabled for most of my LXCs. After a host-reboot (e.g. after a kernel-upgrade) it takes about 10-20min until all LXCs are online again, because Proxmox waits for each LXC before starting the next one.
Wouldn't it be possible to start all LXCs at the same time? Or at least 5-10 at once?
This would reduce my update-downtimes a lot :)

Best,
Andi
 
Either you hardware is deadly slow or you have monster containers (or any other problem?).

A bunch of default LXC container (e.g. a simple LAMP host) should start MUCH faster.
 
Either you hardware is deadly slow or you have monster containers (or any other problem?).
I assume none of it. There are a few large ones, but the main problem is, that Proxmox waits until each LXC is booted. A small one needs about 10-30s, a large one 1-2min. With more than 20 LXCs on one host, it needs some time if everything is up again. And I'm pretty sure my hardware has enough power to boot more than one LXC at the same time.
Maybe the problem is, that I use a NFS share as storage?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!