# Erreur de démarrage d'Elasticsearch avec le code de sortie 137 dans le déploiement datamulti -nœudsmaster

**URL:** <https://discuss.elastic.co/t/erreur-de-demarrage-delasticsearch-avec-le-code-de-sortie-137-dans-le-deploiement-datamulti-noeudsmaster/370938>\
**Category:** Beats\
**Tags:** elastic-stack-monitoring, elastic-stack-security, elastic-stack-alerting, docker, beats-development\
**Created:** [November 22, 2024, 9:27am UTC](https://discuss.elastic.co/t/erreur-de-demarrage-delasticsearch-avec-le-code-de-sortie-137-dans-le-deploiement-datamulti-noeudsmaster/370938 "2024-11-22T09:27:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mayanza\_mpanzou\_arna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayanza_mpanzou_arna/32/139403_2.png) [@mayanza\_mpanzou\_arna](https://discuss.elastic.co/u/mayanza_mpanzou_arna)\
**Post date:** [November 22, 2024, 9:27am UTC](https://discuss.elastic.co/t/erreur-de-demarrage-delasticsearch-avec-le-code-de-sortie-137-dans-le-deploiement-datamulti-noeudsmaster/370938/1 "2024-11-22T09:27:27Z")

</div>

Hello,

I am currently encountering an issue with deploying two Elasticsearch nodes, a `data` node`master`

```auto
ERROR: Elasticsearch died while starting up, with exit code 137

```

I have set up the `jvm.options` file to define JVM parameters (especially memory), but the error persists.

Here are the main steps I’ve followed so far:

1. Deployed two separate StatefulSets for the `data` and `master` nodes using the image `docker.elastic.co/elasticsearch/elasticsearch:8.13.4`.
2. Configured environment variables to define the cluster name and discovery hosts.
3. Mounted the `elasticsearch.yml` and `jvm.options` files via `ConfigMap` in the corresponding pods.
4. Adj

I’ve checked the following without success:

- The configuration files are correctly mounted and readable
- The allocated resources seem sufficient (1 GB of RAM minimum, with CPU usage limited).
- The startup logs show that Elasticsearch attempts to start but fails with an `exit code 137`, which typically indicates a memory issue or an error during JV

I would appreciate your assistance in identifying the root cause of this error and if any additional adjustments to

Thank you in advance for your suggestions and assistance.

Best regards,
