plsql.conf Configuration Files for mod_plsql
3-10 Oracle Fusion Middleware Administrators Guide for Oracle HTTP Server
■
PlsqlLogEnable
■
PlsqlLogDirectory
■
PlsqlIdleSessionCleanupInterval
PlsqlDMSEnable Enables Dynamic Monitoring Service DMS for the mod_plsql module.
PlsqlLogEnable Enables debug level logging for the mod_plsql module. Debug level logging is meant
to be used for debugging purposes only.
When logging is enabled, Oracle HTTP Server log files are typically created in the ORACLE_INSTANCE
diagnosticslogsOHSohs_name directory. However, the location specified in
PlsqlLogDirectory determines the final location.
This parameter should be set to Off unless recommended by Oracle support to debug problems with the mod_plsql module.
To view more details about the internal processing of the mod_plsql module, set this directive to On. This causes the mod_plsql module to start logging every request that is
processed. The log files are generated as specified by the PlsqlLogDirectory
directive.
PlsqlLogDirectory Specifies the directory where debug level logs are written.
Set the directory name of the location where log files should be generated when logging is enabled. To avoid possible confusion about the location of this directory, an
absolute path is recommended.
On UNIX, this directory must have write permissions by the owner of the child httpd processes.
Category Value
Syntax PlsqlDMSEnable {On | Off}
Default On
Example PlsqlDMSEnable On
Category Value
Syntax PlsqlLogEnable {On | Off}
Default Off
Example PlsqlLogEnable Off
Category Value
Syntax PlsqlLogDirectory directory
Default None
Example PlsqlLogDirectory ORACLE_
INSTANCEdiagnosticslogsOHSohs_name
Understanding Oracle HTTP Server Modules 3-11
PlsqlIdleSessionCleanupInterval Specifies the time in minutes in which the idle database sessions should be closed
and cleaned by the mod_plsql module.
This directive is used in conjunction with connection pooling of database connections and sessions in the mod_plsql module. When a session is not used for the specified
amount of time, it is closed and freed. This is done so that unused sessions can be cleaned, and the memory is freed on the database side.
Setting this time to a low number helps in faster cleanup of unused database sessions. If this number is too low, then this may adversely affect the performance benefits of
connection pooling in the mod_plsql module.
If the number of open database sessions is not a concern, you can increase the value of this parameter for best performance. In such a case, if the site is accessed frequently
enough that the idle session cleanup interval is never reached for a session, then the DAD configuration parameter
PlsqlMaxRequestsPerSession can be modified so that it
is guaranteed that a pooled database session gets recycled on a regular basis. For most installations, the default value is adequate.