[sflow]Delay starting sflow service until ports are created#59
Closed
dgsudharsan wants to merge 1 commit intomasterfrom
Closed
[sflow]Delay starting sflow service until ports are created#59dgsudharsan wants to merge 1 commit intomasterfrom
dgsudharsan wants to merge 1 commit intomasterfrom
Conversation
vivekrnv
approved these changes
Jun 2, 2023
dgsudharsan
pushed a commit
that referenced
this pull request
Jun 23, 2023
…ically (sonic-net#15547) #### Why I did it src/sonic-dbsyncd ``` * e4ac906 - (HEAD -> master, origin/master, origin/HEAD) [actions] Support Semgrep by Github Actions (#59) (7 hours ago) [Mai Bui] ``` #### How I did it #### How to verify it #### Description for the changelog
dgsudharsan
pushed a commit
that referenced
this pull request
Mar 17, 2025
…lly (sonic-net#874) #### Why I did it src/sonic-swss ``` * 5fdb9d6 - (HEAD -> 202412, origin/202412) [code sync] Merge code from sonic-net/sonic-swss:202411 to 202412 (#59) (21 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
dgsudharsan
pushed a commit
that referenced
this pull request
Dec 16, 2025
…HEAD automatically (sonic-net#1599) #### Why I did it src/sonic-swss-common ``` * 66ac80e - (HEAD -> 202412, origin/HEAD, origin/202412) Add c-api/Rust wrappers for ConfigDBConnector and EventPublisher (#66) (13 hours ago) [mssonicbld] * 9e5b094 - Add test case to verify zmq reconnect behaviour (#63) (17 hours ago) [mssonicbld] * b4a3cc6 - Ignore nonexistent include in database_global.json (#64) (17 hours ago) [mssonicbld] * 4f576db - Move SonicDbTable to sonic-dash-ha. (#65) (17 hours ago) [mssonicbld] * fd28e9d - Move swss-common/swss-common-testing crates from https://github.com/sonic-net/sonic-dash-ha (#62) (17 hours ago) [mssonicbld] * 726586c - SWSSDBConnector_new_keyed to c-api (#61) (19 hours ago) [mssonicbld] * 16a2234 - c-api: README.md (#60) (19 hours ago) [mssonicbld] * b501364 - Add swss::Logger to c-api (#59) (23 hours ago) [mssonicbld] * c51425c - C API Exceptions (#58) (24 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
dgsudharsan
pushed a commit
that referenced
this pull request
Feb 25, 2026
…tically (sonic-net#25545) #### Why I did it src/sonic-dash-api ``` * 459cad6 - (HEAD -> master, origin/master, origin/HEAD) Add two extra HA states (#59) (3 hours ago) [Changrong Wu] * b3dfda7 - Add list of trusted VNIs (#56) (29 hours ago) [Lawrence Lee] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
Delaying sflow service until interfaces are created. Starting sflow early leads to CPU contention and issues like below where sflow daemon will try to access interfaces even before they are created.
Work item tracking
How I did it
Set delayed to true in init_cfg.j2
How to verify it
Perform config reload and reboot to ensure sflow is started only after interfaces are created
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)