Skip to content
Snippets Groups Projects
Commit e2e13098 authored by Debian's avatar Debian
Browse files

move the sss cache onto tmpfs to speed up queries

parent 71dbe738
No related branches found
No related tags found
1 merge request!22move the sss cache onto tmpfs to speed up queries
...@@ -39,6 +39,11 @@ ...@@ -39,6 +39,11 @@
sudo: true sudo: true
notify: restart sssd notify: restart sssd
- name: "Make the cache a tmpfs"
mount: name=/var/lib/sss/db/ src=tmpfs fstype=tmpfs opts='size=40m' state=mounted
become: true
become_user: root
- name: "start sssd" - name: "start sssd"
service: name=sssd state=started enabled=yes service: name=sssd state=started enabled=yes
sudo: true sudo: true
...@@ -12,10 +12,10 @@ filter_groups = slurm, munge ...@@ -12,10 +12,10 @@ filter_groups = slurm, munge
[domain/{{ ldapDomain }}] [domain/{{ ldapDomain }}]
ldap_referrals = false ldap_referrals = false
cache_credentials = false cache_credentials = false
entry_cache_timeout=120 entry_cache_timeout=5400
memcache_timeout=120 memcache_timeout=300
entry_cache_nowait_percentage=50 entry_cache_nowait_percentage=50
enumerate = true enumerate = false
id_provider = ldap id_provider = ldap
auth_provider = ldap auth_provider = ldap
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment