Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.4-stable] memory-monitor: Add error tolerance to memory allocation logging in handler script #4419

Commits on Nov 4, 2024

  1. memory-monitor: Add error tolerance to memory allocation logging in h…

    …andler script.
    
    Allow the memory-monitor-handler script to proceed even if no memory
    allocation sites are found in `logread` output. Previously, if `logread`
    returned no matches for "logMemAllocationSites," the script would
    terminate due to `set -e`. This change adds `|| :` to handle the
    potential absence of matches, enabling the script to continue executing
    subsequent commands.
    
    Signed-off-by: Nikolay Martyanov <[email protected]>
    (cherry picked from commit fbb6ed0)
    OhmSpectator committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    f4fdd43 View commit details
    Browse the repository at this point in the history