Skip to content

[supervisord] fix 1sec delay#24190

Merged
qiluo-msft merged 2 commits into
sonic-net:masterfrom
stepanblyschak:supervisor-fix-1sec-delay
Oct 29, 2025
Merged

[supervisord] fix 1sec delay#24190
qiluo-msft merged 2 commits into
sonic-net:masterfrom
stepanblyschak:supervisor-fix-1sec-delay

Conversation

@stepanblyschak

Copy link
Copy Markdown
Collaborator

Why I did it

supervisord has 1 sec delay at init. This PR partially addresses #13765

Work item tracking
  • Microsoft ADO (number only):

How I did it

On init make the polling non blocking in supervisord

How to verify it

Boot the image, check time between supervisord start and first process start. There should be no 1 sec delay.

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

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)

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment thread src/supervisor.patch/0001-First-poll-is-non-blocking.patch
Comment thread .gitmodules
@stepanblyschak stepanblyschak changed the title Supervisor fix 1sec delay [supervisord] fix 1sec delay Oct 18, 2025
@qiluo-msft qiluo-msft merged commit 3717fb1 into sonic-net:master Oct 29, 2025
21 checks passed
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
Why I did it
supervisord has 1 sec delay at init. This PR partially addresses sonic-net#13765

Work item tracking
Microsoft ADO (number only):
How I did it
On init make the polling non blocking in supervisord

How to verify it
Boot the image, check time between supervisord start and first process start. There should be no 1 sec delay.

Signed-off-by: Feng Pan <fenpan@microsoft.com>
xwjiang-ms pushed a commit to xwjiang-ms/sonic-buildimage that referenced this pull request Dec 22, 2025
Why I did it
supervisord has 1 sec delay at init. This PR partially addresses sonic-net#13765

Work item tracking
Microsoft ADO (number only):
How I did it
On init make the polling non blocking in supervisord

How to verify it
Boot the image, check time between supervisord start and first process start. There should be no 1 sec delay.

Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
mhchann pushed a commit to mhchann/sonic-buildimage that referenced this pull request May 7, 2026
Why I did it
supervisord has 1 sec delay at init. This PR partially addresses sonic-net#13765

Work item tracking
Microsoft ADO (number only):
How I did it
On init make the polling non blocking in supervisord

How to verify it
Boot the image, check time between supervisord start and first process start. There should be no 1 sec delay.

Signed-off-by: mhchann <mhchann082@gmail.com>
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.

3 participants