Getting Data In

Why has the Splunk forwarder on Windows 2008R2 created so many sessions that no new sessions can be created?

yutaka1005
Builder

In my environment, there are two components like below.
Splunk 6.2.7 on Linux.
Splunk 6.2.7 on Windows 2008R2

Yesterday, when I checked netstat on windows, Forwarder was creating about ten thousand sessions in status "TIME_WAIT", so couldn't create new sessions!

For now, it has been normal, because I've rebooted it.
But I am worried that it will happen again.

Why did it happen?
I checked splunkd.log, and I found so many connection failed messages while it was happening.(I don't have any idea why the connection failed.)
If the connection between Splunk and Splunk forwarder has been failing for a long time, is that why it this happened?

I really appreciate if somebody can tell me about it.

I checked the answer below, but I don't configure connection_host = dns, so I don't think that this cause applys to this phenomenon.
https://answers.splunk.com/answers/114447/splunk-to-splunk-communication-stuck-in-close-wait.html

0 Karma

splunker12er
Motivator

How is your indexing performance? Did you take a look at your indexer splunkd.log ?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...