Project

General

Profile

Actions

Bug #8263

open

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

Added by Tom Misztur almost 7 years ago. Updated almost 4 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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      

Actions #1

Updated by Anonymous over 6 years ago

  • Target version changed from 2.4.3 to 2.4.4

Rescheduled for release 2.4.4

Actions #2

Updated by Anonymous about 6 years ago

  • Target version changed from 2.4.4 to 48
Actions #3

Updated by Jim Pingle over 5 years ago

  • Target version changed from 48 to 2.5.0
Actions #4

Updated by Anonymous almost 4 years ago

  • Target version changed from 2.5.0 to CE-Next
Actions

Also available in: Atom PDF