dool
dool copied to clipboard
Catch OverflowError
ISSUE TYPE
- Bugfix pull-request
DSTAT VERSION
Dool 1.0.0
SUMMARY
This is an application of the patch to dstat described here:
- https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619/comments/5
Rebased to master.
Rebased to master
Rebased again. Is this patch of any interest?
Apologies... Github was not sending me alerts for issues and pull requests on this repo. I did not see this until just now.
Is this still relevant? I'm working through some backlog.
Yes, this is still relevant.
Rebased again.
I use this with the patch and it is necessary for me.
Before I merge this I need a little more information. What overflow is this catching, and how is it triggered?
This bug report details the disk IO overflow pretty well:
https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619
It also crashes sometimes when adding/removing network interfaces (connecting/disconnecting VPN).
Does this address the random "OverflowError: cannot convert float infinity to integer" from #3?
Does this address the random "OverflowError: cannot convert float infinity to integer" from #3?
Probably, yes.
@jkleckner EXCELLENT. That has been one of my personal pet peeves for 12+ months now.