Set agents and sessions
- Last Updated: March 16, 2023
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
As a system administrator, you set a baseline number of agents and sessions available to the staging instance. As you test the instance, you may want to revisit these numbers and adjust them to improve performance.
To configure agents and sessions, perform the following steps:
- Run the proenv utility.
- Navigate to the
/bindirectory of your instance. - Run the
oeproputility commands to view the agent and session settings for your instance:oeprop.[sh|bat] AppServer.SessMgr.maxAgents oeprop.[sh|bat] AppServer.SessMgr.maxConnectionsPerAgent - Set the number of agents and sessions. For
example::
oeprop.[sh|bat] AppServer.SessMgr.maxAgents=1 oeprop.[sh|bat] AppServer.SessMgr.maxConnectionsPerAgent=50Note: The values you set for the instance will be different from the defaults and from those values listed in this topic. See the Tune PAS for OpenEdge instances topics for information about tuning a production environment. - Restart the instance using the
pasman pasoestartcommand:pasman.[sh|bat] pasoestart -I instance-name -timeout 200 - Test and tune the instance as necessary for best performance. Tuning recommendations are covered in the Tune PAS for OpenEdge instances topics.