After upgrading Splunk Enterprise from version 9.3.1 or later versions, instances crash unexpectedly. The crashes occur during LDAP authentication processes, particularly when:
Review the log files generated by the splunkd process in $SPLUNK_HOME/var/log/splunk/crash-<date>.log
For this scenario, Splunk was working on a saved search that is why the thread that is crashing is the SchedulerThread, which is a trend for this specific issue but can occurred any time Splunk needs to make a call to the LDAP server.
ldap_new_connection + 330 (splunkd + 0x427E680)".? (splunkd + 0x428CB21)"
[build 0b8d769cb912] 2024-10-24 10:31:57
Received fatal signal 11 (Segmentation fault) on PID 8339.
Cause:
No memory mapped at address [0x0000000000000038].
Crashing thread: SchedulerThread
(...)
Backtrace (PIC build):
[0x00007F9936584640] BIO_set + 96 (libcrypto.so.1.0.0 + 0xFE640)
[0x00007F99365846B3] BIO_new + 51 (libcrypto.so.1.0.0 + 0xFE6B3)
[0x000055E8C2F7250C] ? (splunkd + 0x429050C)
[0x000055E8C2F82B71] ber_sockbuf_add_io + 254 (splunkd + 0x42A0B71)
[0x000055E8C2F6EB21] ? (splunkd + 0x428CB21)
[0x000055E8C2F6FDED] ldap_int_tls_start + 152 (splunkd + 0x428DDED)
[0x000055E8C2F5C52C] ldap_int_open_connection + 359 (splunkd + 0x427A52C)
[0x000055E8C2F60680] ldap_new_connection + 330 (splunkd + 0x427E680)
[0x000055E8C2F5BD15] ldap_open_defconn + 74 (splunkd + 0x4279D15)
[0x000055E8C2F5FBCE] ldap_send_initial_request + 101 (splunkd + 0x427DBCE)
[0x000055E8C2F64A98] ldap_sasl_bind + 184 (splunkd + 0x4282A98)
[0x000055E8C2F64B6C] ldap_sasl_bind_s + 160 (splunkd + 0x4282B6C)
[0x000055E8C1B7ABE3] ZN20ScopedLDAPConnection4bindERK3StrS2 + 195 (splunkd + 0x2E98BE3)
[0x000055E8C1B72A84] _ZN26AuthenticationProviderLDAP16fillLDAPUserInfoERK12LDAPStrategyR12LDAPUserInfo + 276 (splunkd + 0x2E90A84)
[0x000055E8C1A55638] _ZNK14UserManagerPro11getLDAPUserEP22AuthenticationProviderR12LDAPUserInfob + 296 (splunkd + 0x2D73638)
[0x000055E8C1A575A5] _ZNK14UserManagerPro12fillUserInfoER8UserInfobb + 485 (splunkd + 0x2D755A5)
This is a known issue that can be trigger when Splunk and the LDAP implementation in the LDAP server has a slow or inconsistent connection.
Modifying the setting below to 0 to limit the number of connections Splunk can do to the LDAP server, can reduce the number of crashes.
vi $SPLUNK_HOME/etc/system/local/limits.conf
[ldap]
max_users_to_precache = 0$SPLUNK_HOME/bin/splunk restart| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |