<?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: What would cause a Fatal thread error in thread typing found in the Splunk crash log? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/579373#M8730</link>
    <description>&lt;P&gt;Anyone has solved the problem? Splunk case has a solution? I am talking about " FATAL Thread - Fatal thread error: pthread_mutex_lock: Invalid argument; 66 threads active, in typing" Form me the reboot wasn't a solution. thank You.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Dec 2021 11:18:26 GMT</pubDate>
    <dc:creator>Ciccio</dc:creator>
    <dc:date>2021-12-28T11:18:26Z</dc:date>
    <item>
      <title>What would cause a Fatal thread error in thread typing found in the Splunk crash log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261407#M2487</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;

&lt;P&gt;Over a ~26 hour period I am seeing several fatal errors regarding  the typing thread. I've done some research and there is very little information about threads to be found online in regards to how splunk uses them. I am making the assumption that the typing thread is the thread in charge of the typing queue.&lt;/P&gt;

&lt;P&gt;The actual error is found in the splunk crash log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Fatal thread error: pthread_mutex_lock: Invalid argument: 78 threads active in typing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(followed by several more with varying number of active threads, all less than 78)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Dying on fatal thread error 22 from pthread_mutex_lock, thread typing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As far as I remember, mutex are usedto control the availability of threads on a system to prevent race conditions in multithreading. This leads me to believe that perhaps the system is running out of threads when trying to use the typing queue. If this is true, a few things confuse me:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;If this is running out of threads, why would the active thread count fluctuate on the fatal attempt?&lt;/LI&gt;
&lt;LI&gt;If this is the case, why would splunk not have a graceful way of handling this?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;These questions I have with my conclusion lead me to believe there is something I'm missing. (My knowledge of mutex is from years ago, so I could very well be wrong).&lt;/P&gt;

&lt;P&gt;Any insight would be great. The issue hasn't resurfaced in ~20 days and has only happened once, but knowing the cause would help prevent it in the future.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 16:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261407#M2487</guid>
      <dc:creator>j4adam</dc:creator>
      <dc:date>2015-12-03T16:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: What would cause a Fatal thread error in thread typing found in the Splunk crash log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261408#M2488</link>
      <description>&lt;P&gt;We have the same problem. I will open a support ticket with Splunk.&lt;/P&gt;

&lt;P&gt;FATAL Thread - Fatal thread error: pthread_mutex_lock: Invalid argument; 49 threads active, in typing&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261408#M2488</guid>
      <dc:creator>laurent_</dc:creator>
      <dc:date>2020-09-29T10:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: What would cause a Fatal thread error in thread typing found in the Splunk crash log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261409#M2489</link>
      <description>&lt;P&gt;We have an active case open on this same issue. Please reference case #377552 when you open your ticket. I'd love the help on getting some action on this, as we're seeing it fairly regularly.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261409#M2489</guid>
      <dc:creator>tmeader</dc:creator>
      <dc:date>2016-08-25T15:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: What would cause a Fatal thread error in thread typing found in the Splunk crash log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261410#M2490</link>
      <description>&lt;P&gt;I was able to resolve this problem by rebooting the server.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 00:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/261410#M2490</guid>
      <dc:creator>cygnetix</dc:creator>
      <dc:date>2017-05-08T00:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: What would cause a Fatal thread error in thread typing found in the Splunk crash log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/579373#M8730</link>
      <description>&lt;P&gt;Anyone has solved the problem? Splunk case has a solution? I am talking about " FATAL Thread - Fatal thread error: pthread_mutex_lock: Invalid argument; 66 threads active, in typing" Form me the reboot wasn't a solution. thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 11:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/579373#M8730</guid>
      <dc:creator>Ciccio</dc:creator>
      <dc:date>2021-12-28T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: What would cause a Fatal thread error in thread typing found in the Splunk crash log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/678377#M10021</link>
      <description>&lt;P&gt;See if this &lt;A href="https://community.splunk.com/t5/Knowledge-Management/quot-Fatal-thread-error-pthread-mutex-lock-quot-when-persistent/td-p/678376" target="_self"&gt;link&lt;/A&gt; helps .&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 20:16:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-would-cause-a-Fatal-thread-error-in-thread-typing-found-in/m-p/678377#M10021</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2024-02-22T20:16:41Z</dc:date>
    </item>
  </channel>
</rss>

