# GRAYLOG\_SERVER\_JAVA\_OPTS Argument Issue

**URL:** <https://community.graylog.org/t/graylog-server-java-opts-argument-issue/36798>\
**Category:** Graylog Central (peer support)\
**Tags:** docker, data-node\
**Created:** [December 28, 2025, 6:06pm UTC](https://community.graylog.org/t/graylog-server-java-opts-argument-issue/36798 "2025-12-28T18:06:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohanrajnv](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/rohanrajnv/32/15223_2.png) [@rohanrajnv](https://community.graylog.org/u/rohanrajnv)\
**Post date:** [December 28, 2025, 6:06pm UTC](https://community.graylog.org/t/graylog-server-java-opts-argument-issue/36798/1 "2025-12-28T18:06:45Z")

</div>

Hi Everyone,

I need a small help and clarification

I was trying to deploy Graylog as Docker, and I wanted to set the -Xms5g -Xmx5g

This is the initial value that I password for GRAYLOG\_SERVER\_JAVA\_OPTS was

value: “-Djavax.net.ssl.trustStore=/trust/opensearch-truststore.p12 -Djavax.net.ssl.trustStorePassword=changeit”

and the pod is working but then when i set it to

value: “-Xms5g -Xmx5g -Djavax.net.ssl.trustStore=/trust/opensearch-truststore.p12 -Djavax.net.ssl.trustStorePassword=changeit”

The pod fails. What is the correct way to set the value? I am not able get anything from documents

OS Information: Ubuntu and Kubernetes

Package Version: Graylog 7.0.2+7a367fe

Service logs, configurations, and environment variables: GRAYLOG\_SERVER\_JAVA\_OPTS

---

<div class="post-metadata">

**Author:** ![Tdvorak](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@Tdvorak](https://community.graylog.org/u/Tdvorak)\
**Post date:** [December 29, 2025, 6:45am UTC](https://community.graylog.org/t/graylog-server-java-opts-argument-issue/36798/2 "2025-12-29T06:45:21Z")

</div>

Hi @rohanrajnv,

Can you post your logs here? Without logs I can’t tell what’s happening with your instance.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [January 12, 2026, 6:45am UTC](https://community.graylog.org/t/graylog-server-java-opts-argument-issue/36798/3 "2026-01-12T06:45:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
