<?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: SplunkWeb Service occasionally hangs... in Security</title>
    <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15975#M449</link>
    <description>&lt;P&gt;As a short-term remedy... I set up CRON to restart service once a day...&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2010 08:14:17 GMT</pubDate>
    <dc:creator>balbano</dc:creator>
    <dc:date>2010-06-23T08:14:17Z</dc:date>
    <item>
      <title>SplunkWeb Service occasionally hangs...</title>
      <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15972#M446</link>
      <description>&lt;P&gt;Hey guys, &lt;/P&gt;

&lt;P&gt;Doesn't seem like many people have had problems with the Splunk Web Service hanging on them, but this is somewhat similar to:  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/1468/splunkweb-crashes-although-splunkd-is-still-running-is-this-a-known-problem" rel="nofollow"&gt;http://answers.splunk.com/questions/1468/splunkweb-crashes-although-splunkd-is-still-running-is-this-a-known-problem&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically, I have been testing my Foundstone Vulnerability Scanner on my splunk indexers and search head and it looks like at least one of servers has its Splunk Web Service die. Port is reachable via telnet, and splunk status states that the service is up, but the site itself is unreachable. &lt;/P&gt;

&lt;P&gt;I simulated the situation and tailed the logs and see these types of errors:&lt;/P&gt;

&lt;H2&gt;splunkd.log&lt;/H2&gt;

&lt;P&gt;06-22-2010 20:42:42.816 ERROR NetUtils - SSL_ERROR_SSL in SSL_write. nbytes=-1, Error = error:140D00CF:SSL routines:SSL_write:protocol is shutdown&lt;/P&gt;

&lt;P&gt;06-22-2010 20:42:43.210 ERROR TcpInputFd - SSL Error = error:1407609C:SSL   routines:SSL23_GET_CLIENT_HELLO:http request&lt;BR /&gt;
06-22-2010 20:42:43.210 ERROR TcpInputFd - ACCEPT_RESULT=-1 VERIFY_RESULT=0&lt;BR /&gt;
06-22-2010 20:42:43.210 ERROR TcpInputFd - SSL Error for fd from HOST:$foundstone_scanner$,   IP:$foundstone_IP$, PORT:5927&lt;BR /&gt;
06-22-2010 20:42:43.365 ERROR TcpInputFd - SSL Error = error:1407609C:SSL   routines:SSL23_GET_CLIENT_HELLO:http request&lt;BR /&gt;
06-22-2010 20:42:43.365 ERROR TcpInputFd - ACCEPT_RESULT=-1 VERIFY_RESULT=0&lt;BR /&gt;
06-22-2010 20:42:43.365 ERROR TcpInputFd - SSL Error for fd from HOST:$foundstone_scanner$,   IP:$foundstone_IP$, PORT:5939&lt;BR /&gt;
06-22-2010 20:42:44.116 ERROR TcpInputFd - SSL Error = error:1407609C:SSL   routines:SSL23_GET_CLIENT_HELLO:http request&lt;BR /&gt;
06-22-2010 20:42:44.116 ERROR TcpInputFd - ACCEPT_RESULT=-1 VERIFY_RESULT=0  &lt;/P&gt;

&lt;P&gt;06-22-2010 20:45:11.376 INFO  TailingProcessor - File descriptor cache is full (64), trimming...&lt;BR /&gt;
06-22-2010 20:45:17.397 INFO  TailingProcessor - File descriptor cache is full (64), trimming...&lt;BR /&gt;
06-22-2010 20:45:19.516 INFO  TailingProcessor - File descriptor cache is full (64), trimming...&lt;BR /&gt;
06-22-2010 20:46:22.830 INFO  TailingProcessor - File descriptor cache is full (64), trimming...  &lt;/P&gt;

&lt;H2&gt;web_service.log&lt;/H2&gt;

&lt;P&gt;This is the error message that appears right before it hangs:&lt;/P&gt;

&lt;P&gt;2010-06-18 19:05:05,842 ERROR   [4c1798223163010d0] root:120 - ENGINE: Error in HTTP   server: shutting down&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/cherrypy/process/servers.py", line 73, in   _start_http_thread&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/cherrypy/wsgiserver/&lt;STRONG&gt;init&lt;/STRONG&gt;.py", line   1662, in start&lt;BR /&gt;
    self.tick()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/cherrypy/wsgiserver/&lt;STRONG&gt;init&lt;/STRONG&gt;.py", line   717, in tick&lt;BR /&gt;
    s, addr = self.socket.accept()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/ssl.py", line 317, in accept&lt;BR /&gt;
    newsock, addr = socket.accept(self)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/socket.py", line 195, in accept&lt;BR /&gt;
error: [Errno 24] Too many open files  &lt;/P&gt;

&lt;P&gt;Anyone ever have the same issue?&lt;/P&gt;

&lt;P&gt;I also ran splunk diag so that I can open support ticket but just wanted to see if anyone else has ever had this problem. &lt;/P&gt;

&lt;P&gt;Let me know. &lt;/P&gt;

&lt;P&gt;Thanks Guys!&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 06:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15972#M446</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2010-06-23T06:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkWeb Service occasionally hangs...</title>
      <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15973#M447</link>
      <description>&lt;P&gt;Can you check 2 things for me:&lt;/P&gt;

&lt;P&gt;1) does a ./splunk restart splunkweb fix the hang? (or does it time out)
2) Can you run searches in CLI mode?&lt;/P&gt;

&lt;P&gt;I have definitely seen this issue come up, but am unsure if it is exactly the same issue or not, however, if the two above happen then we already have a fix for it.
Contacting support would probably be the best way for you to get this issue troubleshooted further, and receive the new patch.&lt;/P&gt;

&lt;P&gt;Let me know on the above two conditions...&lt;BR /&gt;
Cheers,&lt;BR /&gt;
.gz&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 07:22:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15973#M447</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-06-23T07:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkWeb Service occasionally hangs...</title>
      <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15974#M448</link>
      <description>&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;restarting web service fixes the problem...&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Never tried searches in CLI mode since the service restart fixes the issue.... I can try and get back to you on that...&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 08:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15974#M448</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2010-06-23T08:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkWeb Service occasionally hangs...</title>
      <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15975#M449</link>
      <description>&lt;P&gt;As a short-term remedy... I set up CRON to restart service once a day...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2010 08:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15975#M449</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2010-06-23T08:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkWeb Service occasionally hangs...</title>
      <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15976#M450</link>
      <description>&lt;P&gt;Filed support ticket with Splunk Support and Patch was applied to remedy the issue. If anyone has a similar issue you should file support case and have the symptoms diagnosed by the Splunk Engineers. &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2010 21:08:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15976#M450</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2010-06-24T21:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkWeb Service occasionally hangs...</title>
      <link>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15977#M451</link>
      <description>&lt;P&gt;Mine only appears during vulnerability scanning.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2013 17:29:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SplunkWeb-Service-occasionally-hangs/m-p/15977#M451</guid>
      <dc:creator>Strype</dc:creator>
      <dc:date>2013-05-03T17:29:29Z</dc:date>
    </item>
  </channel>
</rss>

