<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Massive unexpected Cold to Frozen execution ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24816#M3969</link>
    <description>&lt;P&gt;This is been identified as a know issue in 4.2.1 and 4.2.2 (SPL-40220)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/ReleaseNotes/Knownissues"&gt;http://www.splunk.com/base/Documentation/4.2.1/ReleaseNotes/Knownissues&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2011 10:31:34 GMT</pubDate>
    <dc:creator>ruiaires</dc:creator>
    <dc:date>2011-07-22T10:31:34Z</dc:date>
    <item>
      <title>Massive unexpected Cold to Frozen execution ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24812#M3965</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Problem summary:&lt;/STRONG&gt;  &lt;/P&gt;

&lt;P&gt;After Splunk update from 4.2 to 4.2.1, one (and only one) of the indexes started a warm to cold and cold to frozen operation that wiped ALL the data on the index (at the date this process happened)&lt;/P&gt;

&lt;P&gt;Since there was no coldToFrozenDir, all the data on the index was lost. After that, new data was indexed correctly.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;  &lt;/P&gt;

&lt;P&gt;Splunk instalation with more than 1,000,000 events and about 130Gb of indexed data&lt;/P&gt;

&lt;P&gt;Only ONE index was affected, and it had this configuration&lt;/P&gt;

&lt;P&gt;HOT/WARM Database:&lt;BR /&gt;&lt;BR /&gt;
- maxDataSizeMB = 51200&lt;BR /&gt;&lt;BR /&gt;
- maxWarmDBCount = 150&lt;BR /&gt;&lt;BR /&gt;
- location: local disk with &amp;gt;50Gb free space&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;- Hot/Warm path Size went from 38Gb (+100 buckets) to 12Gb (34 buckets)&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;COLD Database:&lt;BR /&gt;&lt;BR /&gt;
- maxDataSizeMB = 46080&lt;BR /&gt;&lt;BR /&gt;
- location: network disk with &amp;gt;50Gb free space&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;- Cold path size went from 31Gb to 1Gb with 3 buckets!!! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The only change that was done on indexes.conf before the restart, was the adjustment to the homePath.maxDataSizeMB &lt;BR /&gt;
that went from 61440 to 51200&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Diagnosis&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Right after the 4.2.1 Splunk restart (it was checked against instalation logs and folder dates) the _internal index shows a HUGE number of WARM to COLD and COLD to FROZEN entries for the index&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;- INFO databasePartitionPolicy
(many entries)
- INFO  BucketMover - warm to cold move initiated: &amp;lt;warmm path&amp;gt; to &amp;lt;cold path&amp;gt;
(many entries)
- INFO BucketMover - AsyncFreezer freeze succeeded for &amp;lt;cold bucket path&amp;gt;
- INFO databasePartitionPolicy - Adding &amp;lt;path&amp;gt; because of fullRebuild
- INFO  databasePartitionPolicy - rebuildMetadata called: full=true path=&amp;lt;indexpath&amp;gt; reason=frozen buckets
- INFO  databasePartitionPolicy - clearing existing internal aggregate metadata (&amp;lt;index path&amp;gt;)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;NOTES&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;here is the output of &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd btool indexes list &amp;lt;index stanza&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;EM&gt;(the coldToFrozenDir was added after I found out the problem :-P)&lt;/EM&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[portal]  
assureUTF8 = false  
blockSignSize = 0  
blockSignatureDatabase = \_blocksignature  
coldPath = D:splunkvarlibsplunkportalcolddb  
coldPath.maxDataSizeMB = 46080  
coldToFrozenDir = D:splunkvarlibsplunkportalfrozendb  
coldToFrozenScript =  
compressRawdata = true    
defaultDatabase = main  
enableRealtimeSearch = true  
frozenTimePeriodInSecs = 188697600  
homePath = $SPLUNK_DBportaldb  
homePath.maxDataSizeMB = 51200  
indexThreads = auto  
maxConcurrentOptimizes = 3  
maxDataSize = auto  
maxHotBuckets = 3  
maxHotIdleSecs = 0  
maxHotSpanSecs = 7776000  
maxMemMB = 5  
maxMetaEntries = 1000000  
maxTotalDataSizeMB = 500000  
maxWarmDBCount = 150  
memPoolMB = auto  
minRawFileSyncSecs = disable  
partialServiceMetaPeriod = 0  
quarantineFutureSecs = 2592000  
quarantinePastSecs = 77760000  
rawChunkSizeBytes = 131072  
rotatePeriodInSecs = 60  
serviceMetaPeriod = 25  
suppressBannerList =  
sync = 0  
syncMeta = true  
thawedPath = D:splunkvarlibsplunkportalthaweddb  
throttleCheckPeriod = 15  
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jun 2011 11:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24812#M3965</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2011-06-08T11:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Massive unexpected Cold to Frozen execution ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24813#M3966</link>
      <description>&lt;UL&gt;
&lt;LI&gt;What version of Splunk?&lt;/LI&gt;
&lt;LI&gt;By disappeared do you mean, data is no longer searchable in Splunk or the physical bucket directories disappeared?&lt;/LI&gt;
&lt;LI&gt;You can always search _internal and don't have to ask permission.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Jun 2011 11:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24813#M3966</guid>
      <dc:creator>sdwilkerson</dc:creator>
      <dc:date>2011-06-08T11:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Massive unexpected Cold to Frozen execution ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24814#M3967</link>
      <description>&lt;P&gt;Could you update your post with the output of "splunk cmd btool indexes list my_index_stanza"?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24814#M3967</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2020-09-28T09:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Massive unexpected Cold to Frozen execution ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24815#M3968</link>
      <description>&lt;P&gt;done!&lt;BR /&gt;
the logs show something about a "fullRebuild" but I can't find anything it in the documentation &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24815#M3968</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2011-06-08T15:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Massive unexpected Cold to Frozen execution ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24816#M3969</link>
      <description>&lt;P&gt;This is been identified as a know issue in 4.2.1 and 4.2.2 (SPL-40220)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/ReleaseNotes/Knownissues"&gt;http://www.splunk.com/base/Documentation/4.2.1/ReleaseNotes/Knownissues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2011 10:31:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Massive-unexpected-Cold-to-Frozen-execution/m-p/24816#M3969</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2011-07-22T10:31:34Z</dc:date>
    </item>
  </channel>
</rss>

