Pfctl: the sum of the child bandwidth higher than parent
Following the guide: http://doc.pfsense.org/index.php/Traffic_Shaping_Guide
I get the error:
php: : There were error(s) loading the rules: pfctl: the sum of the child bandwidth higher than parent "qwanRoot" pfctl: linkshare sc exceeds parent's sc /tmp/rules.debug:37: errors in queue definition pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [ the sum of the child bandwidth higher than parent "qwanRoot" pfctl]:
Is the guide outdated or incomplete? Or is the error cosmetic?
Same problem here.
Any help? ??? :'(
In this post the question was answered :)
Quoted from http://www.probsd.net/pf/index.php/Hednod%27s_HFSC_explained:
1. pf-specific variable, redundant for linkshare
2. recommend matching this value to your linkshare value
3. if you use this value but omit linkshare, it might use it as the linkshare value (I have not tested this)
–> here 4. if you omit this value PF will complain of syntax errors
I found another cause for this error in this awesome guide for the pf filter
realtime: the amount of bandwidth that is guaranteed to the queue no matter
what any other queue needs. Realtime can be set from 0% to 80% of total
connection bandwidth. Lets say you want to make sure that your web server
gets 25KB/sec of bandwidth no matter what. Setting the realtime value will give
the web server queue the bandwidth it needs even if other queues want to
share its bandwidth.
See the 80% limit of the realtime value.
More on: "https://calomel.org/pf_hfsc.html"