Skip to content

On OpenWRT, initscript's reload is called too frequently/when not necessary #171

@brianjmurrell

Description

@brianjmurrell

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 happens

service_triggers()
{
procd_add_reload_trigger "sqm"
}
causes 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions