Huge Number of component_event.xlf* and pki_data*.tmp files in /tmp in Oracle Forms & Reports 12c
Posted by Dirk Nachbar on Thursday, February 06, 2020
If you are running an Oracle Forms and Reports 12c (12.2.1.+) environment over quite some time, you might discover that under the /tmp directory are a quite huge number of files named component_event.xlf* and pki_data*.tmp are generated and filling up your /tmp space.
The pki_data*.tmp files are usually 0 Bytes, but the component_event.xlf* files are between some Bytes up to some 100 Bytes. Over some time, these files are really fill up your /tmp.
These files are generated by the Oracle Platform Security for Java component and they are holding temporarily cache data.
In order to get rid of the component_event.xlf* files, you will just to have modify two configuration files of your WebLogic Domain.
In the configuration file $DOMAIN_HOME/config/fmwconfig/jps-config.xml find the following line and comment this line out.
# # Original line <serviceInstanceRef ref="audit.db"/> # Modified line <!-- serviceInstanceRef ref="audit.db"/ -->
The second configuration file is the $DOMAIN_HOME/config/fmwconfig/jps-config-jse.xml. Find the following line and comment this line out.
# # Original line <serviceInstanceRef ref="audit.db"/> # Modified line <!-- serviceInstanceRef ref="audit.db"/ -->
After the above modifications are done, you will have to restart your WebLogic Domain and you can see that no more component_event.xlf* are generated.
There are just the pki_data*.tmp files, but these files are usually 0 Bytes. For this files you can use a normal housekeeping job to clean them up regulary.
There are just the pki_data*.tmp files, but these files are usually 0 Bytes. For this files you can use a normal housekeeping job to clean them up regulary.