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

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...