My Oracle Support Banner

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

Last updated on DECEMBER 24, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


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 ?


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.