# Lock is null. Nothing to release

**URL:** <https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310>\
**Category:** OpenSearch\
**Tags:** troubleshoot\
**Created:** [October 17, 2025, 5:53am UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310 "2025-10-17T05:53:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pitch](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@pitch](https://forum.opensearch.org/u/pitch)\
**Post date:** [October 17, 2025, 5:53am UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/1 "2025-10-17T05:53:31Z")

</div>

**Versions** : 3.2.0

Two days ago we got alerts about fluent-bit got oom killed.  
While checking logs everywhere trying to find the reason I found the error log message in opensearch during the issue time frame on two of three nodes:

Lock is null. Nothing to release.

This message repeated 313 times during 30 minutes.  
I can’t find any other issues in the logs that might explain what’s happening so this message is telling me nothing.

What does this message actually telling me about our opensearch cluster?

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [October 17, 2025, 10:00am UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/2 "2025-10-17T10:00:42Z")

</div>

@pitch Could you share the original full entry with that message?

How did you deploy your cluster and what is your OS nodes resource configuration?

---

<div class="post-metadata">

**Author:** ![pitch](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@pitch](https://forum.opensearch.org/u/pitch)\
**Post date:** [October 17, 2025, 10:32am UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/3 "2025-10-17T10:32:39Z")

</div>

full log entry:

> [2025-10-15T08:46:46,847][ERROR][o.o.a.c.l.LockService] [obs-logdb-04] Lock is null. Nothing to release.

the cluster is deployed on three vm nodes with one node as master and ingest

24 GB mem on master/ingest node  
20 GB on the other two  
6 cpu on all nodes

---

<div class="post-metadata">

**Author:** ![cwperks](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/cwperks/32/4968_2.png) [@cwperks](https://forum.opensearch.org/u/cwperks)\
**Post date:** [October 17, 2025, 12:03pm UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/4 "2025-10-17T12:03:40Z")

</div>

The message is coming from here [alerting/core/src/main/kotlin/org/opensearch/alerting/core/lock/LockService.kt at main · opensearch-project/alerting · GitHub](https://github.com/opensearch-project/alerting/blob/main/core/src/main/kotlin/org/opensearch/alerting/core/lock/LockService.kt#L236), but I don’t think there’s enough info to help debugging the OOM error. Is there any more information you can provide?

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [October 17, 2025, 12:59pm UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/5 "2025-10-17T12:59:43Z")

</div>

@pitch I understand all your nodes have master, ingest and data roles?

Was there any significant ingest increase during that time?

Which plugins do you use?

---

<div class="post-metadata">

**Author:** ![pitch](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@pitch](https://forum.opensearch.org/u/pitch)\
**Post date:** [October 21, 2025, 6:49am UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/6 "2025-10-21T06:49:50Z")

</div>

Thank you @cwperks for that information.  
Why does that error occur? We’ve seen the error occasionally that’s why my primary question. I suspect we have a network issue and that’s probably the reason we got the oom kill of fluent-bit.

---

<div class="post-metadata">

**Author:** ![pitch](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@pitch](https://forum.opensearch.org/u/pitch)\
**Post date:** [October 21, 2025, 6:55am UTC](https://forum.opensearch.org/t/lock-is-null-nothing-to-release/27310/7 "2025-10-21T06:55:28Z")

</div>

- Yes
- We got ingest decrease during that time.

> opensearch-alerting  
> opensearch-anomaly-detection  
> opensearch-asynchronous-search  
> opensearch-cross-cluster-replication  
> opensearch-custom-codecs  
> opensearch-flow-framework  
> opensearch-geospatial  
> opensearch-index-management  
> opensearch-job-scheduler  
> opensearch-knn  
> opensearch-ltr  
> opensearch-ml  
> opensearch-neural-search  
> opensearch-notifications  
> opensearch-notifications-core  
> opensearch-observability  
> opensearch-performance-analyzer  
> opensearch-reports-scheduler  
> opensearch-search-relevance  
> opensearch-security  
> opensearch-security-analytics  
> opensearch-skills  
> opensearch-sql  
> opensearch-system-templates  
> opensearch-ubi  
> query-insights  
> repository-s3
