-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On OpenWRT, initscript's reload
is called too frequently/when not necessary
#171
Comments
Well, AFAICT from the documentation, that |
My guess is that the ISP might do something unusual with how IPv6 is supplied here that tickles OpenWrt the wrong way......
… On 20. Apr 2024, at 12:43, Toke Høiland-Jørgensen ***@***.***> wrote:
Well, AFAICT from the documentation, that procd_add_reload_trigger thing should only cause a reload if /etc/config/sqm is changed. There's a separate set of commands to add monitoring of interfaces through procd, but we're not using those (we have the hotplug script instead). So I'm not really sure how sqm ends up being reloaded, actually...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
On 20 April 2024 13:44:46 CEST, moeller0 ***@***.***> wrote:
My guess is that the ISP might do something unusual with how IPv6 is supplied here that tickles OpenWrt the wrong way......
Maybe, but that still doesn't explain why the ifupdate event leads to a reload of sqm...
|
Right!?!?
Indeed. It is puzzling. Seems like a bug TBH.
Exactly, which is why it seems like a bug. But what is the OpenWRT component this is a bug with? procd? |
"Brian J. Murrell" ***@***.***> writes:
> Maybe, but that still doesn't explain why the ifupdate event leads to a reload of sqm...
Exactly, which is why it seems like a bug. But what is the OpenWRT
component this is a bug with? procd?
I think procd is just relaying events; my guess would be that there is
some other component triggering this. No idea which :/
|
Hi. There's a ticket open in OpenWRT about an observation that sqm-scripts reloads frequently and when it's unnecessary.
I think I've debugged this issue here to the point of understanding that it's happening when my IPv6 WAN connection (which is not even the interface I have SQM configured for!) triggers an
ifupdate
event. I believe that when this happenssqm-scripts/platform/openwrt/sqm-init
Lines 6 to 9 in 33a89d8
procd
to issue a/etc/init.d/sqm reload
.But clearly this is happening on far too many unrelated events.
Is there any way to do some more checking in
/etc/init.d/sqm
to limit the reload to only happen when necessary?The text was updated successfully, but these errors were encountered: