Splunk Enterprise

Why did Kvstore fail on SHs and indexers?

ssuluguri
Path Finder

Hi team,

KV strore is getting failed frequently on both SHs and indexers after upgrading to 9.0.2 . Can some help if any known resolution .

ssuluguri_0-1680798876042.png

 

Labels (1)
0 Karma
1 Solution

ssuluguri
Path Finder

My issues resolved after performing below steps.

Issue on windows machine .

1.Removed splunk certificates from machine 

2.Removed server.pem 

 

Restarted splunk and KV store READY.

 

Thanks for your time.

View solution in original post

ssuluguri
Path Finder

My issues resolved after performing below steps.

Issue on windows machine .

1.Removed splunk certificates from machine 

2.Removed server.pem 

 

Restarted splunk and KV store READY.

 

Thanks for your time.

woodcock
Esteemed Legend

There are innumerable bugs causing uncontrolled KVStore grown in all versions of Splunk.  It is truly maddening.  What I sometimes do in cloud environments is create a KVSTORE directory in /run stop splunk, move the files from wherever they are growing uncontrollably to /run/KVSTORE, then create delete the original directory, then replace the source directory with a soft link pointing to /run/KVSTORE.  Yes, this means that when the server reboots, all of these files are lost, but so far as I can tell, theses are not strictly necessary and will be recreated in that situation.  Splunk really needs to re-engineer KVSTORE.

richgalloway
SplunkTrust
SplunkTrust

KVStore should be disabled on all indexers because it is not used.

What release did you upgrade from?  Have you upgraded the KVStore engine to wiredTiger and the version to 4.2 per https://docs.splunk.com/Documentation/Splunk/9.0.4/Admin/MigrateKVstore?

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...