Monitoring connections with qt_debug
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The DataServer log contains messages indicating the status of connections. At startup, the number of managed connections initialized is written to the log file. If connections are rejected, this is also logged. If a connection from the ODBC connection pool cannot be reused, the ODBC driver issues the message DEAD Connection which is written to the log file.
At the end of a session, the DataServer writes summary information about cursor use. The summary contains the following information:
- Needed connections — The number of connections actually used during a session
- Peak connections — The maximum number of connections used simultaneously during a session
When debug logging is enabled with the "-Dsrv qt_debug,cursor"
switch, a summary of connection activity is written to the log file.
This summary contains:
- Number of connections (defaults to 5)
- Number of peak connections (defaults to 5)
- Highest connection value
- Lowest connection value
- Number of connections pulled out of pool
- Number of connections placed in the pool
- Total sum of active connections
The following excerpt from a dataserv.lg file
shows the summary of the managed connection activity written when
the "-Dsrv qt_debug,cursor" switch is
used, plus the standard messages:
|
For more information on using the qt_debug option to
the -Dsrv switch, see Server Related Command Line Utilities and Startup Parameters