Noticed a dstat crash while shutting down a VM. Just upgraded from Proxmox 6 to 7 yesterday, this was a fresh install of Proxmox 6 just a few days ago. No VM's had been made yet.
Made a new VM today, Ubuntu Server 20.04. Used it for about an hour and then installed the qemu agent and did a shutdown. Was going to enable the Agent setting in the VM's settings. Before getting to that I noticed dstat had crashed just as the VM shutdown.
I tried this 2 more times with the same result.
Not sure how to go about getting dstat support. Dag Wieers github page says he is no longer supporting it. Figured I'd at least post this somewhere so it's known.
Kernel Version: Linux 5.11.22-1-pve #1 SMP PVE 5.11.22-2 (Fri, 02 Jul 2021 16:22:45 +0200)
PVE Manager Version: pve-manager/7.0-8/b1dbf562
Proxmox Virtual Environment 7.0-8
Made a new VM today, Ubuntu Server 20.04. Used it for about an hour and then installed the qemu agent and did a shutdown. Was going to enable the Agent setting in the VM's settings. Before getting to that I noticed dstat had crashed just as the VM shutdown.
I tried this 2 more times with the same result.
Not sure how to go about getting dstat support. Dag Wieers github page says he is no longer supporting it. Figured I'd at least post this somewhere so it's known.
Code:
root@pve-ryzen:~# dstat
You did not select any stats, using -cdngy by default.
*****removed extra lines*****
--total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai stl| read writ| recv send| in out | int csw
1 0 99 0 0| 0 16k| 22k 13k| 0 0 |1483 2360
1 1 98 0 0| 0 272k| 25k 17k| 0 0 |1544 2369
1 1 98 0 0| 0 0 |5328B 8304B| 0 0 |1465 2301
1 1 98 0 0| 0 0 |3074B 4898B| 0 0 |1463 2318
2 1 97 0 0| 512k 12k|5464B 6946B| 0 0 |1719 2518
1 0 99 0 0| 0 16k|5414B 8584B| 0 0 |1516 2402
1 1 98 0 0| 0 0 |3200B 4760B| 0 0 |1413 2255
1 1 98 0 0| 0 0 |5300B 6800B| 0 0 |1632 2444
1 1 98 0 0| 0 0 |5292B 8348B| 0 0 |1644 2460
1 1 98 0 0| 0 0 |5620B 6936B| 0 0 |1458 2292
1 0 99 0 0| 0 16k|7334B 7190B| 0 0 |1591 2488
1 0 99 0 0| 0 0 |5566B 8748B| 0 0 |1489 2352
1 2 98 0 0| 0 0 |5632B 7354B| 0 0 |2333 4250
1 2 96 0 0| 512k 17M|8560B 9892B| 0 0 |2428 4008
2 9 89 0 0| 0 4564k|9916B 25k| 0 0 |3363 6352
1 3 96 0 0| 0 28M|5452B 7716B| 0 0 |3276 8403
1 1 99 0 0| 0 224k|5830B 7786B| 0 0 |1662 2534
1 0 98 0 0| 0 0 | 13k 19k| 0 0 |1735 2622
1 1 97 0 0| 0 0 |6146B 8392B| 0 0 |1988 2938
1 0 99 0 0| 0 0 |6494B 7838B| 0 0 |1597 2457
2 14 84 1 0| 0 52M| 17k 270k| 0 0 |5116 10kTraceback (most recent call last):
File "/usr/bin/dstat", line 2847, in <module>
main()
File "/usr/bin/dstat", line 2687, in main
scheduler.run()
File "/usr/lib/python3.9/sched.py", line 151, in run
action(*argument, **kwargs)
File "/usr/bin/dstat", line 2804, in perform
line = line + o.show() + o.showend(totlist, vislist)
File "/usr/bin/dstat", line 519, in show
line = line + cprintlist(self.val[name], ctype, self.width, scale)
File "/usr/bin/dstat", line 2087, in cprintlist
ret = ret + sep + cprint(var, ctype, width, scale)
File "/usr/bin/dstat", line 2137, in cprint
ret, c = dchg(var, width, base)
File "/usr/bin/dstat", line 2037, in dchg
ret = str(int(round(var)))
OverflowError: cannot convert float infinity to integer
root@pve-ryzen:~# dstat --version
Dstat 0.8.0
Written by Dag Wieers <dag@wieers.com>
Homepage at http://dag.wieers.com/home-made/dstat/
Platform posix/linux
Kernel 5.11.22-1-pve
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]
Terminal type: xterm-256color (color support)
Terminal size: 24 lines, 116 columns
Processors: 8
Pagesize: 4096
Clock ticks per secs: 100
internal:
aio,cpu,cpu-adv,cpu-use,cpu24,disk,disk24,disk24-old,epoch,fs,int,int24,io,ipc,load,lock,
mem,mem-adv,net,page,page24,proc,raw,socket,swap,swap-old,sys,tcp,time,udp,unix,vm,vm-adv,
zones
/usr/share/dstat:
battery,battery-remain,condor-queue,cpufreq,dbus,disk-avgqu,disk-avgrq,disk-svctm,disk-tps,
disk-util,disk-wait,dstat,dstat-cpu,dstat-ctxt,dstat-mem,fan,freespace,fuse,gpfs,gpfs-ops,
helloworld,ib,innodb-buffer,innodb-io,innodb-ops,jvm-full,jvm-vm,lustre,md-status,memcache-hits,
mongodb-conn,mongodb-mem,mongodb-opcount,mongodb-queue,mongodb-stats,mysql-io,mysql-keys,
mysql5-cmds,mysql5-conn,mysql5-innodb,mysql5-innodb-basic,mysql5-innodb-extra,mysql5-io,mysql5-keys,
net-packets,nfs3,nfs3-ops,nfsd3,nfsd3-ops,nfsd4-ops,nfsstat4,ntp,postfix,power,proc-count,
qmail,redis,rpc,rpcd,sendmail,snmp-cpu,snmp-load,snmp-mem,snmp-net,snmp-net-err,snmp-sys,
snooze,squid,test,thermal,top-bio,top-bio-adv,top-childwait,top-cpu,top-cpu-adv,top-cputime,
top-cputime-avg,top-int,top-io,top-io-adv,top-latency,top-latency-avg,top-mem,top-oom,utmp,
vm-cpu,vm-mem,vm-mem-adv,vmk-hba,vmk-int,vmk-nic,vz-cpu,vz-io,vz-ubc,wifi,zfs-arc,zfs-l2arc,
zfs-zil
root@pve-ryzen:~# uname -a
Linux pve-ryzen 5.11.22-1-pve #1 SMP PVE 5.11.22-2 (Fri, 02 Jul 2021 16:22:45 +0200) x86_64 GNU/Linux
Kernel Version: Linux 5.11.22-1-pve #1 SMP PVE 5.11.22-2 (Fri, 02 Jul 2021 16:22:45 +0200)
PVE Manager Version: pve-manager/7.0-8/b1dbf562
Proxmox Virtual Environment 7.0-8