INFORMIXSTACKSIZE environment variable

The INFORMIXSTACKSIZE environment variable specifies the stack size (in KB) that is applied to all client processes. Any value that you set for INFORMIXSTACKSIZE in the client environment is ignored by the database server.

1  setenv INFORMIXSTACKSIZE size
size
is an integer, setting the stack size (in KB) for SQL client threads.
For example, to decrease the INFORMIXSTACKSIZE to 20 KB, enter the following command:
setenv INFORMIXSTACKSIZE 20
If INFORMIXSTACKSIZE is not set, the stack size is taken from the database server configuration parameter STACKSIZE or else defaults to a platform-specific value. The default stack size value for the primary thread of an SQL client is 32 KB for nonrecursive database activity.
Warning: For instructions on setting this value, see the Informix® Administrator's Reference. If you incorrectly set the value of INFORMIXSTACKSIZE, it can cause the database server to fail.