Actions
Bug #12715
openLong system startup time when LDAP is configured and unavailable during startup.
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Plus-Next
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
- Currently if LDAP is unavailable at system startup, several LDAP queries have to timeout before the system will proceed with startup. There is no recycling of connections, so n LDAP queries requires n separate connections, and thus n separate timeouts. This results in a hang at startup that is several minutes long in some cases, probably dependent on the number of LDAP calls that are required (e.g. n * LDAP_timeout).
- If LDAP is unavailable during system startup, the system will appear to hang at "Synchronizing user settings..."
- This is unavoidable if LDAP connectivity relies on a VPN (e.g. IPsec, WireGuard, etc.), FRR for dynamic routes, etc...these services are started later in the startup process.
- We should implement some sort of global state that will prevent subsequent LDAP queries if one times out during system startup, as subsequent attempts are likely to fail as well.
Related to https://redmine.pfsense.org/issues/11644
Actions