<?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: Splunk Daemon Not Responding in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Daemon-Not-Responding/m-p/57360#M642</link>
    <description>&lt;P&gt;We are now running 6.0.3. So this no longer applies to me, however I think the root cause was Disk I/O on the server. &lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2014 13:52:47 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2014-05-27T13:52:47Z</dc:date>
    <item>
      <title>Splunk Daemon Not Responding</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Daemon-Not-Responding/m-p/57359#M641</link>
      <description>&lt;P&gt;Greetings! So, we are running 5.0.3 in SHP (2 SHs) with SSO=permissive. I get this error:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
2013-06-06 16:06:41,656 ERROR   [51b0ebb39d7fb184803e90] search:221 - Splunkd daemon is not responding: ('The read operation timed out',)&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/search.py", line 218, in dispatchJob&lt;BR /&gt;
    job = splunk.search.dispatch(q, sessionKey=cherrypy.session['sessionKey'], **options)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/search/&lt;STRONG&gt;init&lt;/STRONG&gt;.py", line 268, in dispatch&lt;BR /&gt;
    serverResponse, serverContent = rest.simpleRequest(uri, postargs=args, sessionKey=sessionKey, rawResult=True)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/rest/&lt;STRONG&gt;init&lt;/STRONG&gt;.py", line 446, in simpleRequest&lt;BR /&gt;
    raise splunk.SplunkdConnectionException, str(e)&lt;BR /&gt;
SplunkdConnectionException: Splunkd daemon is not responding: ('The read operation timed out',)&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I added this line to the &lt;CODE&gt;__init__.py&lt;/CODE&gt; file in &lt;CODE&gt;/opt/splunk/lib/python2.7/site-packages/splunk/rest&lt;/CODE&gt;.&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
logger.error('problem=splunkd_socket_connection_exception msg="%s" aTry=%s tries=%s wait=%s uri="%s" method=%s headers="%s" body="%s" serverResponse="%s" sessionSource="%s" proxyMode="%s" http_vars="%s" http_dir="%s" webkeyfile="%s" webcertfile="%s" error_dir="%s" pprint_error="%s" '%(e, aTry, tries, wait, uri, method, headers, payload, serverResponse, sessionSource, proxyMode, pprint(vars(h)), dir(h), str(getWebKeyFile()), str(getWebCertFile), dir(e), pprint(vars(e))  ) )&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It outputs this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
2013-06-06 16:06:41,655 ERROR   [51b0ebb39d7fb184803e90] &lt;STRONG&gt;init&lt;/STRONG&gt;:445 - problem=splunkd_socket_connection_exception msg="The read operation timed out" aTry=0 tries=4 wait=10 uri="&lt;A href="https://127.0.0.1:8089/servicesNS/USER/search/search/jobs" target="_blank"&gt;https://127.0.0.1:8089/servicesNS/USER/search/search/jobs&lt;/A&gt;" method=POST headers="{'Authorization': 'Splunk AUTHKEY'}" body="latest_time=1370542605.17&amp;amp;ui_dispatch_app=search&amp;amp;ui_dispatch_view=flashtimeline&amp;amp;max_count=10000&amp;amp;search=search%20index%3D_internal%20host%3Dhsearchp01%20sourcetype%3Dsplunk_web_service%20earliest%3D-2m%40m&amp;amp;earliest_time=1370542604&amp;amp;auto_cancel=100&amp;amp;required_field_list=%2A&amp;amp;time_format=%25s.%25Q&amp;amp;status_buckets=300" serverResponse="bullpucky" sessionSource="direct" proxyMode="False" http_vars="None" http_dir="['&lt;STRONG&gt;class&lt;/STRONG&gt;', '&lt;STRONG&gt;delattr&lt;/STRONG&gt;', '&lt;STRONG&gt;dict&lt;/STRONG&gt;', '&lt;STRONG&gt;doc&lt;/STRONG&gt;', '&lt;STRONG&gt;format&lt;/STRONG&gt;', '&lt;STRONG&gt;getattribute&lt;/STRONG&gt;', '&lt;STRONG&gt;hash&lt;/STRONG&gt;', '&lt;STRONG&gt;init&lt;/STRONG&gt;', '&lt;STRONG&gt;module&lt;/STRONG&gt;', '&lt;STRONG&gt;new&lt;/STRONG&gt;', '&lt;STRONG&gt;reduce&lt;/STRONG&gt;', '&lt;STRONG&gt;reduce_ex&lt;/STRONG&gt;', '&lt;STRONG&gt;repr&lt;/STRONG&gt;', '&lt;STRONG&gt;setattr&lt;/STRONG&gt;', '&lt;STRONG&gt;sizeof&lt;/STRONG&gt;', '&lt;STRONG&gt;str&lt;/STRONG&gt;', '&lt;STRONG&gt;subclasshook&lt;/STRONG&gt;', '&lt;STRONG&gt;weakref&lt;/STRONG&gt;', '&lt;EM&gt;auth_from_challenge', '_conn_request', '_normalize_headers', '_request', 'add_certificate', 'add_credentials', 'authorizations', 'ca_certs', 'cache', 'certificates', 'clear_credentials', 'connections', 'credentials', 'disable_ssl_certificate_validation', 'follow_all_redirects', 'follow_redirects', 'force_exception_to_status_code', 'ignore_etag', 'optimistic_concurrency_methods', 'proxy_info', 'request', 'timeout']" webkeyfile="None" webcertfile="&lt;FUNCTION getwebcertfile="" at="" 0x14df2a8=""&gt;" error_dir="['&lt;/FUNCTION&gt;&lt;/EM&gt;&lt;EM&gt;class&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;delattr&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;dict&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;doc&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;format&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;getattribute&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;getitem&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;getslice&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;hash&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;module&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;new&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;reduce&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;reduce_ex&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;repr&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;setattr&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;setstate&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;sizeof&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;str&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;subclasshook&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;unicode&lt;/EM&gt;&lt;EM&gt;', '&lt;/EM&gt;&lt;EM&gt;weakref&lt;/EM&gt;_', 'args', 'errno', 'filename', 'message', 'strerror']" pprint_error="None"&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I now don't know where else to check for issues. I thought this was fixed in 5.0.3 (SPL-66828), unless this is something else. The aTry variable is supposed to count the number of tries. It never gets past 0, which means the socket error happens before a second try!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Daemon-Not-Responding/m-p/57359#M641</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2020-09-28T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Daemon Not Responding</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Daemon-Not-Responding/m-p/57360#M642</link>
      <description>&lt;P&gt;We are now running 6.0.3. So this no longer applies to me, however I think the root cause was Disk I/O on the server. &lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 13:52:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Daemon-Not-Responding/m-p/57360#M642</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-05-27T13:52:47Z</dc:date>
    </item>
  </channel>
</rss>

