All Apps and Add-ons

Deployment Server scalability best practices.

hrawat
Splunk Employee
Splunk Employee

How to improve Splunk Deployment server scalability?

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

hrawat
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 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 

 

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...