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>
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/883866 /opendev. org/starlingx/ stx-puppet/ commit/ 62e2c8b8e58f108 aa32b5f9bd5ee11 c0f987a4d9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 62e2c8b8e58f108 aa32b5f9bd5ee11 c0f987a4d9
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: rss-memory. log; nlwp,rss: 10,vsz: 10, rss-memory. log
0 1 * * * /usr/bin/date >> /var/log/
/usr/bin/ps -e -o ppid,pid,
comm,cmd --sort=-rss >> /var/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 c77320ced3766af 04dab977829
Change-Id: I6f8e6208d203bc
Signed-off-by: Cesar Bombonate <email address hidden>