History flags set in many specification files are ignored CyFlex 6.0 and beyond

In CyFlex versions 6.0.x and newer, the history flags set in many specification files are ignored and all variables are considered to be active for compressed history logging. The result is that there will be many more variable files saved in the /data/compressed/split/ directory than in previous versions of CyFlex. This presents a problem if the “cleanup” specifications in the “usercron” specs file has the maximum number of files for the /data/compressed/split directory that is less than the number of variables in the system. Most systems will have the maximum number of files set to 2000.

Edit the “usercron” specification file to increase the maximum number of files in the /data/compressed/split/ directory from 2000 to 10000.

53 * * * * /cyflex/bin/cleanup 30 2000 “/data/compressed/split/*” 1> /dev/null 2>&1

53 * * * * /cyflex/bin/cleanup 30 10000 “/data/compressed/split/*” 1> /dev/null 2>&1

This assumes the location of the usercron spec file is in the /specs/ directory. It may be located elsewhere.
usercron /specs/usercron

grep usercron /cell/go.scp (to determine the location of the spec file if you don’t know it)

Ignore the instructions below if you are running NOT running a cyflex.6.0.x or newer version.

ENSURE THAT /data/compressed/ directory is a symbolic link
cd /data
ls -l compressed
The output should look like this:
lrwxrwxrwx ………………………… compressed -> compressed6
^__first character an ‘l’ ^__indicates that compressed is a symbolic link to compressed6

If the first character is a ‘d’ instead of an ‘l’, run “mk_data_dirs_tc”