Comment 4 for bug 2019007

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-puppet (master)

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/883866
Committed: https://opendev.org/starlingx/stx-puppet/commit/62e2c8b8e58f108aa32b5f9bd5ee11c0f987a4d9
Submitter: "Zuul (22348)"
Branch: master

commit 62e2c8b8e58f108aa32b5f9bd5ee11c0f987a4d9
Author: Cesar Bombonate <email address hidden>
Date: Fri May 12 18:15:08 2023 +0000

    Introduce new log file in /var/log/rss-memory.log

    This change adds a new log /var/log/rss-memory.log for
    memory growth debuging

    The following entry into crontab will output daily at 01:00:
    0 1 * * * /usr/bin/date >> /var/log/rss-memory.log;
     /usr/bin/ps -e -o ppid,pid,nlwp,rss:10,vsz:10,
     comm,cmd --sort=-rss >> /var/log/rss-memory.log

    Test Plan:
            - PASS: Build an image, install and bootstrap successfully
            - PASS: Apply monitor pods so addon logs would be installed.
            - PASS: Check that log entries are correctly displayed.
            - PASS: Tested on controller, AIO, worker and storage hosts.

    Closes-Bug: 2019007
    Change-Id: I6f8e6208d203bcc77320ced3766af04dab977829
    Signed-off-by: Cesar Bombonate <email address hidden>