Hi sssd users,
sssd creates many ccache-files under /var/lib/sss/db/. They become so much, that the maximum number of inodes (default: 32768) for the partition is reached. This results in several other problems (failed logins, processes can't create sockets, etc). Why are so many files created? Is there a way to limit the maximum number of created files? Right now I'm running a daily Cronjob that deletes the sssd-cache (sss_cache -E).
I'm running RHEL6.6 and sssd 1.11.6 with AD as backend. Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks Sebastian
On (24/03/15 14:26), Sebastian.Gumprich@t-systems.com wrote:
Hi sssd users,
sssd creates many ccache-files under /var/lib/sss/db/. They become so much, that the maximum number of inodes (default: 32768) for the partition is reached. This results in several other problems (failed logins, processes can't create sockets, etc). Why are so many files created? Is there a way to limit the maximum number of created files? Right now I'm running a daily Cronjob that deletes the sssd-cache (sss_cache -E).
I'm running RHEL6.6 and sssd 1.11.6 with AD as backend. Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
It looks like a bug https://fedorahosted.org/sssd/ticket/2592
LS
On Wed, Mar 25, 2015 at 09:12:50AM +0100, Lukas Slebodnik wrote:
On (24/03/15 14:26), Sebastian.Gumprich@t-systems.com wrote:
Hi sssd users,
sssd creates many ccache-files under /var/lib/sss/db/. They become so much, that the maximum number of inodes (default: 32768) for the partition is reached. This results in several other problems (failed logins, processes can't create sockets, etc). Why are so many files created? Is there a way to limit the maximum number of created files? Right now I'm running a daily Cronjob that deletes the sssd-cache (sss_cache -E).
I'm running RHEL6.6 and sssd 1.11.6 with AD as backend. Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
It looks like a bug https://fedorahosted.org/sssd/ticket/2592
Yes. But that bug only happened if ldap_child was failing, so an easy workaround might be to fix the client. I also thought I caused the bug during the 1.12 changes, but I might be wrong about that one. Finally, I'm suprised sss_cache -E helps, because all the command does is set cache expiration to the past. It never deletes anything.
On (25/03/15 09:21), Jakub Hrozek wrote:
On Wed, Mar 25, 2015 at 09:12:50AM +0100, Lukas Slebodnik wrote:
On (24/03/15 14:26), Sebastian.Gumprich@t-systems.com wrote:
Hi sssd users,
sssd creates many ccache-files under /var/lib/sss/db/. They become so much, that the maximum number of inodes (default: 32768) for the partition is reached. This results in several other problems (failed logins, processes can't create sockets, etc). Why are so many files created? Is there a way to limit the maximum number of created files? Right now I'm running a daily Cronjob that deletes the sssd-cache (sss_cache -E).
I'm running RHEL6.6 and sssd 1.11.6 with AD as backend. Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
It looks like a bug https://fedorahosted.org/sssd/ticket/2592
Yes. But that bug only happened if ldap_child was failing, so an easy workaround might be to fix the client. I also thought I caused the bug during the 1.12 changes, but I might be wrong about that one.
I tried to apply patch to the branch 1.11 and there wasn't any conflict.
I'm suprised sss_cache -E helps, because all the command does is set cache expiration to the past. It never deletes anything.
Sebastian, The patch is not in any upstream release yet. But you can try to test with prerelease of sssd-1.12. I have a prepared COPR repo https://copr.fedoraproject.org/coprs/lslebodn/sssd-1-12-latest/
LS
sssd-users@lists.fedorahosted.org