DIA0 Diagnostic Processes Hold Deleted Files Which Consume Space In Diagnostic Destination. (Doc ID 2174223.1)

Last updated on NOVEMBER 04, 2016

Applies to:

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

Goal

Sometimes even though the *_dia0_*.trc is deleted physically but still the file is locked by DIA0 background process and does not free up space.

Example :
lsof | grep deleted
oracle 1320 oracle 29w REG 253,178 3928503478 934263 /opt/oracle/base/diag/rdbms/<DB>/<INSTANCE>/trace/<INSTANCE>_dia0_1320.trc (deleted)
oracle 11269 oracle 29w REG 253,178 3915462071 918377 /opt/oracle/base/diag/rdbms/<DB>/<INSTANCE>/trace/<INSTANCE>_dia0_11269.trc (deleted)

How to free up  the space ?

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