lslebodn / SSSD / sssd

Forked from SSSD/sssd 7 years ago
Clone

bd20174 sdap: Add randomness to ldap connection timeout

10 files Authored by thalman 4 years ago, Committed by pbrezina 4 years ago,
    sdap: Add randomness to ldap connection timeout
    
    In case of mass deployment, mass registration of IPA clients roughly on
    the same time leads to regular CPU load spikes on IPA servers, the load
    spikes are caused by all/most clients refreshing their LDAP connections
    (ldap_connection_expire_timeout) every 15 minutes.
    
    This patch introduces new random value (from 0 up to
    ldap_connection_expire_offset) that is added to the timeout.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3630
    
    Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
    
        
file modified
+1 -0
file modified
+19 -0
file modified
+1 -0
file modified
+1 -0
file modified
+1 -0