openvz VM's very slow to start up

peter

Member
Nov 25, 2008
31
0
6
I've just upgraded to PVE1.3 running on an IBM x3650.

The server boots up reasonably quickly, but the start up of each openvz host (via /etc/rc2.d/S20vz start_ is taking around 10 mins each. I notice the command it's running is vzquota, eg:

/usr/sbin/vzquota on 105 -r 0 -b 73400420 -B 80740452 -i 14000100 -I 15400100 -e 0 -n 0 -s 0

Doing a strace on that process shows it is busy doing something, but I have no idea why it's taking so long.
 
I set

DISK_QUOTA=no
VZFASTBOOT=yes

in /etc/vz/vz.conf and they all (8 VM's) came up in less than 60 secs.
 
There's only one container that has a large number of files. All of the openvz containers are <100GB.
 
CT105 is one of the smaller ones

# df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
simfs 104M 4.7M 99M 5% /
tmpfs 2.7M 2 2.7M 1% /lib/init/rw
tmpfs 2.7M 3 2.7M 1% /dev/shm


When DISK_QUOTA was set to 'yes', I gave up after about 15 mins waiting for it to start.
 

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!