<?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 Multiprocessing with one connection python in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315284#M4329</link>
    <description>&lt;P&gt;Can two different child processes share/inherit one splunk connection, and run simultaneous searches? For some reason whenever I do this I get http: 404 not found -- unknown sid errors&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jan 2018 04:01:22 GMT</pubDate>
    <dc:creator>jfuruness</dc:creator>
    <dc:date>2018-01-13T04:01:22Z</dc:date>
    <item>
      <title>Multiprocessing with one connection python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315284#M4329</link>
      <description>&lt;P&gt;Can two different child processes share/inherit one splunk connection, and run simultaneous searches? For some reason whenever I do this I get http: 404 not found -- unknown sid errors&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 04:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315284#M4329</guid>
      <dc:creator>jfuruness</dc:creator>
      <dc:date>2018-01-13T04:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiprocessing with one connection python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315285#M4330</link>
      <description>&lt;P&gt;this is using the python sdk for splunk&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 04:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315285#M4330</guid>
      <dc:creator>jfuruness</dc:creator>
      <dc:date>2018-01-13T04:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiprocessing with one connection python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315286#M4331</link>
      <description>&lt;P&gt;The workaround for this &lt;BR /&gt;
After starting search, go to Jobs page under Activity from top right hand corner. Then hit Save for the search you are running.&lt;BR /&gt;
This error usually happens on long searches and this workaround helps.&lt;/P&gt;

&lt;P&gt;Also you can try configure below in limits.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ttl = &amp;lt;integer&amp;gt;
 * How long search artifacts should be stored on disk once completed, in
   seconds. The ttl is computed relative to the modtime of status.csv of the job
   if such file exists or the modtime of the search job's artifact directory. If
   a job is being actively viewed in the Splunk UI then the modtime of
   status.csv is constantly updated such that the reaper does not remove the job
   from underneath.
 * Defaults to 600, which is equivalent to 10 minutes.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 06:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315286#M4331</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-13T06:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiprocessing with one connection python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315287#M4332</link>
      <description>&lt;P&gt;These searches occur automatically, so I cannot hit save as you are suggesting. Also, they only take about a minute to search, which is much less than the time to live in limits.conf. Are you sure it's not because I am running multiple searches simultaneously on the same connection (in multiple processes)? Also, do you know if it is allowed to have multiple processes inherit/share the same connection?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 07:05:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Multiprocessing-with-one-connection-python/m-p/315287#M4332</guid>
      <dc:creator>jfuruness</dc:creator>
      <dc:date>2018-01-13T07:05:27Z</dc:date>
    </item>
  </channel>
</rss>

