How to Avoid or Prevent "Process 0x%p appears to be hung in Auto SQL Tuning task" Messages

(Doc ID 1344499.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Oracle Database - Standard Edition - Version 11.1.0.6 and later
Oracle Database - Personal Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.

Goal

Occasionally, when running the "SYS_AUTO_SQL_TUNING_TASK" warning messages such as the following may appear in the alert log:

"Process 0x%p appears to be hung in Auto SQL Tuning task"
"Current time = %u, process death time = %u"
"Attempting to kill process 0x%p with OS pid = %s"
"OSD kill skipped for process %p"
"OSD kill succeeded for process %p"
"OSD kill failed for process %p"


These messages indicate that an auto kill of a "hung"/long running tuning task has taken place. This is a protective measure purely to avoid the task from over-running its time limit because of a single task and  protects a the system from harm caused by such over-running.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms