forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[techsupport] Added a lock to avoid running techsupport in parallel (s…
…onic-net#2065) - What I did Added logic to generate_dump script to avoid parallel execution of techsupport. If a second instance of techsupport starts when one is already running, the second one exits with an appropriate error code - Why I did it 1. Running multiple dumps in paralell has no real use case 2. High CPU load 3. saisdkdump is not designed to run in paralell. When run, these sort of logs are seen indicating failure. Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
- Loading branch information
Showing
1 changed file
with
78 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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