Skip to content

[sflow]Delay starting sflow service until ports are created#59

Closed
dgsudharsan wants to merge 1 commit intomasterfrom
sflow_delay
Closed

[sflow]Delay starting sflow service until ports are created#59
dgsudharsan wants to merge 1 commit intomasterfrom
sflow_delay

Conversation

@dgsudharsan
Copy link
Copy Markdown
Owner

@dgsudharsan dgsudharsan commented Jun 2, 2023

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.

https://github.com/sonic-net/sonic-buildimage/issues/13407
Work item tracking
  • Microsoft ADO (number only):

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)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

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)

@dgsudharsan dgsudharsan closed this Jun 5, 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants