<?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: Error in 'similarity' command: External search command exited unexpectedly with non-zero error code 9 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-Error-in-similarity-command-External-search/m-p/606337#M210878</link>
    <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;similarity&lt;/FONT&gt; command is not standard.&amp;nbsp; What app did it come with?&lt;/P&gt;&lt;P&gt;Have you looked at the search log to see if there are more details that might explain the cause of the error?&amp;nbsp; Find the search log by opening the Job Inspector then scrolling down to the bottom and clicking on the "search.log" link.&lt;/P&gt;&lt;P&gt;Based on the error code, I suspect you're running into a limitation, probably memory, but the search log should have that information.&lt;/P&gt;&lt;P&gt;Also check /var/log/messages for OOM killer messages.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 12:39:05 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-07-20T12:39:05Z</dc:date>
    <item>
      <title>How to resolve Error in 'similarity' command: External search command exited unexpectedly with non-zero error code 9?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-Error-in-similarity-command-External-search/m-p/606268#M210852</link>
      <description>&lt;P&gt;I use nlp-text-analytics app for similarity between two strings but &lt;SPAN&gt;I get above error&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20593iAF8B76EF2089B210/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1.jpg" alt="error1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;when I run lines 1, 2, and 3, it gives a result of about 14,973,764 (3814*3926)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20594i1A3B932B5934F88F/image-size/large?v=v2&amp;amp;px=999" role="button" title="error2.jpg" alt="error2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is interesting that if I reduce the data, for example, the output of the third line is&amp;nbsp; 13.348.400 (3400* 3926 )&amp;nbsp; , it does not give an error and the result of the fourth line is returned.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error3.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20595i4ED5EC3AF0F68EB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="error3.jpg" alt="error3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This means that the similarity command has problems with data above 13.5 million&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;my splunk is 8.2&lt;/DIV&gt;
&lt;DIV&gt;nlp-text-analytics 1.1.3&lt;/DIV&gt;
&lt;DIV&gt;python_upgrade_readiness_app&amp;nbsp; 4.0.2&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jul 2022 15:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-Error-in-similarity-command-External-search/m-p/606268#M210852</guid>
      <dc:creator>soheil115</dc:creator>
      <dc:date>2022-07-21T15:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'similarity' command: External search command exited unexpectedly with non-zero error code 9</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-Error-in-similarity-command-External-search/m-p/606337#M210878</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;similarity&lt;/FONT&gt; command is not standard.&amp;nbsp; What app did it come with?&lt;/P&gt;&lt;P&gt;Have you looked at the search log to see if there are more details that might explain the cause of the error?&amp;nbsp; Find the search log by opening the Job Inspector then scrolling down to the bottom and clicking on the "search.log" link.&lt;/P&gt;&lt;P&gt;Based on the error code, I suspect you're running into a limitation, probably memory, but the search log should have that information.&lt;/P&gt;&lt;P&gt;Also check /var/log/messages for OOM killer messages.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-Error-in-similarity-command-External-search/m-p/606337#M210878</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-20T12:39:05Z</dc:date>
    </item>
  </channel>
</rss>

