<?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: Restoring KV Store Collection: Socket Error or Timeout in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459484#M4075</link>
    <description>&lt;P&gt;Hi @sirajnp,&lt;/P&gt;

&lt;P&gt;Seems like a network error: "socket error or timeout".&lt;/P&gt;

&lt;P&gt;Which Splunk version are you running and is it in a clustered environment ? In case it's an SHC, please make sure that port 8191 is reachable between SHC members.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
    <pubDate>Sun, 22 Mar 2020 06:22:58 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2020-03-22T06:22:58Z</dc:date>
    <item>
      <title>Restoring KV Store Collection: Socket Error or Timeout</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459480#M4071</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;

&lt;P&gt;I'm trying to restore a KV store collection with about 100K records. I am consistently encountering the following error around the 5 minute mark when the restoration process is running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05-14-2019 10:54:16.517 -0400 ERROR KVStorageProvider - An error occurred during the last operation ('saveBatchData', domain: '2', code: '4'): Failed to send "update" command with database "s_cpz-coU94dWXKCN+jKROv8LHlXVG8O_testingcollectionBfrJQ4CnAkHyN4DnrvYrGQiU": Failed to read 4 bytes: socket error or timeout
05-14-2019 10:54:16.741 -0400 WARN  KVStoreAdminHandler - No data found to restore matching specified parameters archiveName="backedup_collections_100k.tar.gz", appName="cpz-great-app", collectionName="testingcollection"
05-14-2019 10:54:16.741 -0400 ERROR KVStoreAdminHandler - [ "{ \"ErrorMessage\" : \"Failed to send \\\"update\\\" command with database \\\"s_cpz-coU94dWXKCN+jKROv8LHlXVG8O_testingcollectionBfrJQ4CnAkHyN4DnrvYrGQiU\\\": Failed to read 4 bytes: socket error or timeout\" }" ]\n
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Based discussions within thread: &lt;A href="https://answers.splunk.com/answers/682228/attempting-to-restore-a-kvstore-collection-has-any-1.html"&gt;https://answers.splunk.com/answers/682228/attempting-to-restore-a-kvstore-collection-has-any-1.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have also set the following within &lt;STRONG&gt;limits.conf&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[kvstore]
max_documents_per_batch_save = 1000000
max_rows_per_query = 1000000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With it consistently erroring out around the 5 minute mark is leading me to wonder if there's a timeout value within one of the conf settings. &lt;/P&gt;

&lt;P&gt;Any thoughts on this would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 21:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459480#M4071</guid>
      <dc:creator>djfangBAH</dc:creator>
      <dc:date>2019-05-15T21:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring KV Store Collection: Socket Error or Timeout</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459481#M4072</link>
      <description>&lt;P&gt;are you able to solve this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 12:21:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459481#M4072</guid>
      <dc:creator>nagendra1111</dc:creator>
      <dc:date>2019-12-09T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring KV Store Collection: Socket Error or Timeout</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459482#M4073</link>
      <description>&lt;P&gt;@djfangBAH &lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 12:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459482#M4073</guid>
      <dc:creator>nagendra1111</dc:creator>
      <dc:date>2019-12-09T12:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring KV Store Collection: Socket Error or Timeout</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459483#M4074</link>
      <description>&lt;P&gt;05-14-2019 10:54:16.517 -0400 ERROR KVStorageProvider - An error occurred during the last operation ('saveBatchData', domain: '2', code: '4'): Failed to send "update" command with database "s_cpz-coU94dWXKCN+jKROv8LHlXVG8O_testingcollectionBfrJQ4CnAkHyN4DnrvYrGQiU": Failed to read 4 bytes: socket error or timeout &lt;/P&gt;

&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/68181"&gt;@DavidHourani&lt;/a&gt; - We are restoring KVStore from one search head to another, getting above error. What could be the issue&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459483#M4074</guid>
      <dc:creator>sirajnp</dc:creator>
      <dc:date>2020-09-30T04:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring KV Store Collection: Socket Error or Timeout</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459484#M4075</link>
      <description>&lt;P&gt;Hi @sirajnp,&lt;/P&gt;

&lt;P&gt;Seems like a network error: "socket error or timeout".&lt;/P&gt;

&lt;P&gt;Which Splunk version are you running and is it in a clustered environment ? In case it's an SHC, please make sure that port 8191 is reachable between SHC members.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 06:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Restoring-KV-Store-Collection-Socket-Error-or-Timeout/m-p/459484#M4075</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2020-03-22T06:22:58Z</dc:date>
    </item>
  </channel>
</rss>

