Maximum Clients Per Server (-Ma)
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Maximum Clients Per Server (-Ma)
Use Maximum Clients per Server (-Ma) to specify the maximum number of
remote users per database server.
| Operating system and syntax | UNIX / Windows |
-Ma
n
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Database Server | 2048 | 1 | — | 4 users/server |
- n
-
The maximum number of remote users per database server. The default is the Number of Users (-n) parameter value, divided by the Maximum Servers (-Mn) parameter value.
Note that Maximum Clients Per Server (-Ma) can be updated while the
database is running.
The Maximum Clients Per Server (-Ma), Minimum Clients per Server (-Mi), and Maximum Servers (-Mn) startup parameters pertain only to versions of OpenEdge that use shared memory. In addition, these parameters apply only to databases that are accessed from remote network nodes.
In most cases, the default behavior is desirable. Note that the default calculation is
usually high because it assumes that all users are remote users, while the number specified
with -n includes local users. If servers become overloaded with clients, reset the
-Mn parameter to increase the number of servers. If experience proves
that a given number of remote clients overloads a server or exhausts the file descriptors on
the system, set the Maximum Clients Per Server (-Ma) parameter to
limit clients per server below that level. A file descriptor is an object UNIX
uses to identify a particular file. The file descriptors might be exhausted because OpenEdge
uses them to identify sockets.