Connection information set in the LIMITNUMSESSIONS configuration parameter
The LIMITNUMSESSIONS configuration parameter is an optional parameter that specifies the maximum number of sessions that you want connected to HCL Informix®. If you specify a maximum number, you can also specify whether you want Informix® to print messages to the online.log file when the number of sessions approaches the maximum number.
Distributed queries against a server are counted against the limit.
You might be required to dynamically increase or temporarily turn off the LIMITNUMSESSIONS configuration parameter to allow administrative utilities to run if the database server is reaching the limit. Use onmode -wf or onmode -wm to dynamically increase or turn off LIMITNUMSESSIONS.
If the LIMITNUMSESSIONS configuration parameter is enabled and sessions are restricted because of this limit, both regular user threads and DBSA user threads connecting to any database count against the limit. However, a DBSA user is allowed to connect to the server even after the limit is reached.
The LIMITNUMSESSIONS configuration parameter is not intended to be used as a means to adhere to license agreements.
Example
The following example specifies
that you want a maximum of 100 sessions to connect to the database
server and you want to print a warning message when the number of
connected sessions approaches 100: LIMITNUMSESSIONS 100,1