LXC container shows wrong uptime in Proxmox 4.0

Hi, we use the uptime of the LXC process as measurement for the uptime, this is also how lxcfs does it and so the value from an `uptime` command executed inside the container and the value from our API is the same. Can you give more details in how it's wrong for you?
 
Hi, we use the uptime of the LXC process as measurement for the uptime, this is also how lxcfs does it and so the value from an `uptime` command executed inside the container and the value from our API is the same. Can you give more details in how it's wrong for you?

Maybe, i can try. (Sorry for my english).

PVE Manager: 4.1-1
Kernel version: Linux 4.2.6-1-pve

Root FS: ZFS (Raidz-1, rpool)
CTs storage: ZFS (rpool)

shmon@test-files:~$ uptime
06:46:14 up 0 min, 1 user, load average: 0.37, 0.39, 0.37
shmon@test-files:~$ uptime
06:46:28 up 0 min, 1 user, load average: 0.39, 0.40, 0.37
shmon@test-files:~$ uptime
09:20:37 up 0 min, 1 user, load average: 0.06, 0.09, 0.08

shmon@test-files:~$ cat /proc/version
Linux version 4.2.6-1-pve (root@elsa) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Dec 9 10:49:55 CET 2015
shmon@test-files:~$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="https://bugs.debian.org/"
shmon@test-files:~$

But web-interface: http://f3.s.qip.ru/qYwKH6tQ.png

More than that, L/A here ("#uptime") is from node.
 

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!