Actions
Bug #9938
closedQueue stats parser broken if bytes > 9999999999
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All
Description
Hello,
currently the queue stats parser in the file "/etc/inc/shaper.inc" assumes that the bytes value does not exceed the length of 10. If this limit is exceed the page "/status_queues.php" displays wrong values. After a filter reload the bytes value is reset and the values are correct for a few minutes until the bytes value is too large again.
Decisive line from "/sbin/pfctl -s queue -v" output
Displays correct:
' [ pkts: 6653183 bytes: 9993145948 dropped pkts: 0 bytes: 0 ]'
Displays incorrect:
' [ pkts: 6661877 bytes: 10006205865 dropped pkts: 0 bytes: 0 ]'
Files
Updated by Jim Pingle about 5 years ago
- Due date deleted (
12/01/2019) - Status changed from New to Pull Request Review
- Start date deleted (
12/01/2019) - Estimated time deleted (
1.00 h) - Affected Version changed from 2.4.4-p3 to All
Updated by Jim Pingle almost 5 years ago
Updated by Renato Botelho almost 5 years ago
- Status changed from Pull Request Review to Feedback
- Assignee changed from Lucas Held to Renato Botelho
- Target version changed from 2.5.0 to 2.4.5
PR has been merged. Thanks!
Updated by Chris Linstruth almost 5 years ago
Status_queues looks fine here:
[ pkts: 90492841 bytes: 71051952021 dropped pkts: 82974 bytes: 62613863 ]
[ qlength: 0/ 50 ]
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved
Actions