Document Type | Troubleshooting
Category | Monitoring/Inspection
Applicable Product Versions | 6FS06, 6FS07, 7FS01, 7FS02
Document Number | TMOTS009
Issue
This error occurs on AIX when the creation of file descriptors (fd: file descriptor) fails due to exceeding the configured maximum number of file descriptors.
_pollset_calc(cur=16383, max=17812) failed. is the error message shown. The error messages that occur are as follows.[07-30T22:39:57.808733] [FRM-222] [I] _pollset_calc(cur=16383, max=16523) failed. [07-30T22:39:57.808852] [FRM-222] [I] event addition failure - fd=16523, flags=5, return=-1, errno=0, evt=000000014f3bbda0 [07-31T15:35:58.459412] [FRM-222] [I] _pollset_calc(cur=16383, max=16524) failed. [07-31T15:35:58.459457] [FRM-222] [I] event addition failure - fd=16524, flags=5, return=-1, errno=0, evt=000000014f3bd310
Cause
ulimit -n may be set to unlimited, but in reality, it is limited to an internal maximum value (16383), causing the error.In environments with many sessions and numerous data files, the number of generated file descriptors (fd max) exceeds the limited value (cur=16383), resulting in the error.
Solutions
1. Apply the patch.
Patch to apply: 244094 Latest memory kernel related patch
CautionApply the patch through technical support provided by TmaxTibero.
2. Resolve the error by setting a workaround.
NoteAs a workaround, set theulimit -nvalue to an explicit number instead of unlimited to resolve the error.Recommended calculation formula: (_WTHR_PER_PROC * (number of data files + 15)) + (number of tbsvr processes + 5) + 100 or set to 3,000,000 is recommended