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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...