Security

many CLOSE_WAIT and splunkweb is not responding

cwl
Contributor

I am using Splunk 5.0.2 and I see many CLOSE_WAIT when running netstat -an command.

Splunkweb becomes unresponsive and I have to restart splunk to fix the issue.

0 Karma
1 Solution

cwl
Contributor

This is a bug in the cherrypy threading code where the number of worker threads are reduced to a really low amount and no new threads are allowed to spawn.

This has been fixed in 5.0.3 but if you are using versions pre-5.0.3 then you can workaround the issue by modifying web.conf on all of the search heads.

Please add below settings in web.conf and restart your splunk instance.

server.thread_pool_max = 30 
server.thread_pool_max_spare = 31

View solution in original post

cwl
Contributor

This is a bug in the cherrypy threading code where the number of worker threads are reduced to a really low amount and no new threads are allowed to spawn.

This has been fixed in 5.0.3 but if you are using versions pre-5.0.3 then you can workaround the issue by modifying web.conf on all of the search heads.

Please add below settings in web.conf and restart your splunk instance.

server.thread_pool_max = 30 
server.thread_pool_max_spare = 31

Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...