[PVE-User] Uptime problem for lxc containers
Simone Piccardi
piccardi at truelite.it
Fri Jun 10 12:49:39 CEST 2016
I have some wrong uptime results from lxc containers. This is my Proxmx
version:
root at haynes ~ # pveversion -v
proxmox-ve: 4.2-52 (running kernel: 4.4.6-1-pve)
pve-manager: 4.2-11 (running version: 4.2-11/2c626aa1)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.8-1-pve: 4.4.8-52
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-40
qemu-server: 4.0-79
pve-firmware: 1.1-8
libpve-common-perl: 4.0-67
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-51
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-19
pve-container: 1.0-67
pve-firewall: 2.0-29
pve-ha-manager: 1.0-31
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
The containers where started quite longtime ago:
root at jojo:~# ps aufx
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.5 0.0 10668 1344 pts/1 Ss+ apr30 2:41 init
but:
root at jojo:~# uptime
12:46:29 up 3:32, 1 user, load average: 0,41, 0,61, 0,57
an yesterday at 16:00 (sorry I did not save the output) was about 12 hours.
The results come from /proc/uptime (and are the same for a second LXC
container on the same machine). It seems its value are plain wrong, I
see that mounted from lxcfs, I don't know form where this one get those
values.
Regards
Simone
--
Simone Piccardi Truelite Srl
piccardi at truelite.it (email/jabber) Via Monferrato, 6
Tel. +39-347-1032433 50142 Firenze
http://www.truelite.it Tel. +39-055-7879597 Fax. +39-055-7333336
More information about the pve-user
mailing list