<?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: Too many tsidx files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35604#M6490</link>
    <description>&lt;P&gt;Sorry for not asking specfically before, but how many tsidx files per bucket (e.g. &lt;CODE&gt;db_*&lt;/CODE&gt; or 'hot_*`)?  A few up to a few dozen per bucket is fine.  300 per bucket is not.  If it is the latter, what are the specs of your system (OS, filesystem, CPU, Memory, Disk) and how much data are you indexing per day (approximately)?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2012 21:20:59 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2012-04-26T21:20:59Z</dc:date>
    <item>
      <title>Too many tsidx files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35601#M6487</link>
      <description>&lt;P&gt;I keep on getting the following message.  Which "disk space" is this message referring to?  The /var/splunk filesystem currently has 20 GB of free space.&lt;/P&gt;

&lt;P&gt;"applying indexing throttle for /var/splunk/mck-app-log/db because bucket has too many tsidx files, is your splunk-optimize working? splunk-optimize may be prevented from running if the minimum disk space usage limit is reached."&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 14:34:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35601#M6487</guid>
      <dc:creator>rxdeleon</dc:creator>
      <dc:date>2012-04-25T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Too many tsidx files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35602#M6488</link>
      <description>&lt;P&gt;This can happen if you are indexing a lot of data at once.  If you look in the above directory, how many *.tsidx files do you see?&lt;/P&gt;

&lt;P&gt;In rare cases where you don't have much CPU and/or disk IOPS, splunk-optimize.exe might take a long time to run and it could fall behind.  If you use &lt;CODE&gt;top&lt;/CODE&gt; on linux or &lt;CODE&gt;task manager&lt;/CODE&gt; on Windows, do you see that any splunk-optimize or splunk-optimize.exe processes have been running for more than a minute or two?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 18:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35602#M6488</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-04-25T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Too many tsidx files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35603#M6489</link>
      <description>&lt;P&gt;I see almost 300 *.tsidx files but I don't see splunk-optimize running.  Is there a log file where splunk-optimize writes to?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:33:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35603#M6489</guid>
      <dc:creator>rxdeleon</dc:creator>
      <dc:date>2012-04-26T19:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Too many tsidx files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35604#M6490</link>
      <description>&lt;P&gt;Sorry for not asking specfically before, but how many tsidx files per bucket (e.g. &lt;CODE&gt;db_*&lt;/CODE&gt; or 'hot_*`)?  A few up to a few dozen per bucket is fine.  300 per bucket is not.  If it is the latter, what are the specs of your system (OS, filesystem, CPU, Memory, Disk) and how much data are you indexing per day (approximately)?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 21:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35604#M6490</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-04-26T21:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Too many tsidx files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35605#M6491</link>
      <description>&lt;P&gt;Kindly, check for which specific indexes and for which bucket directories it is giving the error.&lt;/P&gt;

&lt;P&gt;Generally, whenever an index generates too many small tsidx files(more than 25) Splunk is not able to optimize all those files within the specified time period.&lt;/P&gt;

&lt;P&gt;Kindly, run the below command against the specific directory to optimize it manually:-&lt;/P&gt;

&lt;P&gt;splunk-optimize -d|--directory&lt;/P&gt;

&lt;P&gt;Or you can make the below changes in Indexes.conf to fix the issue:-&lt;/P&gt;

&lt;P&gt;indexes.conf&lt;BR /&gt;
[default]&lt;BR /&gt;
maxConcurrentOptimizes=25&lt;BR /&gt;
maxRunningProcessGroups=12&lt;BR /&gt;
processTrackerServiceInterval=0&lt;/P&gt;

&lt;P&gt;Please go through the below documentation to have a better understanding of Splunk Optimization.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Optimizeindexes"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Optimizeindexes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 06:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-tsidx-files/m-p/35605#M6491</guid>
      <dc:creator>saramamurthy_sp</dc:creator>
      <dc:date>2019-06-28T06:52:18Z</dc:date>
    </item>
  </channel>
</rss>

