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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...