<?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: Impact of increasing the queue size? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346036#M5431</link>
    <description>&lt;P&gt;We had an interesting discussion about it recently at &lt;A href="https://answers.splunk.com/answers/576444/whats-the-maxsize-we-can-set-for-the-event-process.html"&gt;What's the maxSize we can set for the event-processing queues?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's crucial to adjust the queue's sizes as you compensate for slow I/O with memory cashing - marvelous!! &lt;/P&gt;

&lt;P&gt;Can you please post your indexer's &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/server.conf&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2017 13:37:05 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2017-09-28T13:37:05Z</dc:date>
    <item>
      <title>Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346034#M5429</link>
      <description>&lt;P&gt;I am facing issues while searching any logs and its takes a lot of time to index the log.&lt;BR /&gt;
While investigating, i am seeing many times the queues are blocked as mentioned below.&lt;/P&gt;

&lt;P&gt;INFO  Metrics - group=queue, name=indexqueue, blocked=true, max_size_kb=500, current_size_kb=499, current_size=1466, largest_size=1466, smallest_size=0&lt;/P&gt;

&lt;P&gt;Is it worth to increase the max size of the queues? Also while config file i need to change to increase the same?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346034#M5429</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2020-09-29T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346035#M5430</link>
      <description>&lt;P&gt;Hi @chintan_shah,&lt;/P&gt;

&lt;P&gt;Indexqueue blocking is due to many reason.&lt;/P&gt;

&lt;P&gt;1.) Storage latency - if indexer is not able to write in storage at required IOPS then indexqueue will be filled. -&amp;gt; You need to check with storage team whether you are getting required IOPS from storage or not.&lt;BR /&gt;
2.) Universal forwarder sending more logs compare to indexers capacity. -&amp;gt; In this case if you are running Indexer cluster you need to add more indexer in your cluster.&lt;/P&gt;

&lt;P&gt;Before increasing any queue size I'll recommnd to contact splunk support.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 09:32:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346035#M5430</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-09-28T09:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346036#M5431</link>
      <description>&lt;P&gt;We had an interesting discussion about it recently at &lt;A href="https://answers.splunk.com/answers/576444/whats-the-maxsize-we-can-set-for-the-event-process.html"&gt;What's the maxSize we can set for the event-processing queues?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's crucial to adjust the queue's sizes as you compensate for slow I/O with memory cashing - marvelous!! &lt;/P&gt;

&lt;P&gt;Can you please post your indexer's &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/server.conf&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346036#M5431</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-09-28T13:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346037#M5432</link>
      <description>&lt;P&gt;Increasing the queue size may work to add an additional buffer for bursts of incoming log data, however it is unlikely to fix your blocked indexing queue.&lt;/P&gt;

&lt;P&gt;For example if you made you incoming TCP input queue bigger, then more data can queue there while the data is getting written to disk, you can do this with various other queues to allow a bigger buffer as data travels down the queue.&lt;/P&gt;

&lt;P&gt;However the only real way to resolve an index queue issue on an indexer would be to index less (i.e. add more indexers) or to have faster I/O (get faster disk for your hot section). if your data is getting forwarded then you would look at the system getting forwarded to as well.&lt;/P&gt;

&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346037#M5432</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-09-29T14:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346038#M5433</link>
      <description>&lt;P&gt;i am seeing the above issue for exec queue .. please guide what to do for that and exec queue is for running some scripts or what ?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jun 2018 17:27:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/346038#M5433</guid>
      <dc:creator>splunk24</dc:creator>
      <dc:date>2018-06-03T17:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/630016#M10927</link>
      <description>&lt;P&gt;I have an HeavyForwarder in the middle of a Splunk flow infrastructure.&lt;BR /&gt;I needed to edit the conf for queues, since the HF can't manage all the data UFs send.&lt;BR /&gt;So, take a look here,&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Admin/Serverconf#Queue_settings" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Admin/Serverconf#Queue_settings&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I need to raise all the major queues buffer, to 2GB (2000MB), in other ways HF was always blocked, and, moreover, did not send back to UFs the needed ACK, blocking all the streams many times a day.&lt;/P&gt;&lt;P&gt;The config can be edited in server.conf in [queue] stanza.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[queue]
maxSize = [&amp;lt;integer&amp;gt;|&amp;lt;integer&amp;gt;[KB|MB|GB]]

[queue=&amp;lt;queueName&amp;gt;] ( * you can look at metrics.log for the names)
maxSize = [&amp;lt;integer&amp;gt;|&amp;lt;integer&amp;gt;[KB|MB|GB]]
...

* Get all the queues names with
index=_internal source=*metrics.log host=YOUR_INDEXER(S) group=queue | dedup name | table host name max_size_kb&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i did so for the HF (2000MB) and my Indexers (1000MB for major queues).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 06:35:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/630016#M10927</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2023-02-08T06:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/632662#M10953</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;As others answered, your indexing problem will not be solved by modifying the size of the queues, since you will keep the same root problem, in this case, disk write speed problems.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;You can use the information from &lt;A title="Calculating-IOPS-using-FIO-testing" href="https://community.splunk.com/t5/Monitoring-Splunk/Calculating-IOPS-using-FIO-testing/m-p/455055" target="_blank" rel="noopener"&gt;this post&lt;/A&gt; to calculate the IOPS of disk arrays used by the indexers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;On the other hand, I recommend using &lt;A title="Splunk Sizing" href="https://splunk-sizing.appspot.com/#adv=3&amp;amp;c=1&amp;amp;cdv=2&amp;amp;i=6&amp;amp;rl=60" target="_self"&gt;Splunk Sizing&lt;/A&gt; so that you can get an estimated IOPS recommendation for the disks based on the type of RAID you are using.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In case your Splunk instance is a standalone instance, maybe you need to change it to a distributed environment, using a dedicated server or dedicated cluster for each tier (search head, indexer, forwarder, license manager) instead of a single server.&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;LGS&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 21:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/632662#M10953</guid>
      <dc:creator>lenrigodoy</dc:creator>
      <dc:date>2023-02-28T21:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Impact of increasing the queue size?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/632665#M10954</link>
      <description>&lt;P&gt;As in my answer to main question, maybe the problem in your case continues with queue resizing, and, moreover,&amp;nbsp;you will have other issues with your instance. The best practice is not move the queues size, do it only in case of an emergency meanwhile you request a support checking to determine where is the real problem.&lt;BR /&gt;In your case, maybe the problem is disk IOPS, maybe a networking problem (check if you are using the same network device for input and output, the network speed, and if there is not any blockage at network level), or the number of events incoming in your instance from other forwarders, the number of other forwarders sending data through this router forwarder. Check that the server is not having any other problems related with CPU or RAM, if is Linux, that the server is correctly setted up, disabling Transparent Hugepages, modifying ulimits, filesystems used are consistent with Splunk's recommendations (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Installation/Systemrequirements" target="_blank"&gt;System requirements for use of Splunk Enterprise on-premises - Splunk Documentation&lt;/A&gt;), etc&lt;/P&gt;&lt;P&gt;Hope you can get the real issue and solve it.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 22:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Impact-of-increasing-the-queue-size/m-p/632665#M10954</guid>
      <dc:creator>lenrigodoy</dc:creator>
      <dc:date>2023-02-28T22:11:38Z</dc:date>
    </item>
  </channel>
</rss>

