Getting Data In

How do I prevent Splunkd crashing with memory allocation error?


Hello Splunk ES experts ,

My Splunkd is crashing frequently with below error in crash logs

C++ exception:
typeinfo=0x556c38241c48, name=St9bad_alloc
Exception indicates memory allocation failure

This started after ES app installation . I have checked with free command I have plenty of  memory on the system 32GB and 16 CPU

               total                 used            free                   shared           buff/cache           available
Mem: 32750180     1764936    19979208     17744               11006036         31040488
Swap: 4169724          0                   4169724


Below are my ulimit settings 

splunk soft nofile 65535
splunk hard nofile 65535
splunk soft nproc 65535
splunk hard nproc 65535

Any suggestions please 

Labels (1)
Tags (1)
0 Karma


Open a support case.

If this reply helps you, Karma would be appreciated.
0 Karma


I will file it but wanted check with the community is anyone else is also facing the same issue ?

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...