Kbase P123217: Database startup error 793 with -Ma > 1022
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1B
Linux
Caldera Open UNIX/SCO UnixWare
SYMPTOM(s):
Database startup error 793 with -Ma > 1022
Select returned -1 , errno=<n>. (793)
Select returned -1 , errno=22. (793)
Maximum number of clients per server (-Ma) is greater than 1022
Using default value of -Ma
Issue does not happen with versions of Progress/OpenEdge prior to 10.1B
CAUSE:
A limitation in the operating system is the primary cause of the issue.
The database server uses the poll() system call to monitor connection file descriptors. On Linux and UnixWare, this call is limited to handle a maximum of 1024 file descriptors. The database server uses poll() for 2 file descriptors used internally plus the number specified for -Ma.
FIX:
The recommended workaround is to set -Ma 1022 (or lower) and increase -Mn (number of servers) as needed.
On UnixWare, it is also possible to increase the system limit for file descriptors with the command "uname -n". This command does not work on Linux.