Troubleshooting
Problem
Older versions of NSS LDAP libraries might lead to a trap when DB2 has more than 1024 open files.
Symptom
Trap with possible stack trace (top functions only) similar to this:
0x00007FC82B4F6E0A sqloEDUCodeTrapHandler + 0x027a
0x00007FBDF9E35A9D _nss_ldap_getgrgid_r + 0x015d
0x00000030004AA34D getgrgid_r + 0x00dd
0x00007FC82950F1AD sqloGetGroupAttribById + 0x00ed
Cause
The reason is that older versions of NSS LDAP use the 'select()' system call with an array capable of handling only up to 1024 file descriptors. If the fd provided to 'select()' is bigger it will cause a stack corruption.
Resolving The Problem
The solution is to use a newer version of the library (like 0.96) that uses 'poll()' instead of 'select()' and can handle more file descriptors. Please check with you Unix administrator to locate and install an appropriate version of the libraries.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21992724