Getting Data In

How do I prevent Splunkd crashing with memory allocation error?

vikas_gopal
Builder

Hello Splunk ES experts ,

My Splunkd is crashing frequently with below error in crash logs

C++ exception:
exception_addr=0x7ff2c2c3c620
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

richgalloway
SplunkTrust
SplunkTrust

Open a support case.

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

vikas_gopal
Builder

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!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...