healthcheck_curl() causes massive dentry cache growth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Nagasai Vinaykumar Kapalavai |
Bug Description
Description of problem:
Since NSS_SDB_
See RHBZ 1044666 for background.
Version-Release number of selected component (if applicable):
13.0
How reproducible:
Run the following systemtap script on a containerized OSP13 controller:
probe kernel.
Observe many repeated calls referencing lib/docker/
Steps to Reproduce:
1. Deploy an OSP13 environment with containerized control plane
2. Run the systemtap script above for 1 minute
3. Observe many calls for nonexistent NSS DB files
4. Run the following to add NSS_SDB_
docker ps -q | xargs -I {} docker exec -u root {} sed -i '/^healthcheck_
5. Re-run the systemtap script
6. Observe a large reduction (90%+) in dentry cache calls over 1 minute
Actual results:
[root@ctl01 ~]# stap -o test1.out -T 60 dentry.stap
[root@ctl01 ~]# wc -l test1.out
186526 test1.out
[root@ctl01 ~]# grep dOeSnotExist test1.out | wc -l
158649
Expected results:
[root@ctl01 ~]# stap -o test2.out -T 60 dentry.stap
[root@ctl01 ~]# wc -l test2.out
17544 test2.out
[root@ctl01 ~]# grep dOeSnotExist test2.out | wc -l
0
Changed in tripleo: | |
assignee: | nobody → Nagasai Vinaykumar Kapalavai (vinaykns2) |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → stein-2 |
tags: | added: queens-backport-potential rocky-backport-potential |
Fix proposed to branch: master /review. openstack. org/620649
Review: https:/