Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

Appendix D.8 Deleting troubleshooting information

When a server process or a client is terminated forcibly, HiRDB outputs troubleshooting information to the $PDDIR/spool directory. Also, when you terminate a command or utility while it is executing by pressing Ctrl-C, for example, temporary work files generated by the command or utility remain in the $PDDIR/tmp directory. If these files are not deleted, they might eventually cause a space shortage on the disk containing the HiRDB directory. To prevent a space shortage from occurring on the disk containing the HiRDB directory and causing HiRDB abnormal termination, HiRDB regularly deletes the files listed below:

These files are normally deleted every 24 hours. This deletion interval can be changed with the pd_spool_cleanup_interval operand. You can also specify, for example, that only the files that were output before the day specified in the pd_spool_cleanup_interval_level operand be deleted.

You can also delete troubleshooting information files and temporary work files (files in the $PDDIR/tmp directory) with the pdcspool command.

You select the troubleshooting information to be deleted by specifying it in the pdcspool command option or the pd_spool_cleanup_interval_level operand.

Note
  • There are situations in which troubleshooting information files output by a command or utility that a user other than the HiRDB administrator executed cannot be deleted. In this case, a user possessing the privilege for deleting troubleshooting information must use the OS's rm command or another such tool to delete the files.
  • If a HiRDB operation command or utility aborts when only the TMPDIR environment variable is specified and the pd_tmp_directory operand is not specified, there are situations in which HiRDB creates files beginning with the letters pdcmd or plcmd in the directory specified in TMPDIR. If files beginning with pdcmd or plcmd cannot be deleted even after a HiRDB operation command or utility has terminated, use the OS's rm command or another such tool to delete the files.