Skip to content

Use supervisor-proc-exit-listener-rs as listener in 3 more docker images#25108

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
qiluo-msft:qiluo/morelistener-rs
Jan 16, 2026
Merged

Use supervisor-proc-exit-listener-rs as listener in 3 more docker images#25108
qiluo-msft merged 1 commit intosonic-net:masterfrom
qiluo-msft:qiluo/morelistener-rs

Conversation

@qiluo-msft
Copy link
Copy Markdown
Collaborator

Why I did it

Use supervisor-proc-exit-listener-rs as listener in 3 more docker images, in order to save RAM usage.

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Build passing and PR checker passing.

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

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

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)

Copilot AI review requested due to automatic review settings January 16, 2026 00:27
@qiluo-msft qiluo-msft requested a review from lguohan as a code owner January 16, 2026 00:27
@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).

@qiluo-msft qiluo-msft changed the title Change 3 more containers to use supervisor-proc-exit-listener-rs Use supervisor-proc-exit-listener-rs as listener in 3 more docker images Jan 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates three additional Docker containers to use the Rust-based supervisor process exit listener (supervisor-proc-exit-listener-rs) to reduce RAM usage.

Changes:

  • Updated supervisor exit listener paths from Python/old paths to the Rust implementation
  • Added buffer_size configuration where needed for consistency with other containers
  • Completes migration pattern already applied to other containers in the codebase

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
platform/components/docker-gbsyncd-agera2/supervisord.conf Updated listener path from /usr/local/bin/supervisor-proc-exit-listener to /usr/bin/supervisor-proc-exit-listener-rs
platform/clounix/docker-syncd-clounix/supervisord.conf Migrated from Python-based listener to Rust version and added buffer_size=1024 configuration
dockers/docker-sonic-otel/supervisord.conf Updated listener path from /usr/local/bin/supervisor-proc-exit-listener to /usr/bin/supervisor-proc-exit-listener-rs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@qiluo-msft qiluo-msft merged commit aa951c3 into sonic-net:master Jan 16, 2026
29 checks passed
@qiluo-msft qiluo-msft deleted the qiluo/morelistener-rs branch January 19, 2026 02:47
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…ges (sonic-net#25108)

Why I did it
Use supervisor-proc-exit-listener-rs as listener in 3 more docker images, in order to save RAM usage.

Signed-off-by: Feng Pan <[email protected]>
dprital pushed a commit that referenced this pull request Mar 19, 2026
…ges (#25108)

Why I did it
Use supervisor-proc-exit-listener-rs as listener in 3 more docker images, in order to save RAM usage.

Signed-off-by: dprital <[email protected]>
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.

5 participants