<?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: Where does a search process consume its run time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38022#M8598</link>
    <description>&lt;P&gt;The job inspector break down accounts for ~60 seconds of the 660 seconds elapsed time.  We're still missing 10 minutes.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2013 23:48:48 GMT</pubDate>
    <dc:creator>rettops</dc:creator>
    <dc:date>2013-08-16T23:48:48Z</dc:date>
    <item>
      <title>Where does a search process consume its run time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38020#M8596</link>
      <description>&lt;P&gt;We have performance problems.  Looking at one of the search logs, I see that it ends with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-16-2013 14:00:55.172 INFO  NewTransam - Finalizing. Committing all open txns withheld
08-16-2013 14:01:26.542 INFO  NewTransam - evicted=0, closed=554, event_count=163158, candidate_events=162604, comparison_count=974503
08-16-2013 14:01:26.542 INFO  NewTransam - Finalizing/previewing. Committing all open txns withheld
08-16-2013 14:01:26.547 INFO  NewTransam - evicted=0, closed=554, event_count=163158, candidate_events=162604, comparison_count=974503
08-16-2013 14:01:26.555 INFO  NewTransam - Finalizing/previewing. Committing all open txns withheld
08-16-2013 14:11:27.427 INFO  NewTransam - evicted=0, closed=8, event_count=554, candidate_events=546, comparison_count=670
08-16-2013 14:11:35.686 INFO  script - Invoked script vgformatmaintable with 71613951 input bytes (8 events).  Returned 496 output bytes in 1049 ms.
08-16-2013 14:11:35.692 INFO  UserManager - Unwound user context: spotter -&amp;gt; NULL
08-16-2013 14:11:35.694 INFO  UserManager - Setting user context: spotter
08-16-2013 14:11:35.694 INFO  UserManager - Done setting user context: NULL -&amp;gt; spotter
08-16-2013 14:11:35.694 INFO  UserManager - Unwound user context: spotter -&amp;gt; NULL
08-16-2013 14:11:35.694 INFO  DispatchCommand - DispatchManager::dispatchHasFinished(id='1376686831.442', username='spotter')
08-16-2013 14:11:35.830 INFO  UserManager - Unwound user context: spotter -&amp;gt; NULL
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Notice the jump from 14:01 to 14:11, when it is supposedly "Finalizing/previewing".  What is it actually doing during those ten minutes?  Any suggestions for debugging this?&lt;/P&gt;

&lt;P&gt;UPDATE:  I just attached to the search process with 'strace'.  For 10 minutes the only system calls the process made were 'madvise MADV_DONTNEED' and 'mmap'.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 21:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38020#M8596</guid>
      <dc:creator>rettops</dc:creator>
      <dc:date>2013-08-16T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a search process consume its run time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38021#M8597</link>
      <description>&lt;P&gt;I would recommend that you run the search again and look at the &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/Search/UsingtheSearchJobInspector"&gt;search job inspector&lt;/A&gt; in order to see a break down of how the search process uses its run time.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 22:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38021#M8597</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2013-08-16T22:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a search process consume its run time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38022#M8598</link>
      <description>&lt;P&gt;The job inspector break down accounts for ~60 seconds of the 660 seconds elapsed time.  We're still missing 10 minutes.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 23:48:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-search-process-consume-its-run-time/m-p/38022#M8598</guid>
      <dc:creator>rettops</dc:creator>
      <dc:date>2013-08-16T23:48:48Z</dc:date>
    </item>
  </channel>
</rss>

