All Apps and Add-ons

Deployment Server scalability best practices.

hrawat_splunk
Splunk Employee
Splunk Employee

How to improve Splunk Deployment server scalability?

Labels (1)
Tags (1)
0 Karma
1 Solution

hrawat_splunk
Splunk Employee
Splunk Employee

Deployment Server Performance  

To improve DS scalability instead of increasing phoneHomeIntervalInSecs to hours. Following are must have configs.

On the DS server.conf

[sslConfig]
sslServerSessionTimeout = 7200
[httpServer]
dedicatedIoThreads = 10


Increase net.core.somaxconn, If less than 512.

sysctl -a |grep net.core.somaxconn


Then have splunk side config set to 512.

In $SPLUNK_HOME/etc/splunk-launch.conf on DS.
SPLUNK_LISTEN_BACKLOG = 512
Make sure net.core.somaxconn >=SPLUNK_LISTEN_BACKLOG

On DC side  server.conf

useSslClientSessionCache=true


Upgrade all DCs to 7.1.3 and above to have higher timeouts. Before 7.1.3 these are hardcoded 5 sec.
In deploymentclient.conf

connect_timeout = <positive integer>
* Default: 60
send_timeout = <positive integer>
* Default: 60
recv_timeout = <positive integer>
* Default: 60 

 

View solution in original post

hrawat_splunk
Splunk Employee
Splunk Employee

Deployment Server Performance  

To improve DS scalability instead of increasing phoneHomeIntervalInSecs to hours. Following are must have configs.

On the DS server.conf

[sslConfig]
sslServerSessionTimeout = 7200
[httpServer]
dedicatedIoThreads = 10


Increase net.core.somaxconn, If less than 512.

sysctl -a |grep net.core.somaxconn


Then have splunk side config set to 512.

In $SPLUNK_HOME/etc/splunk-launch.conf on DS.
SPLUNK_LISTEN_BACKLOG = 512
Make sure net.core.somaxconn >=SPLUNK_LISTEN_BACKLOG

On DC side  server.conf

useSslClientSessionCache=true


Upgrade all DCs to 7.1.3 and above to have higher timeouts. Before 7.1.3 these are hardcoded 5 sec.
In deploymentclient.conf

connect_timeout = <positive integer>
* Default: 60
send_timeout = <positive integer>
* Default: 60
recv_timeout = <positive integer>
* Default: 60 

 

Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...