Skip to main content

RTS temporary directory fills up with cob files

  • February 15, 2013
  • 0 replies
  • 0 views

This article describes various temporary files created by RTS to provide certain functionality.

Problem:

The RTS creates various temporary files to provide certain functionality. These files are created in $TMPDIR (if set) or /tmp, /usr/tmp or /var/tmp depending on the UNIX platform.

If any temporary files are left lying around then it is because the RTS could not run its cleanup code, for example, if kill -9 is used or when exiting early from a C debugger. Temporary files created by the RTS have the following prefixes:

cobdi Created during compilation

cobhp CBL_VFILE_ heaps - mainly used by the checker

cobru CBL_EXEC_RUN_UNIT inheritance information - removed by child

cobsm Shared memory lock

cobxi Embedded source code file names - created during compilation and removed by cob/editor/cmenu

cobdb/cobdc Debugging

cobdf/cobdt Mixedlangdebug debugging

cobcg/cobsv Cross session debugging

coban Created (and removed) by cobanim

Resolution:

In order to get rid of the temporary files, run a regular batch schedule procedure which will delete cob files from the /tmp directory.

Old KB# 14003