Project

General

Profile

Bug #8263

Cannot create a nonlinear `Link Share` service curve because of: "the sum of the child bandwidth higher than parent"

Added by Tom Misztur 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Traffic Shaper
Target version:
Start date:
01/07/2018
Due date:
% Done:

0%

Affected Version:
2.4.2_1
Affected Architecture:
amd64

Description

Problem:
  • Cannot create a nonlinear service curve using `m1` and `d` variables with HFSC Scheduler. Traffic shaper does not allow to set an `m1` larger than `m2` when `m2`s of all queues sum up to 100%.
How to reproduce:
  • create an HFSC queue on WAN interface; set bandwidth in Mb.
  • create a single child queue "qInternetWAN"; set "Link Share" `m2` and "Upper Limit" `m2` to the same value as WAN bandwidth in Mb.
  • create a child of "qInternetWAN" named "qDefault"; set it as "Default Queue"; set "Link Share" `m2` to 50%.
  • create a child of "qInternetWAN" named "qACK"; set "Link Share" `m2` to 50%.
  • Apply Changes - everything is fine.
  • Open "qDefault"; set "Link Share" `m1` to 70%, `d` to 100, leave `m2` at 50%.
  • Apply Changes - wait for 15 seconds, reload the page.
  • You are going to get an alert:
    Filter Reload
    There were error(s) loading the rules: pfctl: the sum of the child bandwidth higher than parent "qInternetWAN" - The line in question reads [0]: @ 2018-01-07 21:16:18
    

From system logs:

php-fpm    16693    /firewall_shaper.php: The command 'killall qstats' returned exit code '1', the output was 'No matching processes were found'
php-fpm    16693    /rc.filter_configure_sync: New alert found: There were error(s) loading the rules: pfctl: the sum of the child bandwidth higher than parent "qInternetWAN" - The line in question reads [0]:

Version:

Version    2.4.2-RELEASE-p1 (amd64) 
built on Tue Dec 12 13:45:26 CST 2017 
FreeBSD 11.1-RELEASE-p6 

The system is on the latest version.
Version information updated at Sun Jan 7 21:17:50 CET 2018      

History

#1 Updated by Steve Beaver 6 months ago

  • Target version changed from 2.4.3 to 2.4.4

Rescheduled for release 2.4.4

Also available in: Atom PDF