PAM required stack size

You can customize the stack size available for PAM modules.

The PAM feature loads operating system or third-party PAM modules (shared libraries) into the informix user thread. The stack size requirements of these PAM modules cannot be predicted. For instance, on Linux some modules require more than 128 KB of stack space. Use the PAM_STACKSIZE configuration parameter to customize the stack size for PAM modules.

For example, set PAM_STACKSIZE in the onconfig file as follows:
PAM_STACKSIZE 64 # Stack size needed for the PAM modules
(K Bytes)

On UNIX, the default value of PAM_STACKSIZE is 32 KB.

On Linux, the default value is 128 KB plus the value of the STACKSIZE configuration parameter.


Copyright© 2020 HCL Technologies Limited