Description of problem: We have a customer experimenting a memory growth using sssd_autofs. This generally ends in OOM condition and the process sssd_autofs being killed Doing 100 "automount -m" runs the memory usage increases by 0.7GB, so the memory increment is just over 7MB per execution. A large automount map is used in IPA, "automount -m | wc -l" returns 2255 lines A valgrind capture has been performed on sssd_autofs. This reveals no "definitely lost" bytes but quite a lot of "possibly lost" like here : valgrind.32064.log:==00:00:01:53.245 32064== possibly lost: 6,313,884 bytes in 38,925 blocks Version-Release number of selected component (if applicable): RHEL 7.9 How reproducible: Steps to Reproduce: Not reproduced in-house for now Actual results: Expected results: sssd_autofs process size should remain stable over time Additional info:
Thank you. I can reproduce the issue on RHEL-7 (sssd-1.16). It was fixed as a side effect of refactoring autofs code in RHEL-8 so it does not affect RHEL-8 nor RHEL-9.