{"id":237,"date":"2018-08-02T19:07:04","date_gmt":"2018-08-02T19:07:04","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?p=237"},"modified":"2018-08-07T13:43:46","modified_gmt":"2018-08-07T13:43:46","slug":"history-flags-set-in-many-specification-files-are-ignored-cyflex-6-0-and-beyond","status":"publish","type":"post","link":"https:\/\/cyflex.com\/index.php\/history-flags-set-in-many-specification-files-are-ignored-cyflex-6-0-and-beyond\/","title":{"rendered":"History flags set in many specification files are ignored CyFlex 6.0 and beyond"},"content":{"rendered":"<p>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 \u201ccleanup\u201d specifications in the \u201cusercron\u201d 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.<\/p>\n<p><strong>ACTION REQUIRED:<\/strong><br \/>\nEdit the \u201cusercron\u201d specification file to increase the maximum number of files in the \/data\/compressed\/split\/ directory from 2000 to 10000.<\/p>\n<p><strong>CHANGE THIS:<\/strong><br \/>\n53 * * * * \/cyflex\/bin\/cleanup 30 2000 \u201c\/data\/compressed\/split\/*\u201d 1&gt; \/dev\/null 2&gt;&amp;1<\/p>\n<p><strong>TO THIS:<\/strong><br \/>\n53 * * * * \/cyflex\/bin\/cleanup 30 10000 \u201c\/data\/compressed\/split\/*\u201d 1&gt; \/dev\/null 2&gt;&amp;1<\/p>\n<p><strong>ACTIVATE THE CHANGE:<\/strong><br \/>\nThis assumes the location of the usercron spec file is in the \/specs\/ directory. It may be located elsewhere.<br \/>\nusercron \/specs\/usercron<\/p>\n<p>grep usercron \/cell\/go.scp (to determine the location of the spec file if you don\u2019t know it)<\/p>\n<p><em>Ignore the instructions below if you are running NOT running a cyflex.6.0.x or newer version.<\/em><\/p>\n<p>ENSURE THAT \/data\/compressed\/ directory is a symbolic link<br \/>\ncd \/data<br \/>\nls -l compressed<br \/>\nThe output should look like this:<br \/>\nlrwxrwxrwx &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; compressed -&gt; compressed6<br \/>\n^__first character an \u2018l\u2019 ^__indicates that compressed is a symbolic link to compressed6<\/p>\n<p>If the first character is a \u2018d\u2019 instead of an \u2018l\u2019, run \u201cmk_data_dirs_tc\u201d<br \/>\nmk_data_dirs_tc<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-did-you-know"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}